IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to display the structure of DB2 table?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vd123

New User


Joined: 30 Jul 2009
Posts: 7
Location: Pune

PostPosted: Wed Apr 14, 2010 12:29 pm
Reply with quote

I wan to see all the specifications related to a DB2 table?
How can we achieve this using SPUFI?

Thanks
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Apr 14, 2010 1:49 pm
Reply with quote

SPUFI is just a smart interface to run queries
is not a <data aware> thing

You can find the info You look for by running the appropriate queries on the DB2 catalog tables ( SYSIBM. stuff )

or ask Your peers if some DATABASE ADMINISTRATION TOOL is available in Your organization
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Wed Apr 14, 2010 2:10 pm
Reply with quote

Quote:
all the specifications related to a DB2 table
are stored in many... DB2 tables!
Depending on the specification you want, you can access one of the many SYSIBM.SYSxxxx tables.
For example, the table columns can be found with:
Code:
SELECT
   *
FROM
   SYSIBM.SYSCOLUMNS
WHERE
   TBNAME = 'tablename'
ORDER BY
   COLNO
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top