Quantcast
Channel: BULK INSERT
Viewing all articles
Browse latest Browse all 4

BULK INSERT

$
0
0

Erro no comando Bulk Insert

BULK

INSERT tb_testeFROM'\\servidor\pasta\teste.txt'WITH(CODEPAGE=1252,FIRSTROW= 1,FIELDTERMINATOR=';',ROWTERMINATOR='\n')

OLE DB error trace [OLE/DB Provider 'STREAM' IRowset::GetNextRows returned 0x80004005: The provider did not give any information about the error.].

Msg 7399, Level 16, State 1, Line 1

OLE DB provider 'STREAM' reported an error. The provider did not give any information about the error.

The statement has been terminated.

Msg 4866, Level 17, State 66, Line 1

Bulk Insert fails. Column is too long in the data file for row 1, column 7. Make sure the field terminator and row terminator are specified correctly.

alguem ja deve esse problema?

modelo tabela:

CREATE

 

TABLE

tb_teste

(

Campo1

VARCHAR(50

)

,

 

Campo2 VARCHAR(50

)

,

 

Campo3 VARCHAR(50

)

,

 

Campo4 VARCHAR(50

)

,

 

Campo5 VARCHAR(50

)

,

 

Campo6 VARCHAR(50

)

,

 

Campo7 VARCHAR(50

)

)

 
Fernanda

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles


Xanor og førekort


GAMLE MENN I NYE BILER (2002) (KLASSIKER) (DVD)


Restegenser


3 Roms Leilighet til leie (07.01.15)


Våre vakreste grønnfarger


Tips til varme og harmoniske fargekombinasjoner


Rom i bofellesskap, Utleirvegen 21, Trondheim (04.08.19)


Leilighet til leie i mailundveien (28.04.16)


Friskt og vårlig hjem i grønt og blått!


Ønske reprise om Carl Larsson och hans fru!