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.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 how to import text file like csv

Author  Topic 

kelvin30588
Starting Member

2 Posts

Posted - 2010-07-29 : 03:24:00
hi guys,
is there anyway to import text file using csv method??

example of my text file:

30.05.2010 report
-----------------------------------------
-----------------------------------------
|column1|column2|column3|column4|column5|
-----------------------------------------
|value1 |value2 |value3 |value4 |value5 |
|value1 |value2 |value3 |value4 |value5 |
|value1 |value2 |value3 |value4 |value5 |
|value1 |value2 |value3 |value4 |value5 |
|value1 |value2 |value3 |value4 |value5 |
|value1 |value2 |value3 |value4 |value5 |
-----------------------------------------


THANKS

BEST REGARDS,

KELVIN

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-07-29 : 13:56:53
BULK INSERT http://msdn.microsoft.com/en-us/library/aa225968(v=SQL.80).aspx
Go to Top of Page
   

- Advertisement -