星空网 > 软件开发 > 数据库

CUBRID学习笔记 22 插入数据

CREATE TABLE auto_tbl(id INT AUTO_INCREMENT, name VARCHAR);

自增长的列可以插入null, 同时一次可以插入多条记录.别的和其他的sql数据库语法基本一样
INSERT INTO auto_tbl VALUES (NULL, 'AAA');INSERT INTO auto_tbl (id, name) VALUES (NULL, 'AAA');INSERT INTO auto_tbl (name) VALUES ('DDD');

INSERT INTO auto_tbl VALUES (NULL, 'AAA'),(NULL, 'BBB'),(NULL, 'CCC');INSERT INTO auto_tbl (id, name) VALUES (NULL, 'AAA'),(NULL, 'BBB'),(NULL, 'CCC');INSERT INTO auto_tbl (name) VALUES ('DDD'),('EEE');



原标题:CUBRID学习笔记 22 插入数据

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

配送服务:https://www.goluckyvip.com/tag/39330.html
彭从雁:https://www.goluckyvip.com/tag/39331.html
彭广志 Klaus :https://www.goluckyvip.com/tag/39332.html
彭嘉林:https://www.goluckyvip.com/tag/39333.html
彭晋成:https://www.goluckyvip.com/tag/39334.html
彭梅秀 Penny :https://www.goluckyvip.com/tag/39335.html
长治婚庆女司仪和主持人:https://www.vstour.cn/a/366176.html
北京丰台区水上乐园哪家好玩?:https://www.vstour.cn/a/366177.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流