bcp
Can't identify reason for BULK INSERT errors
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).[详细]
2023-04-10 18:36 分类:问答How do you tell which field SQL 2k5 BCP is complaining about in a failed import?
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[详细]
2023-04-10 10:19 分类:问答SQL Server import of file created through bcp
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[详细]
2023-04-08 16:15 分类:问答Upgrading to SQL Server 2008: Upgrading a VS2005 .NET program that uses BCP
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[详细]
2023-04-08 14:04 分类:问答Uploading multi-line records into SQL Server
We receive fixed length datasets from a client that look something like this: 1 SOMEFILE20110922 2 20110101ABC999[详细]
2023-04-06 10:41 分类:问答Import IBM Timestamp using BCP?
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?[详细]
2023-03-25 05:57 分类:问答Why is BCP so fast?
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[详细]
2023-03-22 02:37 分类:问答BCP exits with code 0
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:[详细]
2023-03-18 03:44 分类:问答bcp imports data as base 256?
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[详细]
2023-03-16 13:14 分类:问答Problem with BCP writing to .txt file from SQL
Im using Sql2008 trying to run this BCP command but it never creates the file. -- Export query DECLARE @qry2 VARCHAR(1000)[详细]
2023-03-16 05:53 分类:问答