请问在MaxCompute中有oracle create as select 这种建表命令吗?[阿里云MaxCompute]

请问在MaxCompute中有oracle create as select 这种建表命令吗?

「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!
=====这是一个广告位,招租中,联系qq 78315851====
1 条回复 A 作者 M 管理员
  1. ” MaxCompute当前不支持这种语法,可以这样写。 create table newtable as select * from tablename; 不支持 CREATE TABLE newtable ( emp_id VARCHAR(10), emp_name TEXT ) AS SELECT CAST(emp_id AS VARCHAR(10)), emp_name FROM tablename;

    如果需要改变newtable的数据类型可以用ddl语句 参考文档:https://help.aliyun.com/document_detail/73771.html#section-qij-e5j-ge9整理自钉群“MaxCompute开发者社区2群””