Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with bcp utility
Message
De
20/12/2000 14:24:52
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Titre:
Problem with bcp utility
Divers
Thread ID:
00455530
Message ID:
00455530
Vues:
90
Hi,
I'm trying to transfer data from query to a text.txt type file.

I can do it with the wizard and through the creation of a package but the problem is that I can only use the content of a limited query...Example: I can say in my query that I need the inventory of a client (ex.: client #1) "Select * from inventory where customer=1" but I cannot change the query during the execution of the package.

But I need the transfer to be dynamic. The query should adapt itself for every client.

So I need to use the bcp function to transfer my data, but query analyser does not recognize it. Example: bcp "querySql" queryout test.txt. Query analyzer is saying: Could not find stored procedure bcp.

Any suggestions...

Thanks!
-Michael
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform