Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BCP utility
Message
 
 
À
26/01/2005 18:16:22
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Divers
Thread ID:
00981014
Message ID:
00981102
Vues:
37
Laquiva,

BCP to a floppy? That's pretty much overkill and misuse of BCP. BCP is designed to get lots of data in/out of a server.

Let your SP return a result set to your ASP in an ADO recordset and write some script code to dump that out to a file. I don't know all the ADO methods off the top of my head it may already have something that will render the recordset into text with a single call.

>I'm using the bcp utility inside a stored procedure to create/save a text file to a floppy. I'm using ASP.NET and whenthe stored procedure is called, it saves the file to the floppy drive on the server instead of the floppy on the user's system. Is there a way to correct this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform