[Series] SAP HANA HANA ranks of conversion

No public: SAP Technical
Author: Matinal
 

 

The preface

We can focus on my public number, the number public in the layout better, read more comfortable.

Body part

We all know that is using SAP HANA in the ranks of hybrid storage mode

So turn HANA provides a line of columns, column switch keyword

No need to write a lot of code to take the conversion

keyword:ALTER

The problem today is not to say

Rather, if a database table is a table's row type, and the data has been stored

It can also be converted to column store table, the answer is: Yes

Grammar does not change, methods are provided below

The method of transfer by the row column

​
ALTER TABLE "ZMATINAL"."ZTABLE1" COLUMN;

It is not very easy to do

The same line can be stored conversion table ah

​
ALTER TABLE "ZMATINAL"."ZTABLE1" ROW;

 

Guess you like

Origin www.cnblogs.com/SAPmatinal/p/11184278.html