Solved

How to Drop a NOT NULL constraint in SQL Server

Posted on 2006-07-07
1
261 Views
Last Modified: 2008-01-09
I'm trying to drop a NOT NULL constraint off the S_TIME column. What am I doing wrong? Am I misreading syntax diagrams in my documentation?

alter table worktime alter column s_time NULL;

Thanks.
0
Comment
Question by:DataDesignIT
1 Comment
 
LVL 9

Accepted Solution

by:
nito8300 earned 50 total points
ID: 17058960
ALTER TABLE WORKTIME ALTER COLUMN S_TIME DATETIME NULL
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how the fundamental information of how to create a table.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now