Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Calling SQL Proc From VFP
Message
De
11/12/2007 11:39:49
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01274675
Message ID:
01274797
Vues:
10
>>Not directly related, but generally using sp_ as a prefix on your stored procedures is discouraged. SQL Server uses that for it's own stored procs and will search its list of SP if it sees "sp_" first. If it can't find it, it will then look in the user defined listed of stored procs. That means you'll pay a performance hit on every call (since it has to check to see if it's an internal SP first).
>
>Paul,
>
>Good point. I was also thinking about it. What is the recommended prefix for users' SP?
>
>Thanks in advance.

I have found that usp_ is pretty well accepted.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform