Importing data with BCP using a query...
- From: tom.herz@xxxxxxxxx
- Date: 14 Apr 2006 19:15:00 -0700
Hi all,
I'm trying to import updated unitcosts into a products table without
doing a complete dump and then reimport.
I can't seem to get BCP to accept a query instead of a table - here's
the text of the command:
bcp "update ecomerce.dbo.cmrc_products set unitcost = @unitCost where
productID=@pid" in unit1.txt -S [server] -T
I get an error that reads: An error ocurred while processing the
commandline.
Any help would be appreciated.
Thanks.
Tom
.
- Follow-Ups:
- Re: Importing data with BCP using a query...
- From: Michael Hotek
- Re: Importing data with BCP using a query...
- Prev by Date: Re: Point in time restore error
- Next by Date: Re: Importing data with BCP using a query...
- Previous by thread: Re: run Profiler on a specific SP/Query/Function
- Next by thread: Re: Importing data with BCP using a query...
- Index(es):
Relevant Pages
|
Loading