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:
01276517
Vues:
24
Interesting.... do you know if this work with SQL Server 2005 dtsx packages though? Or does it only work for SQL Server 2000 dts ones?


>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.
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform