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.
| Author |
Topic |
|
teamjai
Yak Posting Veteran
52 Posts |
Posted - 2012-01-04 : 05:56:31
|
helloi do not allow zero.. how can i do this.example:Table1ColumnNumber-------name1------------aa2------------bb0------------ccnumber are entered manually.. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-01-04 : 06:04:47
|
| put a check constraint on Number column likeALTER TABLE ADD CONSTRAINT Chk_NumberNonZero CHECK (Number > 0)------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|
|