Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2003
    Posts
    21

    Question Unanswered: Listing all table columns

    Hi all!!!!

    Is there a way to list all the table's columns, instead of getting them table by table???

    I need thie because I have to detect which column names are bigger than 18 characters...

    Thanks in advance!!!

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650

    Re: Listing all table columns

    have a look at the syscat.columns view ...

    Cheers

    Sathyaram

    Originally posted by rgarcia
    Hi all!!!!

    Is there a way to list all the table's columns, instead of getting them table by table???

    I need thie because I have to detect which column names are bigger than 18 characters...

    Thanks in advance!!!

  3. #3
    Join Date
    Jan 2003
    Posts
    21
    thank you very much!!!
    Cheers

  4. #4
    Join Date
    Dec 2002
    Posts
    134

    Re: Listing all table columns

    There is db2 command describe table. You can describe select statement as well

Posting Permissions

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