"OceanBase数据库CREATE TABLE LOG
(
ID
char(36) NOT NULL,
AREA
char(512),
CODE
char(512),
CREATE_TIME
DATE,
RESULT_CNT
NUMBER(8),
EXECUTE
NUMBER(8),
ST_TIME
NUMBER(20),
CR_DATE
NUMBER(8),
CONSTRAINT API_EXECUTE_LOGErrorCode = 1064, SQLState = 42000, Details = You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for the right syntax to use near 'COMPRESS FOR ARCHIVE REPLICA_NUM = 3 BLOCK_SIZE = 16384 USE_BLOOM_FILTER = FALSE' at line 11_OBPK_1658719598991103
PRIMARY KEY (ID
)
) COMPRESS FOR ARCHIVE REPLICA_NUM = 3 BLOCK_SIZE = 16384 USE_BLOOM_FILTER = FALSE TABLET_SIZE = 134217728 PCTFREE = 0;
以上OceanBase的建表语句报错如下:;
ErrorCode = 1064, SQLState = 42000, Details = You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for the right syntax to use near 'COMPRESS FOR ARCHIVE REPLICA_NUM = 3 BLOCK_SIZE = 16384 USE_BLOOM_FILTER = FALSE' at line 11 请问是版本问题吗?"
2.2.77使用得是ora模式还是mysql模式? 你可以先修改下建表语句 2.2.77是企业版 313是社区版 建表语句改改试试看 此回答整理自钉群:“[社区]技术答疑群OceanBase”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。