I'm having problems bulk inserting data into my SQL Express 2005 DB.
I'm using the following code:
BULK INSERT [dbEPi].[dbo].[postcode]
FROM 'C:\Development\postnummerRegister.txt'
WITH 
(
    FIELDTERMINATOR = '\t',
    ROWTERMINATOR = '\n'
)
and I get the following error:
Msg 4866, Level 16, State 1, Line 1
The bulk load failed. The column is too long in the data file for row 1, column 5. Verify that the field terminator and row terminator are specified correctly.
Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error.
Msg 7330, Level 16, State 2, Line 1
Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".
The datafile I'm trying to import, can be located here.
Any help appreaciated.
Update 1 Here's an example of the data I'm using:
0001    OSLO 0301 OSLO K
0010    OSLO 0301 OSLO F
0014    OSLO 0301 OSLO K
0015    OSLO 0301 OSLO K
0016    OSLO 0301 OSLO K
0017    OSLO 0301 OSLO K
0018    OSLO 0301 OSLO G
0020    OSLO 0301 OSLO K
0021    OSLO 0301 OSLO K
Update 2
I managed to import them now. All I did was copy the text into a new file, and save this as test.txt. I have no idea why this works. It might be because of the file encoding. The file was UTF8 encoded.