ndb_truncate.result
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:0k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. DROP TABLE IF EXISTS t2;
  2. CREATE TABLE t2 (
  3. a bigint unsigned NOT NULL PRIMARY KEY,
  4. b int unsigned not null,
  5. c int unsigned
  6. ) engine=ndbcluster;
  7. select count(*) from t2;
  8. count(*)
  9. 5000
  10. truncate table t2;
  11. select count(*) from t2;
  12. count(*)
  13. 0
  14. drop table t2;