律师咨询北京:当数据库已经建立以后,如何在vb中动态的创建新的数据表
来源:百度文库 编辑:神马品牌网 时间:2024/05/12 15:58:18
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
神马品牌网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:神马品牌网 时间:2024/05/12 15:58:18
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