Thanks for the information. I went into Navigator and looked at the table definition. There it was, "Is Identity" as one of the columns related to the columns in the table. I guess I will need to start using Navigator more.
I also just discovered that the DSPFFD command does show the information as well. We have a home grown LSTFFD command that we always use, so we never use DSPFFD. I guess I need to update our command or use DSPFFD.
Software Development Architect
1110 North Main Street
PO Box 483
Goshen, IN 46527
Phone: (574) 533-9515 x3528
On 10/15/2012 2:25 PM, Matt Olson wrote:
Look at the DDL is the easiest way. Go into navigator, double click on the table and investigate the column in the GUI. Alternatively you can right click the table and generate the SQL Script which will create the DDL script and you can tell from that.
In MS SQL there is a stored procedure called "sp_help" which gives table information, I don't think an equivalent exists in DB2. I believe you are forced to utilize the DB2 catalog views to get the same type of information.
Confidentiality Notice: This information is intended only for the individual or entity named. If you are not the intended recipient, do not use or disclose this information. If you received this e-mail in error, please delete or otherwise destroy it and contact us at (800) 348-7468 so we can take steps to avoid such transmission errors in the future. Thank you.