I have TEST table in database A,B and C.
I choose the database from the listbox.
I need the db to be passed to the query below :
SELECT DISTINCT K.MAXCOM_ID FROM A.DBO.TEST
The A.DBO.TEST , the A is dynamic and can be B or C.
Please say whether it is possible.
Thanks in advance.