📄 ndb_alter_table_row.result
字号:
DROP TABLE IF EXISTS t1;create table t1 ( a int primary key, b varchar(10), c varchar(10), index (b) )engine=ndb;insert into t1 values (1,'one','one'), (2,'two','two'), (3,'three','three');create index c on t1(c);select * from t1 where c = 'two';a b c2 two twoalter table t1 drop index c;select * from t1 where c = 'two';a b c2 two twodrop table t1;create table t3 (a int primary key) engine=ndbcluster;begin;insert into t3 values (1);alter table t3 rename t4;commit;select * from t3;ERROR 42S02: Table 'test.t3' doesn't existselect * from t4;a1drop table t4;show tables;Tables_in_test
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -