Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, does anybody know how to perfor

Status
Not open for further replies.

doddo

Programmer
Feb 14, 2001
37
GB
Hi, does anybody know how to perform the following MySQL statement in MS SQL?

LOAD INFILE 'TOTALregistrationss.xls' INTO TABLE users

This doesn't appear to work with the MS SQL db that I have been forced to use.

All I have access to is something called Qtado which is a universal querying tool that this guy sells for a couple of pounds. We are renting space on our hosts SQL server.

Any help would be greatly appreciated,

Rich
 
Hi There

Why not use DTS in Sql Server to get the job done. You can set up the Excel spreadsheet as a source and the database as a destination. You can even save the DTS job in SQL Server so you only have to execute it if you want to run it again.

Check out DTS in BOL.

Here are some sites you can check out too.

DTS Data Import-export

DTS How to


Hope This Helps
Bernadette
 
hi,
thanks very much. The thing is I don't have access to the server as we're renting space on it, therefore I don't think I have access to DTS, I may be wrong though?
I am using a univeral tool called Qtado, which is similar to SQL enterprise manager but can be used for any DB
I have a table already created on the server with data in it. I want to import the extra data from the spreadsheet into the table.
Thanks for the links, very useful. It looks as though BCP may be better for me as I don't have the Enterprise manager

cheers
Rich
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top