SQL 2000 | CSV upload with delimiter

Team -

I have a csv file with ";" as delimiter & i want to upload the same onto SQL 2000 on a daily basis. I am using "Open Rowset" query to do the same. However am not sure of how to add delimiter in open rowset. any help on the same is highly appreciated.

Open Rowset Query:

SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Text;Database=G:\PROFILES\Final\;HDR=YES;',
'SELECT * FROM Sample.csv')
LVL 2
davidi1Asked:
Who is Participating?
 
LIONKINGCommented:
Since you're doing this on a regular basis (and you're using sql 2000) you could use a dts package to make your life easier.

Check this out and let us know if it works for you: Link
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
you can try to add Delimiter=; to the connection string
0
 
davidi1Author Commented:
I've requested that this question be deleted for the following reason:

resolved it via DTS
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.