I need to specify the database name dynamically. I thought I can get away with doing something like "select * from [db_name].[table_name]" but apparently MS SQL does not work that way. Is there another way to specify the database name in an SQL query?
I could also probably switch databases with a "use" statement, but how do I do this with a SqlConnection?
I could also probably switch databases with a "use" statement, but how do I do this with a SqlConnection?
Comment