Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to see the structure of db2 table??

Answers were Sorted based on User's Feedback



How to see the structure of db2 table??..

Answer / kc

SELECT colName,TypeName FROM SYSCAT.COLUMNS WHERE TABSCHEMA = <database> AND TABNAME =<tablename>

Is This Answer Correct ?    0 Yes 0 No

How to see the structure of db2 table??..

Answer / s

Select the catalog table SYSIBM.SYCOLUMNS for a particular
table.

Is This Answer Correct ?    21 Yes 26 No

How to see the structure of db2 table??..

Answer / prem

Use the Describe command

eg: Describe table <tablename>

Is This Answer Correct ?    38 Yes 47 No

How to see the structure of db2 table??..

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

Post New Answer

More DB2 Interview Questions

How do we specify index to include or not during bind process.

0 Answers   Satyam,


In db2, how do you insert multiple rows in 1 query using a.) Cursors, b.) Normal query?? Give syntax for both.

5 Answers   CTS,


How do you filter out the rows retrieved from a Db2 table ?

1 Answers  


What is the use of predicate?

0 Answers  


SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected

0 Answers  


How to execute stored procedures?

0 Answers  


What is image copy?

1 Answers   Virtusa,


how do you resolve -805?

3 Answers   HCL,


What's the Maximum Length of SQLCA and what's the content of SQLCABC?

2 Answers  


DB2: A calls B once sucessfull and second time when it calls says curson is open why is it so?

1 Answers   IBM,


my project is insurance management system,how to explain my work environment in interview?

2 Answers   CGI, Value Labs,


why we create view.

5 Answers  


Categories