Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Constraint checks
Message
De
21/06/2002 15:33:29
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00671198
Message ID:
00671219
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform