易截截图软件、单文件、免安装、纯绿色、仅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


相关问答:

Dbgrid连接access拖动滚动条死机?

Dbgrid连接access 显示数据时拖动滚动条死机?怎么解决啊?
机器太差了吧?

是不是你数据量太大了啊
你数据少一些看看还死机吗?

数据很少啊 就一页。

我在BCB6下做过不少 DBGRID+ACCESS ,从来没有遇到 ......

解决access级联更新问题 - 其他数据库开发 / Access

CREATE TABLE Product(model integer, 
maker varchar(20), 
CONSTRAINT SAND PRIMARY KEY (model), 
CONSTRAINT PANDA FOREIGN KEY (model) REFERENCES PC (model) 
ON DELETE CASCADE ......

怎样装ACCESS - VC/MFC / 数据库

我机子里面没有ACCESS,请问在不重装系统的情况下该如何把它装上,之前我试装过其它版本的SP3 OFFICE,但还是装不上,
请问有什么好办法吗?

安装OFFICE ,选择安装ACCESS就可以呀 。

引用
安装OFFICE ,选择安装 ......

关于ACCESS和MSSQL的问题 - Web 开发 / ASP

有一个数据库里只有2W条数据不到,却有500M那么大,怎么回事啊?是ACCESS的数据库。后来我把ACCESS导入到MSSQL中,也占用了500M左右的空间,如果压缩数据库呢?请高手指点
压缩数据库?能做到么...
期待高人指点 我 ......

dOOdads 连接 ACCESS 的数据分页问题

如题 dOOdads 连接 ACCESS 的数据分页问题!
使用 dOOdads 连接 ACCESS数据的时候 数据分页的问题!
根据这个改吧
C# code:

public static Product[] SearchProducts(string keyword, int categoryID, int pa ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号