SyntaxFix
Write A Post
Hire A Developer
Questions
sys.columns.is_identity = 1
e.g.,
select o.name, c.name from sys.objects o inner join sys.columns c on o.object_id = c.object_id where c.is_identity = 1