[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Import a Text File, NOT using BULK INSERT or OPENROWSET, to Sql Server - Web Server

Posted on 2009-04-15
Medium Priority
Last Modified: 2012-06-22
Hi Experts,

I would like to import a text file, the fastest way possible, without using BULK INSERT or OPENROWSET as the SQL Server doesn't have access to the webserver for security reasons.

So. I was thinking of using something like Microsoft Text Driver to Select the Values into a DataSet and then use the DS to INSERT the values into a Table in the SQL Server?
Code Examples? I am having some issues with Text Driver and the Web Application at the moment...


Example Conn String Used
Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=c:\txtFilesFolder\;Extensions=asc,csv,tab,txt;
Error Returned
Data source name not found and no default driver specified

Open in new window

Question by:Craig Lambie
LVL 12

Accepted Solution

udaya kumar laligondla earned 1000 total points
ID: 24153975

Author Closing Comment

by:Craig Lambie
ID: 31570796
Sorry I took so long to award this to you. THanks for your help...

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Integration Management Part 2

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question