I am trying to query a SQL Server & Oracle database to get table data that would indicate if a column is auto increment or or not. I would assume you would look at the “information_schema.columns” and “user_tab_cols” tables but it doesn’t seem to hold this information. Does anyone know where I can retrieve this information?
Share
To check a specific column in SQL Server:
or to find all identity columns