TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Get Collation Name for Column Name in SQL Server
Pankaj Kumar Choudhary
Aug 08
2016
Code
551
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
Below code retrieve the collation name of columns for a table.
Code:
SELECT
name
AS
Column_Name, collation_name
FROM
sys.columns
WHERE
OBJECT_ID = (
SELECT
OBJECT_ID
FROM
sys.objects
o
WHERE
o.type=
'U'
AND
name
=
'Table_Name'
)
SQL Server