律师咨询北京:当数据库已经建立以后,如何在vb中动态的创建新的数据表
来源:百度文库 编辑:神马品牌网 时间:2024/05/23 19:20:50
Dim sql As String
sql = "Create Table xx(sno int primary key, sname varchar(20) not null)"
Dim adoCn as new adodb.Connection
adoCn.Open "连接串"
adoCn.Execute sql