Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO and Data Integrity Checks
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01209224
Message ID:
01209236
Vues:
20
You'll have to analyze connection Errors collection.
FOR Each loErr IN loCon.Errors
  * loErr.Description, loErr.Number
ENDFOR
>Hi all, I've a table with several check constraints and I'd like to know if there's a way to know exactly what constraint was broken (if that's the case). For example If I have CK_CreditLimit Constraint where the ammount for the field must be >=0, if I try to insert a negative value the constraint is triggered but how can I know back in my Data Layer that this specific check was broken.
>
>I'm using ADO to connect to the database.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform