Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving the DBC name in a SP
Message
De
21/04/2005 06:03:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Retrieving the DBC name in a SP
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01006870
Message ID:
01006870
Vues:
66
Hello,

I am wondering how in a stored procedure I can retrieve the name or path of the DBC to which the stored procedure belongs ? Calling DBC() doesn't seem safe, because if I am not mistaken, the stored procedure can very well have worked with another database and set that one as the current database.
For the moment I am setting global variables in the OpenData event, but in fact it doesn't seem much safer. There must be a better way.

Thank you for the help,

David
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform