J
JPS
What kind of a query do I use when all I want to do is get a lst of al
of the tables in a database and their fields. I'm trying to get schema
information and GetSchema give you the field type but not the value.
Theis (below) does not work.
sqlCmd.CommandText = "SELECT * FROM INFORMATION_SCHEMA.COLUMNS";
SqlDataReader sqlDr = sqlCmd.ExecuteReader ( );
of the tables in a database and their fields. I'm trying to get schema
information and GetSchema give you the field type but not the value.
Theis (below) does not work.
sqlCmd.CommandText = "SELECT * FROM INFORMATION_SCHEMA.COLUMNS";
SqlDataReader sqlDr = sqlCmd.ExecuteReader ( );