Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Constraint checks
Message
From
21/06/2002 15:33:29
 
 
To
21/06/2002 14:43:41
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00671198
Message ID:
00671219
Views:
17
Technically, yes. You can create a Rule and then bind the rule to different columns.

However, constraints are the perferred mechanism and it does require that you specify them each time.

-Mike

>I appreciate in advance your patience, bit of a novice here.
>
>I am building a table set in one stored procedure. I want to define a constraint check at the top of the procedure, and use it inside the different CREATE TABLE loops, or, in other words, I only want to define a phone number constraint once. I do not want to have to cut/past/rename it each time etc.. None of the documentation I have access to shows syntax to do this.
>
>Is it possible? If so, what is the syntax??
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform