Hi, I simply need to load a CSV file into a new table I created on our Sybase database. I have tried all methods I was able to find online, and keep getting errors. Please help! :rolleyes:
1> LOAD TABLE cb_tradeTEST
2> FROM '/opt/sybase/ETMM/CB_TRADE.csv'
3> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'TABLE'.
1> LOAD TABLE 'cb_tradeTEST' FROM '/opt/sybase/ETMM/CB_TRADE.csv'
2> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'TABLE'.
1> LOAD TABLE "cb_tradeTEST" FROM '/opt/sybase/ETMM/CB_TRADE.csv'
2> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'TABLE'.
1> INPUT INTO "cb_tradeTEST" FROM '/opt/sybase/ETMM/CB_TRADE.csv'
2> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'INTO'.
1> INPUT INTO cb_tradeTEST FROM '/opt/sybase/ETMM/CB_TRADE.csv'
2> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'INTO'.
1> INPUT INTO Employees
FROM /opt/sybase/ETMM/CB_TRADE.txt
FORMAT TEXT;2> 3>
4> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'INTO'.
1> LOAD TABLE cb_tradeTEST
2> FROM '/opt/sybase/ETMM/CB_TRADE.csv'
3> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'TABLE'.
1> LOAD TABLE 'cb_tradeTEST' FROM '/opt/sybase/ETMM/CB_TRADE.csv'
2> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'TABLE'.
1> LOAD TABLE "cb_tradeTEST" FROM '/opt/sybase/ETMM/CB_TRADE.csv'
2> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'TABLE'.
1> INPUT INTO "cb_tradeTEST" FROM '/opt/sybase/ETMM/CB_TRADE.csv'
2> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'INTO'.
1> INPUT INTO cb_tradeTEST FROM '/opt/sybase/ETMM/CB_TRADE.csv'
2> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'INTO'.
1> INPUT INTO Employees
FROM /opt/sybase/ETMM/CB_TRADE.txt
FORMAT TEXT;2> 3>
4> go
Msg 156, Level 15, State 2:
Server 'SybaseServer', Line 1:
Incorrect syntax near the keyword 'INTO'.