.net

.net

博客园 首页 新随笔 联系 订阅 管理

2015年7月30日 #

摘要: 1、把主键定义为自动增长标识符类型在mysql中,如果把表的主键设为auto_increment类型,数据库就会自动为主键赋值。例如:create table customers(id int auto_increment primary key not null, name varchar(15)... 阅读全文
posted @ 2015-07-30 12:23 航宇 阅读(3297) 评论(0) 推荐(0)