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
SQL Server Transact Basic to Expert - Alter Column Query
Karthikeyan Anbarasan
May 10, 2011
2.8
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
SQL Server Transact Basic to Expert - Alter Column Query
This blog shows how to alter a column in a table using the alter column query.
Syntax:
Alter table tablename
Alter column Columnname
(Datatype Null/Not Null)
Example:
Alter table emptable
Alter Column empname varachar(200) Not Null
SQL Server Transact Basic to Expert - Alter Column Query
Next Recommended Reading
SQL Server Transact Basic to Expert - Select Query with Column Alias