Ver Mensaje Individual
  #7 (permalink)  
Antiguo 20/05/2014, 15:31
rickstar
 
Fecha de Ingreso: mayo-2014
Ubicación: Tierra de Lagos y Volcanes
Mensajes: 12
Antigüedad: 10 años
Puntos: 0
Pregunta Respuesta: Procedure txt a Sql

Muchas gracias, como lo describi al comienzo proble poniendo: FIELDTERMINATOR ' '.
Las veces que he probado asi me mandaba todo el contenido del txt a una sola columna ahora ni eso, solo me da el error:

Msg 4832, Level 16, State 1, Line 1
Bulk load: An unexpected end of file was encountered in the data file.
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)".


Tú lo hiciste como muestras en el ejemplo? porque a mi no me da. Si pongo (FIELDTERMINATOR = '\N' , ROWTERMINATOR = ' ') me llena las columnas asi
[IMG]C:\Users\informatica\Desktop\Nuevaimagen(1)[/IMG]