How to load a csv into a table
Hi Guys,
I have a simple csv file containing three columns ABC,DEF,XYZ
I have a table named masterdata in vertica with the exact three columns.
How do i get data from the csv into the data table?
i tried:
COPY masterdata FROM '/home/dbadmin/Desktop/data.csv' DELIMITER ',';
But all it says is
ROWS LOADED
-------------------------
0
(1 row)
What to do?
I have a simple csv file containing three columns ABC,DEF,XYZ
I have a table named masterdata in vertica with the exact three columns.
How do i get data from the csv into the data table?
i tried:
COPY masterdata FROM '/home/dbadmin/Desktop/data.csv' DELIMITER ',';
But all it says is
ROWS LOADED
-------------------------
0
(1 row)
What to do?
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
