正文

Access创建表时设置主键
文章分类:数据库   文章来源:本站整理   发布时间:2008-9-26 15:32:55   浏览次数:227

创建代码如:

create table test(
    id counter(1,1),
    title text(50) not null,
    primary key (id)
)

counter(1,1) - 自动编号类型

primary key (id,xxx,...)

Tags: Access


[打印本文]  [查看评论]  [发表评论]  [返回首页]  [关闭窗口]