Say I have code that executes a sql create table statement from outside my code, like so:
SqlConnection connection = new SqlConnection(aConnectionString);
connection.Open();
string createTable = System.IO.File.ReadAllText("CreateTable.sql");
SqlCommand command = new SqlCommand(createTable, connection);
command.ExecuteNonQuery();
Is it possible to determine the name of the newly created table WITHOUT parsing it directly from the sql statement string?