.mdf files and cross-database queries?

I was wondering how I create a crosstab query through C # when databases are not bound (development)

I know the .mdf files are temporarily tied to the database at runtime - but this is indeed the source of the confusion. If your DB connections are all about database files that make them dynamically attach (using Express files and SQL sql files), then how should you do something with multiple DBs?


source to share

1 answer

I would assume you didn't. I recommend attaching the database files to the instance and connecting directly to the database.

This will be the only way to make the cross-database chain work anyway.



All Articles