我是新手,麻烦大家了!
sysdy 2001-12-31 10:44:37 我有两个问题:
1、set dbconnection=Server.CREATEOBJECT("ADODB.CONNECTION")
DBPath = Server.MapPath("lib.mdb")
dbconnection.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "内容", dbconnection, adOpenDynamic, 3
strSql = "Select * from 内容 order by 最后回复时间 resc"
'set rs = dbconnection.Execute (StrSql)
其中的“adOpenDynamic, 3”是什么意思????
2、在SQL SERVER 2000中。我想使某字段的值自动加1,如ID,每加一个新用户,他的ID就在他之前的其他用户的ID上加1,语句该怎么写,我写的有错误:
create table register(ID smallint default '' not null auto_increment,……………………)