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)
 Listing Check Constraints from a stored proc

Author  Topic 

fhanlon
Starting Member

4 Posts

Posted - 2001-06-14 : 17:05:47
If a table is defined as:

Create table employees
(name CHAR(20)
department varCHAR(20)
badge integer

check valid_department (department in

('Sales'
'Field Service'
'Software'
'Logistics')))


How can I - from a stored proc - find out what are the valid values for the department column? I assume its in a system table?

   

- Advertisement -