Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2008
    Posts
    82

    Cool Unanswered: Table is not exist

    Hi Experts,

    We are using db2 9.7 fp 9 - DPF

    Os : LInux

    I want to generate ddl for one table in my production environment using db2look but it's saying "table is unspecified name'

    Atleast I just want to query the table but I am getting below error. Can anyone please help me out.

    db2 list tables for all | grep -i TEMP
    TEMP ETL T 2015-01-18-16.22.51.991019

    db2 "select * from etl.TEMP"
    SQL0204N "ETL.TEMP" is an undefined name. SQLSTATE=42704

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    So does etl.TEMP exist?
    bear in mind that capitalisation is important in *nix operating systems
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Quote Originally Posted by healdem View Post
    bear in mind that capitalisation is important in *nix operating systems
    It is for files. It is not in SQL (which doesn't care for operating systems, with few sad exceptions).
    ---
    "It does not work" is not a valid problem statement.

  4. #4
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    As described, this looks very suspect. Care to copy/paste the actual session or post a screenshot?
    ---
    "It does not work" is not a valid problem statement.

  5. #5
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    execute a select * from sysibm.systables where creator='ETL'
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •