I agree with davorg in that I'd strongly recommend against using a placeholder in the FROM clause. The reason? The replacement string gets quoted, so you'll end up with "select col1, col2 from 'schema.table' ...". I don't know about all databases, but that syntax doesn't work in MySQL or Oracle.
---
It's all fine and dandy until someone has to look at the code.