Just use Select * from tablename.
Yes, but in this way I take the data from the table of the single DB.
I would like to change the DB according to the selected value in the parameter.
In the parameter I have inserted the list of all the DB present on the server
Hi M Ceresa
No. it will not connect like what you tried now. If you are using sql server then go with sp.