Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding table validation rule
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01406956
Message ID:
01406998
Vues:
41
>>>BTW, I could not find how to add TABLE validation rule.
>>
>>Prepare a simple DB with all procedures you wan. Then use GENDBC and check what code it generates :-)
>
>I found the table validation rules, BTW: (in How to: Create Record Validation Rules topic)
>
>ALTER TABLE Employee SET CHECK Hire_Date >= birth_date + (18 * 365.25) ;
> ERROR "Employees must be 18 years or older by date of hire."

I don't know if there is TABLE validation rule. They are always Record Validation rules :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform