Can you use a cell value as a table name parameter for a SQL query?
Posted: Thu 20 Oct 2016 22:54
I'm using MS Excel to get data from a PostgresSQL database through ODBC.
I wonder if it is possible to use a cell value to reference a table name for my queries. For example:
I'd like to get the table name "users" value from a cell in the spreadsheet.
Is this possible / easy to set up?
Thanks!
I wonder if it is possible to use a cell value to reference a table name for my queries. For example:
Code: Select all
select name from users where id=1
Is this possible / easy to set up?
Thanks!