日期:2014-05-17 浏览次数:20756 次
<% Set conn = CreateObject("ADODB.Connection") conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\AA.mdb;" sql = "CREATE TABLE table_test(id COUNTER CONSTRAINT id primary key," &_ "sname TEXT(20) NOT NULL," &_ "ssex INT DEFAULT 0," &_ "sage INT DEFAULT 0," &_ "sdesc MEMO)" conn.Execute sql conn.Close Set conn = Nothing %>
------解决方案--------------------
直接在ACCESS数据库,设计表方便些
------解决方案--------------------
其实就是用asp执行sql啊
只不过用的是ddl