Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create SQL Login Programmatically....
Message
De
07/11/2003 08:08:02
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00847571
Message ID:
00847574
Vues:
23
Hi Julie!

>How do I get this to run in FoxPro Code?
>
>exec sp_addlogin 'Julie', 'Test', 'Loanrev'

I think that you can to do this:
lnCon = SqlConnect([ODBCName], [Login], [Password])
=SqlExec(lnCon, "exec sp_addlogin 'Julie', 'Test', 'Loanrev'"]
= SqlDisconnect(lnCon)
Bye!
Erick
Força Sempre!
Strength Always!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform