<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Explanation and Understanding NOT NULL Constraint</title>
	<atom:link href="http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sun, 12 Feb 2012 09:22:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Mayur</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-249979</link>
		<dc:creator><![CDATA[Mayur]]></dc:creator>
		<pubDate>Wed, 08 Feb 2012 12:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-249979</guid>
		<description><![CDATA[when i write
 create table accounts(accno int identity(1001,1) primary key,accnm varchar(50) not null,acctype char(8) default &#039;Saving&#039;, city varchar(50) default &#039;amravati&#039;,balance float check(balance&gt;=500),atmno int unique),\
here accnnm take null value n creates the table. 
Is there any other way to define not null value?]]></description>
		<content:encoded><![CDATA[<p>when i write<br />
 create table accounts(accno int identity(1001,1) primary key,accnm varchar(50) not null,acctype char(8) default &#8216;Saving&#8217;, city varchar(50) default &#8216;amravati&#8217;,balance float check(balance&gt;=500),atmno int unique),\<br />
here accnnm take null value n creates the table.<br />
Is there any other way to define not null value?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 9 of 31 Journey to SQLAuthority</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-147032</link>
		<dc:creator><![CDATA[SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 9 of 31 Journey to SQLAuthority]]></dc:creator>
		<pubDate>Sat, 09 Jul 2011 01:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-147032</guid>
		<description><![CDATA[[...] (Read more here) [...]]]></description>
		<content:encoded><![CDATA[<p>[...] (Read more here) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robert</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-104459</link>
		<dc:creator><![CDATA[robert]]></dc:creator>
		<pubDate>Thu, 09 Dec 2010 14:55:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-104459</guid>
		<description><![CDATA[hi pinal,
               all your posts and articles are very helpful. Thanks]]></description>
		<content:encoded><![CDATA[<p>hi pinal,<br />
               all your posts and articles are very helpful. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinku raj</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-82456</link>
		<dc:creator><![CDATA[Pinku raj]]></dc:creator>
		<pubDate>Sat, 31 Jul 2010 10:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-82456</guid>
		<description><![CDATA[Hello Pinal,

Is there any problem If I change the Not NULL Constraint to NULL Constraint in a Existance Table.

I have a Table which has a large Amount of data which has a Specific Column and whose Constraint is Not Null But for some reason I have to change that constraint to NULL.

So, Is there will be any Problem If I change the Not Null Constraint to Null Constraint in a Existance Column of a Table

With Regards,
Pinku Raj]]></description>
		<content:encoded><![CDATA[<p>Hello Pinal,</p>
<p>Is there any problem If I change the Not NULL Constraint to NULL Constraint in a Existance Table.</p>
<p>I have a Table which has a large Amount of data which has a Specific Column and whose Constraint is Not Null But for some reason I have to change that constraint to NULL.</p>
<p>So, Is there will be any Problem If I change the Not Null Constraint to Null Constraint in a Existance Column of a Table</p>
<p>With Regards,<br />
Pinku Raj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jawad</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-81254</link>
		<dc:creator><![CDATA[Jawad]]></dc:creator>
		<pubDate>Thu, 22 Jul 2010 13:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-81254</guid>
		<description><![CDATA[its not possible in sql server as far as i know.]]></description>
		<content:encoded><![CDATA[<p>its not possible in sql server as far as i know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Picone</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-58632</link>
		<dc:creator><![CDATA[Frank Picone]]></dc:creator>
		<pubDate>Mon, 14 Dec 2009 23:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-58632</guid>
		<description><![CDATA[Hello Pinal,

Well, I confess, I rarely ask experts for assitance, prefering to muddle through and work out a problem. However, I cannot figure out if I am walking repeatedly into a brick wall on this problem. 

Is it possible to add a NAMED not null constraint to a column (presuming only non-null entries in the column at the time of constraint creation)? 

I&#039;ve seen the syntax for adding a non-named constraint and a named constraint at time of table creation or column addition, but I cannot find even a reference for creation of a NAMED not-null constraint after column creation.

Thank you very much for your time,
Frank]]></description>
		<content:encoded><![CDATA[<p>Hello Pinal,</p>
<p>Well, I confess, I rarely ask experts for assitance, prefering to muddle through and work out a problem. However, I cannot figure out if I am walking repeatedly into a brick wall on this problem. </p>
<p>Is it possible to add a NAMED not null constraint to a column (presuming only non-null entries in the column at the time of constraint creation)? </p>
<p>I&#8217;ve seen the syntax for adding a non-named constraint and a named constraint at time of table creation or column addition, but I cannot find even a reference for creation of a NAMED not-null constraint after column creation.</p>
<p>Thank you very much for your time,<br />
Frank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudhakar M</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-54414</link>
		<dc:creator><![CDATA[Sudhakar M]]></dc:creator>
		<pubDate>Tue, 04 Aug 2009 11:17:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-54414</guid>
		<description><![CDATA[How to drop system generated not null constraints in Sql server]]></description>
		<content:encoded><![CDATA[<p>How to drop system generated not null constraints in Sql server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER - 2008 - Interview Questions and Answers - Part 4 Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-47469</link>
		<dc:creator><![CDATA[SQL SERVER - 2008 - Interview Questions and Answers - Part 4 Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Thu, 26 Feb 2009 12:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-47469</guid>
		<description><![CDATA[[...] (Read More Here) [...]]]></description>
		<content:encoded><![CDATA[<p>[...] (Read More Here) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeet</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-43859</link>
		<dc:creator><![CDATA[jeet]]></dc:creator>
		<pubDate>Wed, 22 Oct 2008 11:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-43859</guid>
		<description><![CDATA[ho do i disable null constraint for a time being?]]></description>
		<content:encoded><![CDATA[<p>ho do i disable null constraint for a time being?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jyothi P</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-42866</link>
		<dc:creator><![CDATA[Jyothi P]]></dc:creator>
		<pubDate>Tue, 16 Sep 2008 20:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-42866</guid>
		<description><![CDATA[Nikhil,

If you have created a table like this 

create table Emp (Ename varchar(10) not null)

You can alter the Table ..

alter table Emp alter column Ename varchar(10) null]]></description>
		<content:encoded><![CDATA[<p>Nikhil,</p>
<p>If you have created a table like this </p>
<p>create table Emp (Ename varchar(10) not null)</p>
<p>You can alter the Table ..</p>
<p>alter table Emp alter column Ename varchar(10) null</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DileepReddy Namburu</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-35091</link>
		<dc:creator><![CDATA[DileepReddy Namburu]]></dc:creator>
		<pubDate>Tue, 15 Apr 2008 12:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-35091</guid>
		<description><![CDATA[Hi , pinal..it was a nice journey watching ur website....]]></description>
		<content:encoded><![CDATA[<p>Hi , pinal..it was a nice journey watching ur website&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nikhil</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-34845</link>
		<dc:creator><![CDATA[nikhil]]></dc:creator>
		<pubDate>Fri, 04 Apr 2008 11:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-34845</guid>
		<description><![CDATA[how to drop not null constraint]]></description>
		<content:encoded><![CDATA[<p>how to drop not null constraint</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-34785</link>
		<dc:creator><![CDATA[Raj]]></dc:creator>
		<pubDate>Wed, 02 Apr 2008 09:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/15/sql-server-explanation-and-understanding-not-null-constraint/#comment-34785</guid>
		<description><![CDATA[The only problem with 

ALTER TABLE ConstraintTable
ALTER COLUMN ID INT NOT NULL

is that if there is an index / constraint on this column then the statement fails with 

Msg 5074, Level 16, State 1, Line 1
The index &#039;BLAH&#039; is dependent on column &#039;BLAH&#039;.
Msg 4922, Level 16, State 9, Line 1
ALTER TABLE ALTER COLUMN BLAH failed because one or more objects access this column.]]></description>
		<content:encoded><![CDATA[<p>The only problem with </p>
<p>ALTER TABLE ConstraintTable<br />
ALTER COLUMN ID INT NOT NULL</p>
<p>is that if there is an index / constraint on this column then the statement fails with </p>
<p>Msg 5074, Level 16, State 1, Line 1<br />
The index &#8216;BLAH&#8217; is dependent on column &#8216;BLAH&#8217;.<br />
Msg 4922, Level 16, State 9, Line 1<br />
ALTER TABLE ALTER COLUMN BLAH failed because one or more objects access this column.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

