<%
set conn=server.createobject("adodb.connection")
set rs=server.createobject("adodb.recordset")
'连接MS Server
connstr="driver={sql server};server=198.74.101.247;uid=koko1211;pwd=111111;database=koko1211"
conn.open connstr
'创建表test
sql="create table KeyList (mykey char(20) null"
rs.open sql,conn,3,3
'插入数据
sql="insert into KeyList (mykey) values('电子')"
rs.open sql,conn,3,3
'删除表test
'sql="drop table Test"
'rs.open sql,conn,3,3
%>