I want to copy a table from one schema into another. Then I want to partition the table. How do I partition a table that I've copied from another schema?
From what I understand about partitioning, this should work, but I keep getting the missing left parenthesis error - which means probably that the syntax is incorrect?
DROP TABLE SS_CUSTOMER;
CREATE TABLE SS_Customer AS SELECT * FROM WL.CUSTOMER
PARTITION BY HASH(CUST_ID),
PARTITIONS 4
STORE IN (USERS, USERS, CUSTOMER, CUSTOMER);