挽星

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2011年7月10日

摘要: 如何实现MySQL设置自增字段是许多人都问到的问题,下面就为您介绍MySQL设置自增字段的相关知识,希望对您学习MySQL数据库能有所启迪。MySQL设置自增字段的相关语句:alter table album change ALBUM_ID ALBUM_ID bigint not null auto_increment;alter table album auto_increment=1;创建:mysql>create table cc(id int auto_increment,name varchar(20),primary key(id));修改:mysql> alter t 阅读全文
posted @ 2011-07-10 10:57 挽星 阅读(46848) 评论(0) 推荐(0) 编辑