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
Bounty
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
How to Find Column exist Or not in Table in SQL Server
WhatsApp
Nikhil Sangani
Aug 08
2016
1.1
k
0
0
IF COL_LENGTH(‘
Table
name
’,’
Column
name
’)
IS
NOT
NULL
BEGIN
PRINT ‘Your
Column
Exists’
END
ELSE
BEGIN
PRINT ‘Your
Column
not
Exists’
END
SQL SERVER
Up Next
How to Find Column exist Or not in Table in SQL Server