Sunday, 27 October 2024

How to discover the number of columns from your table

How to discover the number of columns from your table

db2 "select count(*) from syscat.columns where tabschmema='<schema_name>' and tabname='<tab_name>'"

No comments:

Post a Comment