DML(Netezza)
GaussDB(DWS)关键字:SOURCE指定为无AS关键字的列别名
Netezza语法 |
迁移后语法 |
||||
---|---|---|---|---|---|
|
|
FREEZE
Netezza语法 |
迁移后语法 |
||||
---|---|---|---|---|---|
|
|
新增配置参数keywords_addressed_using_doublequote,其值为:
keywords_addressed_using_doublequote=freeze
keywords_addressed_using_as=owner,attribute,source,freeze
create table t12 (c1 int, FREEZE varchar(10)); ==> create table t12 (c1 int, "freeze" varchar(10));
select c1, Freeze from t12; ==> select c1, "freeze" from t12;
select c1 freeze from t12; ==> select c1 as freeze from t12;
OWNER (应指定AS)
Netezza语法 |
迁移后语法 |
||||
---|---|---|---|---|---|
|
|
ATTRIBUTE (应指定AS)
Netezza语法 |
迁移后语法 |
||||
---|---|---|---|---|---|
|
|