Quantcast
Viewing all articles
Browse latest Browse all 16689

Passing table name as parameter to Report Designer

Hi everyone,

I am struggling to figure out how I can use a parameter in report designer for a mySQL table name. I have a transformation that I am kicking off command line, and am passing in a handful of parameters. Everything works great for anything I use in my SQL where clause, but as soon as I try anything like "select * from ${TABLE_NAME} where id = ${ID}" the query fails. If I hardcode the table name, the query works, but my table names will be changing every time.

If it's not possible for some reason, I need to figure out how to select all the information in spoon and pass the results to PRD. Any help would be greatly appreciated, thanks!

Viewing all articles
Browse latest Browse all 16689

Trending Articles