Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored Procedures taking longer than ISQLW execution.
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Stored Procedures taking longer than ISQLW execution.
Divers
Thread ID:
00007434
Message ID:
00007434
Vues:
92
I'm farily new at this, but I came across something that really confused me. I'm running MS SQL Server 6.0.

I'm writing a fairly long and complicated algorithim to match records between 2 tables (both of which have some inconsistancies and potential errors, so much checking on a record by record basis is needed).

When I run the code piece by piece in ISQLW, it takes a while, but it runs correctly. When I compile it as an SP, it takes forever. (I don't want to include the code because it is really long). Why would that be? I've indexed everthing correctly and sufficiantly, but even if I didn't, wouldn't it take longer in ISQLW as well?

Any thoughts would be much appreciated.

TIA,
Scot.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform