on 03-27-2014 11:53 AM
Hi,
I have already created two tables as Customer and Sales in schemas. I have manually generated few records in to the tables by SQL queries.
Two tables with Customer and Sales are generated as the Row store initially. Now i have to generate these two tables as the Column store without dropping the tables. I have to edit the table definition and make the table type from the row store to the Column store.
I Export the SQL queries and renamed the existing tablename by placing it as the Column store.
Is it possible to edit the table type within the existing table and execute them?
Thanks and regards
Sanjay
Hi Sanjay,
Yes we can change the table type from ROW to COLUMN.
Execute the below query:
ALTER TABLE <schema_name>.<table_name> ALTER TYPE COLUMN;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.