Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trigger Failed
Message
 
À
31/05/2001 11:55:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00513216
Message ID:
00513225
Vues:
14
It could be that you are trying to delete a parent record that has children records associated and the trigger is preventing you from doing it.

You can send the same SQL Statement from SQL Query Analyzer and see if you get more information there (probably no, but it might be worth a try.)

You can also use SQL Profiler to see exactly what SQL Server is receiving from VFP. That will probably give you some hints.

Lastly, you can modify the DELETE trigger on you table to display debug values an see if you can find out what's the problem.

>Anyone have a quick way to locate the problem when getting a 1526 error 'Trigger
>Failed' when issues a sqlexec('delete from where ???)
>
>Ronnie
Hector Correa
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform