Answer the question
In order to leave comments, you need to log in
Selecting a table from a database, why doesn't it work in a query?
The name of the table at me is hammered in a variable. Tables as you understood are always different. The prepared query defines the desired table. For this I used this:
WITH
New_table AS (SELECT table_name
FROM information_schema.tables
WHERE table_name=?;)
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question