[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to Drop a NOT NULL constraint in SQL Server

Posted on 2006-07-07
1
Medium Priority
?
284 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how the fundamental information of how to create a table.

649 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