|
Try this SQL statement:
SELECT *
FROM qsys2.syscolumns
WHERE SYSTEM_TABLE_NAME='yourtable'
AND SYSTEM_TABLE_SCHEMA ='yourschema'
to see if that returns the information you want on your floating points.
On your other topics...
Your assuming every table has a primary key. I wish!
There are many fine objects in QSYS2 which could help.
Want to know what tables are referenced in a view? SYSVIEWDEP.
Want to know what indexes are built against a table? SYSINDEXES
Want to know if a table has a primary key constraint? SYSKEYCST
However many of the logical files created by DDS are hard to keyhole into
either a view or an index. So they may not appear here.
An unrecommended practice is to access the QADB* family of tables
directly. If you go that route, try it with a person with minimal
security before you turn the process loose to the public.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.