How to retrive the no.of fields/columns from physical file using the DB2/400 quey
Announcement
Collapse
No announcement yet.
Count of fields from physical file using Query..
Collapse
This topic is closed.
X
X
-
Re: Count of fields from physical file using Query..
Hi,
you may access the catalog view SYSCOLUMNS (which also can be used with Query/400)
Code:Select Count(*) from syscolumns Where System_Table_Name = 'MYFILE' and System_Table_Schema = 'MYLIB'
Comment
-
Re: Count of fields from physical file using Query..
Originally posted by B.Hauser View PostHi,
you may access the catalog view SYSCOLUMNS (which also can be used with Query/400)
Code:Select Count(*) from syscolumns Where System_Table_Name = 'MYFILE' and System_Table_Schema = 'MYLIB'
Thank You....
Comment
Comment