Dim sqlConn As New SqlClient.SqlConnection("Data Source=C8067;Initial Catalog=msdb;Integrated Security=True")
Dim cmd As New SqlClient.SqlCommand("select TABLE_NAME from INFORMATION_SCHEMA.TABLES where TABLE_TYPE = 'BASE TABLE'", sqlConn)
SELECT sobjects.name FROM sysobjects sobjects WHERE sobjects.xtype = 'U'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)