1、create table tname (id int not null IDENTITY (1,1),.....)
2、存路径方便。
3、rs.open "select * where ×××",速度快!服务器负荷少!

解决方案 »

  1.   

    1.identity 
    create table t1(id int identity,.....)
    2.存为路径
    3.不同用处
      

  2.   

    我已经将Access数据库里的数据导到sql2000 里了,系统默认我的“自动编号”成了int,请问我怎么修改?
      

  3.   

    1.有呀,itentity类型(自动增1)
    2。直接用数据库比较方便,用路径编程麻烦。3。rs.open "select * where ×××"吧。
      

  4.   

    继续:我用了Normal_rs.Open "select * from normal where CT号 = '" & str_CTNumber & "'and  ID = Val_ID", cn, adOpenStatic, adLockOptimistic,(CT号是字符,ID是数字),却报错:实时错误:3705,对象打开时,操作不被允许。
    另:itentity类型,是否是:选择:int,然后在“标识”中选“是”,还是“是(不用于复制)”?
    Sorry,本人是初学者。
      

  5.   

    "自动编号”成了int, IDENTITY列为INT有什么关系?