Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
Set rs = con.OpenSchema(adSchemaColumns)
While Not rs.EOF
Text1.Text = Text1.Text & rs!Table_Name & " - " & rs!COLUMN_NAME & vbCrLf
rs.MoveNext
Wend
Friday, July 24, 2009
Home »
Visual Basic
» Retrieving Tables and Columns in a Database
Retrieving Tables and Columns in a Database
This is how to retrieve tables & columns in the table from a database:
You may be intersted in
Related Posts
Updating Table Containing Xml Column via LinkedServer
If you are trying to update a table containing XML column via Linked Server in SQL Server, and you are not able to, you are not alone. There...
0 comments:
Post a Comment