Closed jnystrom closed 6 years ago
I dont think this is possible, but wanted to make sure. Can I pass in a dynamic table name as a var ($1) and use that in a .sql file (select * from $1 where test = $2) ?
select * from $1 where test = $2
You can!
Can I use that syntax in a massive .sql file? Will play with it, thanks.
I dont think this is possible, but wanted to make sure. Can I pass in a dynamic table name as a var ($1) and use that in a .sql file (
select * from $1 where test = $2
) ?