I am trying to load the data into the tables but i get this error: "COPY INTO: insufficient privileges: COPY INTO from .. LOCKED requires tables without indices"
The code I use to create the table:
CREATE TABLE region (
r_regionkey INT NOT NULL,
r_name CHAR(25) NOT NULL,
r_comment VARCHAR(152));
The code I use to load the table:
COPY 5 RECORDS INTO region FROM 'C:\Users\gewrg\Desktop\ADM 1\tpch_2_17_1\dbgen\SF-1\data\region.tbl' USING DELIMITERS '|', '|\n', '"' LOCKED;
Is there a problem with the absolute path I use?