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 2000 Forums
 SQL Server Development (2000)
 RESTRICT A COLUMN TO HAVE SPECIFIC VALUES

Author  Topic 

DURGESH
Posting Yak Master

105 Posts

Posted - 2008-06-16 : 05:36:19
HI ALL
I WANT TO CREATE A TABLE THAT SHOULD ACCEPT ONLY CERTAIN VALUES
EXAMPLE 'ABC','XYZ','MNO'

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-06-16 : 06:26:22
ADD a check constraint to the column.
Go to Top of Page
   

- Advertisement -