cancel
Showing results for 
Search instead for 
Did you mean: 

convert row store to column store table

Former Member
0 Kudos

Hi Gurus,

Is it possible to convert row store to column store table ? Please advice

Regards,

Manoj.

Accepted Solutions (1)

Accepted Solutions (1)

rajarshi_muhuri
Active Participant
0 Kudos

you can alter tables from row to column (and vice versa) very simply

suppose X is a ROW table under schema TEST

ALTER TABLE TEST.X COLUMN

changes from type ROW to COLUMN

and to revert back, its as simple as

ALTER TABLE TEST.X ROW

former_member217391
Discoverer
0 Kudos

Thanks Muhuri, that was indeed helpful.

Answers (2)

Answers (2)

Former Member
0 Kudos

Its possible with below SQL command to convert row table to column table.

ALTER TABLE <Schema Name>.<Table Name> COLUMN

Replace COLUMN with ROW to convert from column to row table.

Vitaliy-R
Developer Advocate
Developer Advocate
0 Kudos

Have a look at table_conversion_clause of the ALTER TABLE command in SQL Ref. Guide (p. 69) -VR