易截截图软件、单文件、免安装、纯绿色、仅160KB

返回access的创建语句 - Web 开发 / ASP

我在access中创建一个表..我怎么获取他的创建语句..
我主要是想获取他的创建语句用于CMS的安装 或者在sqlserver中安装用用..

VB code:

CreateDatabase Method Example

This example uses CreateDatabase to create a new, encrypted Database object.

Sub CreateDatabaseX()

Dim wrkDefault As Workspace
Dim dbsNew As DATABASE
Dim prpLoop As Property

' Get default Workspace.
Set wrkDefault = DBEngine.Workspaces(0)

' Make sure there isn't already a file with the name of
' the new database.
If Dir("NewDB.mdb") <> "" Then Kill "NewDB.mdb"

' Create a new encrypted database with the specified
' collating order.
Set dbsNew = wrkDefault.CreateDatabase("NewDB.mdb", _
dbLangGeneral, dbEncrypt)

With dbsNew
Debug.Print "Properties of " & .Name
' Enumerate the Properties collection of the new
' Database object.
For Each prpLoop In .Properties
If prpLoop <> "" Then Debug.Print " " & _
prpLoop.Name & " = " & prpLoop
Next prpLoop
End With

dbsNew.Close

End Sub



CreateTableDef Method Example

This example creates a new TableDef object in the Northwind database.

Sub CreateTableDefX()

Dim dbsNorthwind As Database
Dim


相关问答:

access中的text型数字 - 其他数据库开发 / Access

access中的text型的数字,怎么比较大小啊?
大家知道吗?
因为我想根据这一列数据的大小查询一些东西
举个例子:
就是,我有一列数据为编码:
是text型的数字:如
1101
1102
1103
等,
我现在要取出编码比 ......

tomcat连接Access数据库问题。 - Java / Web 开发

各位高手好,麻烦帮我看下这个数据库连接问题:
做了一个BBS但是数据库就是连接不上。错误代码如下
HTTP Status 500 - 
------------------------------------------------------------------------------- ......

linux不能访问access - Java / Java EE

rt,我试了网上直连Acces数据库的方法,windows下没有问题,但是在linux下不行,谁能给点提示?谢谢
你怎么连的?

Acces数据库..
你怎么练的呢?

Java code:

static String DBDRIVER = "sun.jd ......

如何在VB.NET创建access数据库?

刚刚接触VB.NET,对.NET基本什么也不懂,请高手给一段较完整创建access数据库的示例代码,让我学习一下。
所谓较完整创建数据库时定义各个字段类型的表示方法,如整数型,浮点型,字符型(定义长度如何表示)。谢谢 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号