Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 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 September 13th, 2006, 04:34 AM
Authorized User
 
Join Date: Jul 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Bulk Insert

Hi friends,
I have problem with bulk insert. I had used bulk insert to load
data from flat file (text file) to sql server table.
But now format of file is changed.
so is there any option in bulk insert in which i can specify
starting point to read from text file. search for specific word in text file and read from that line.

Thanks in advance

 
Old September 13th, 2006, 08:29 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

You can use a DTS process to read in the file and then send it off to the various tables but the file format must be consistent, e.g. all data elements must be delimited by a , or ;

"The one language all programmers understand is profanity."





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 3 - Bulk Insert Example Problem. AP BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 4 February 5th, 2009 04:50 PM
Bulk Insert Problem starnet SQL Server 2005 5 April 17th, 2007 08:34 AM
hi problem on bulk insert command karthikc85 SQL Server ASP 1 November 8th, 2006 04:22 AM
Bulk Insert Problem pseudo SQL Server 2000 2 October 4th, 2006 06:48 AM
BULK INSERT PROBLEM ZoroAstris SQL Language 3 January 3rd, 2005 09:18 AM





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