Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

looking for datatype

Status
Not open for further replies.

atmoz

Programmer
Apr 1, 2003
2
NL
I'm looking for a datatype what's the same is as Enum or set in mysql.
Only now I'm looking for it in MS SQL.
The description for Enum is: Columns of this type can only hold one of the values listed or NULL
the only difference between enum and set is that Enum has a maximum values of 65535 and Set a maximum values of 64.
 
There's no data type to control specific values for a column - you should use a CHECK CONSTRAINT for this. Look this up in BOL for more info. --James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top