I\'m trying to run this query (I also tried it without specifying FIELDTERMINATOR and ROWTERMINATOR). It\'s using a datafile that I am manually creating beforehand (not with bcp out).
I am getting the error Error - [Microsoft][SQL Native Client] String data, right truncation about 10 times before the import fails out on the outpu log.The error is a bit ambigous to which field in wh
I\'m currently reviewing how to import a file created from bcp in SQL Server on one computer into my local SQL Server. This is a datafile I received from a 3rd party so I ha开发者_JS百科ve no idea of
I have VS2005 .NET C# program. My understanding is that VS2005 targeted only the 2.0 versi开发者_运维知识库on of the .NET FW. The program uses the Bulk copy object. I believe the source dll of this ob
We receive fixed length datasets from a client that look something like this: 1 SOMEFILE20110922 2 20110101ABC999
Is there a direct way to import an IBM timestamp in the format 2008-01-30.22.44.22.435894 using BCP into SQL Server 2008 R2 Enterprise datetim开发者_运维问答e2 field?
So BCP for inserting data into 开发者_如何学JAVAa SQL Server DB is very very fast. What is is doing that makes it so fast?In SQL Server, BCP input is logged very differently than traditional insert st
When running BCP from my Java application it exits with status code 0 when 1 is expected. I run bcp with an invalid combination of data and formatting file and bcp gives the following error:
When I import the following lines from a datafile: DATAFILE1: 1,2,3,4,5,6.789 10,11,12,13,14,15.6789 into SQL Server 2008 R2, The data comes in as though it is interpreting the data as ascii value
Im using Sql2008 trying to run this BCP command but it never creates the file. -- Export query DECLARE @qry2 VARCHAR(1000)