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
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Min and max value for a column

Author  Topic 

collie
Constraint Violating Yak Guru

400 Posts

Posted - 2009-10-20 : 08:41:53
Hi,

In sql server is it possible for an int field to specify what the min value and max values that the column can be?

Thanks

Whisky-my beloved dog who died suddenly on the 29/06/06-I miss u so much.

YellowBug
Aged Yak Warrior

616 Posts

Posted - 2009-10-20 : 09:00:26
The CHECK constraint is used to limit the value range that can be placed in a column.
Go to Top of Page
   

- Advertisement -