How to see the structure of db2 table??
Answers were Sorted based on User's Feedback
Answer / kc
SELECT colName,TypeName FROM SYSCAT.COLUMNS WHERE TABSCHEMA = <database> AND TABNAME =<tablename>
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / s
Select the catalog table SYSIBM.SYCOLUMNS for a particular
table.
Is This Answer Correct ? | 21 Yes | 26 No |
Answer / prem
Use the Describe command
eg: Describe table <tablename>
Is This Answer Correct ? | 38 Yes | 47 No |
Answer / ram prajapati
select * from SYSIBM.SYCOLUMNS where tbname='tablename';
run this querry... or
go to dclgen .... option m.11.2 in the ispf command prompt n
see the structure directly in any mentioned ps file
Is This Answer Correct ? | 11 Yes | 20 No |
How does DB2 store NULL physically?
what is the responsibility of the construction superintendent
I have a table(product),It contain fields(productname,cost). I want to retrieve the product name ,which cost is second maximum in the table?
What is FREEPAGE and PCTFREE in TABLESPACE creation?
What are the uses of db2 optimizer?
what is the use of bind parameter, Replace?
When Can you be sure that a query will return only one row?
database DSNDB01 means a.db2 catalog b.db2 directory c.BSDS d.active logs answer with reason please
What is a db2 package?
My SQL is not performing well. Describe how will you fine tune it?
What is the difference between nvl and coalesce?
Are view updateable?