Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run a SQL Server 2005 .dtsx package from VFP?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01276333
Message ID:
01276515
Vues:
22
Hi,

You might also try...
oPkg=createobject([dts.package])
opkg.LoadFromSQLServer( "YourServerName", "<userid>", "<password>",256, "", "", "", "YourDtsPkg")
opkg.Execute
Replace "YourServerName" with the SQL server you wish to access and "YourDtsPkg" with the dts package you wish to run.

"userid" and "password" should remain just the way they are. At least that's the way it works for me. I do not have to supply userid and password.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform