Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging Stored Procedures
Message
 
 
À
19/08/2009 05:37:38
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 2000
Application:
Desktop
Divers
Thread ID:
01418878
Message ID:
01418886
Vues:
75
>We're using VFP to call SQL backend stored procedures via ODBC using sqlexec() function.
>How do we debug SQL stored procedures if sqlexec() returns a zero value?
>Is that something similar to Coverage profiler or VFP's debugger?

You should read VFP help first:
"SQLEXEC( ) returns 0 if it is still executing and returns 1 when it has finished executing".
IOW you set connection to asynchronous and not checking for SPT operation to complete.

And yes, there's SQL Server profiler. See also Debugging a SQL Stored Procedure from inside SQL Server 2000 Query Analyzer
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform