My tables are little more complex but the example below explains my problem in more simple terms.
Table1
test_id
test_name
Table2
table2_id
test_id
test_questionyes1
test_questionyes2
I would like to select the distinct test_id's where all the rows in Table2 have questionyes1 set to 1 and...
I have an SQL server instance and have two databases (this is not avoidable due to the client) I want to be able to use one connection string to access both and then in the queries use:
databasename.dbo.tablename
to access the tables. What connection string will work and do I need to change...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.