Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Find Which Are All Table has Set Identity
WhatsApp
Sibeesh Venu
Jan 12
2015
1.1
k
0
0
Find which are all table has set identity.
select
COLUMN_NAME, TABLE_NAME
from
INFORMATION_SCHEMA.COLUMNS
where
TABLE_SCHEMA =
'dbo'
and
COLUMNPROPERTY(object_id(TABLE_NAME), COLUMN_NAME,
'IsIdentity'
) = 1
order
by
TABLE_NAME
table
SQL
set identity
Up Next
Find Which Are All Table has Set Identity