Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Nullable attribute

Author  Topic 

albaker
Starting Member

7 Posts

Posted - 2007-09-10 : 06:38:24
What happens if a column which has been defined so that it should not be Nullable is passed a value which is null?

i.e. IDNumber - Primary Key and Nullable = No.

Thanks

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-09-10 : 06:39:02
I think you will get an error.
What happened when you tried?



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

albaker
Starting Member

7 Posts

Posted - 2007-09-10 : 06:57:05
haven't tried yet but was expecting that,

thanks.
Go to Top of Page

Vijaykumar_Patil
Posting Yak Master

121 Posts

Posted - 2007-09-10 : 07:03:57
Albaker..I think you will know more trying then asking!!

Necessity is the mother of all inventions!
Go to Top of Page
   

- Advertisement -