You can not use parameter the way you're using. The SELECT * from tableName should be send as is, e.g.
sqlCommand = 'select * from ' + tableName + ';'
You can probably send several commands at once and use multiple result sets (say, do 10 tables in one command).
If it's not broken, fix it until it is.
My Blog