Tagged Questions
1
vote
1answer
179 views
Another BCP Export [Fail]ure
All, in SELECT Data Set Using Stored Procedure with BCP Error @Remus Rusanu provided a great solution to the problem. However, this evolved in to another problem: this BCP query now runs
DECLARE ...
1
vote
3answers
440 views
SELECT Data Set Using Stored Procedure with BCP Error
All, I have a BCP export query. It is failing with the useless error mesage on BCP usage:
usage: bcp {dbtable | query} {in | out | queryout | format} datafile
[-m maxerrors] [-f ...
2
votes
1answer
398 views
BCP error near the keyword 'as'
I am new to using BCP but I am trying to extract data generated via a stored proc. This is a continuation of my original question which was a stored procedure with temp tables. This procedure has ...
3
votes
2answers
573 views
How to run bcp utility from root drive?
My machine does not have full SQL Server installed. The following distributable packages are installed on my machine:-
Microsoft® SQL Server® 2008 R2 Command Line Utilities
Microsoft® SQL Server® ...
2
votes
1answer
1k views
bcp in of datetime type data results in an “Invalid date / time format”
I am familiarizing myself with the bcp utility, and I have a large table containing datetime data awhich I bcp out in several ways: native, character, delimited.
I then bcp in to a truncated table ...
5
votes
2answers
2k views
BULK INSERT - best usage
I need to export 150 million rows of only int/bigint columns from one SQL instance to another. I am using BCP queryout to export the rows and BULK INSERT to import the rows to another table.
I split ...