Estoy intentando insertar datos a una tabla desde un archivo de texto. Estoy utilizando la versión 16.0 SP11.
Esta es mi sentencia:
LOAD INTO TABLE seleccion_materiasit
FROM 'Z:\\Documents\\Libro1.csv
DELIMITED BY ','
ROW DELIMITED BY '\n'
QUOTES ON ESCAPES OFF
QUOTE '"'
FORMAT CSV;
Y me muestra el siguiente error:
Msg 156, Level 15, State 2:
Server 'escolaresitp', Line 1, Status 0, TranState 1:
Incorrect syntax near the keyword 'INTO'.
Msg 105, Level 15, State 2:
Server 'escolaresitp', Line 6, Status 0, TranState 1:
Unclosed quote before the character string '"'
FORMAT CSV;
'.
He estado probando y buscando pero no he encontrado respuesta a mi problema.