php获取数据库的表的数据 SQL Server数据库对象信息的获取[4]
![php获取数据库的表的数据 SQL Server数据库对象信息的获取[4]](http://img.zhputi.com/uploads/9850/985075b80aab8a5d915d4c593a4b53f433204.jpg)
SQL Server数据库对象信息的获取[4]
End SubPrivate Sub cob_sqltable_Click()
点击 数据表信息 列表框
Dim oTable As SQLDMO Table
Set oTable = oCurrentDB Tables(cob_sqltable List(cob_sqltable ListIndex))
If oCurrentTable Is Nothing Then
Set oCurrentTable = oTable
Else
If oCurrentTable Name = oTable Name Then
Exit Sub
End If
Set oCurrentTable = Nothing
Set oCurrentTable = oTable
End If
FillEmptyColsToIndex (True)
If cob_sqlrecord ListCount > Then
cob_sqlrecord ListIndex =
End If
End Sub
Private Sub FillEmptyColsToIndex(bFill As Boolean)
获得数据表中的所有字段的信息
If bFill = True Then
Dim oCol As SQLDMO Column
Set oCol = New SQLDMO Column
For Each oCol In oCurrentTable Columns
cob_sqlrecord AddItem oCol Name & & oCol DataType
把字段名称和字段属性添加到字段信息列表框中
Next oCol
End If
End Sub
lishixinzhi/Article/program/SQLServer/201311/22458相关文章
- 数据库sql知识点总结 数据库知识
- 数据库的基本对象是什么 Oracle中关数据库对象的统计分析
- 数据库的四种特性 简述数据,数据库,数据库管理系统,数据库系统的概念
- 数据库怎么进行数据分析 解析数据库的事务
- 数据库字段什么情况要索引 PHP以指定字段为索引返回数据库所取的数据数组
- sql数据库查找数据 SQLServer:基于WEB的数据库查询
- sql数据库表导入导出 Oracle数据库导入导出方法的总结
- php获取数据库的表的数据 SQL Server数据库对象信息的获取[1]
- 数据库中的冗余数据是指可 数据库进阶:数据库管理员日常工作中必备的sql列表[3]
- 数据库对象包括哪些 Oracle 数据对象分析
爱学记

微信收款码
支付宝收款码