Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 18th, 2003, 09:53 AM
Registered User
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQL error when doin a bulk dump

I am using the following code:

BULK INSERT csvtest FROM 'y:\1.csv' WITH (Fieldterminator = ',', Rowterminator = '', Firstrow = 1)

when in an asp page it simply does not execute so i copied it into the SQL server SQL query box and recieved the following error when i ran it:

Bulk Insert: Unexpected end of file (EOF) encountered in the data file
 
Old December 8th, 2004, 11:43 AM
Registered User
 
Join Date: Dec 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to YHAVR
Default

change rowterminator to something like "\n"






Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Handling in Bulk Insert starnet SQL Server 2000 0 October 12th, 2006 03:27 AM
Using Bulk Insert with SQL Server 2005 ninel SQL Server 2005 2 August 29th, 2006 03:52 PM
Bulk Insert to Sql Server from .txt file avats BOOK: Beginning VB.NET Databases 1 June 3rd, 2005 04:44 AM
bulk insert error - help needed!! fgeorge SQL Server 2000 2 May 25th, 2004 04:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.