I want to create a list of columns in SQL Server 2005 that have identity columns and their corresponding table in T-SQL.
Results would be something like:
Tab
In SQL 2005:
select object_name(object_id), name from sys.columns where is_identity = 1