Skip to content

Instantly share code, notes, and snippets.

@xivSolutions
Created March 14, 2014 04:22
Show Gist options
  • Save xivSolutions/9542115 to your computer and use it in GitHub Desktop.
Save xivSolutions/9542115 to your computer and use it in GitHub Desktop.
SQL Server columnproperty - determine if SQL Server Column is identity column
SELECT columnproperty(object_id('Album'),'AlbumId','IsIdentity') AS IsIdentity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment