Thank you for help,
Regards chris
Not sure if this is what you are looking for. Actually once you have
established the connection, you can change hit other databases within the
same server using the query (provided that the user that you are using has
the appropriate permission). For select statment you can: select * from
[database_name].dbo.[table_name]. If you want to execute a stored procedure
that is on a different database exec
[database_name].dbo.[stored_procedure_name]. So you are not really bound to
the initial connection that you've made. Unless off-course the user that you
are using to connect to the database only permits you to that particular
database.
Hope that's helpful.
Thank you
Lucas