I don't fully understand you're problem but to get rid off the '' around the string you should give
select * from zomg_$tableName$ a try.
I don't fully understand you're problem but to get rid off the '' around the string you should give
select * from zomg_$tableName$ a try.