Wednesday, April 11, 2012
Retrieve Table List in DB2/400 via SQL Statement
Again, mainly to remind myself, the query to retrieve a list of tables in DB2/400 is:
select * from qsys2.systables where table_type='T';
If you want a list of views, table_type would = 'V'
peace
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment