Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
ashuadi
Starting Member
5 Posts |
Posted - 2007-06-11 : 10:57:31
|
| Hi,i am having problems while importing a .csv file.when i import a .csv file in sql server I get the folowing error message."Cannot create an OLE DB accessor. Verify that the column metadata is valid".Any help would be appreciated |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2007-06-11 : 10:58:51
|
| How are you trying to import it?Bulk insert is usually the easiest.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
ashuadi
Starting Member
5 Posts |
Posted - 2007-06-11 : 11:02:19
|
| I am using the sql server import export wizard to import the .csv file.what is "bulk insert" |
 |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2007-06-11 : 11:05:38
|
| Have a look in bol.bulk insert mytable from c:\myfile.csv with (fieldterminator=',')The path will be relative to the server not the client machine.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|