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!

Simple Question - Value Lists in SQL

Status
Not open for further replies.

Mike555

Technical User
Feb 21, 2003
1,200
US
I had asked this question previous in the SQL Programming forum.

What is the SQL's equivalent of MS Access's value list? Specifically, if I need to create a SQL table column that allows the user to select from a list of values, how is that done? In Access, when you build the table you can specify this, but I don't see this property when building SQL tables. Thanks.

--
Mike
 
To limit data entry to certain values, create a constraint. Read about them in BOL.

To select values from a list box on a form, create a look-up table that is then the source for the list box.

Questions about posting. See faq183-874
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top