FROM " + PhysicalTableName
Sorry for not being a direct answer, but why do you need this? Maybe you should look at the this component.
Is the physical table outside you OutSystems platform? Have you tried to use the Integration Studio to connect this table to you platform instead?
If you want to run a query on a physical tablename, you should use the following advanced query:
SELECT column_name FROM os@PhysicalTableName
Where you strip the first two characters from the input parameter PhysicalTableName.
For instance: ossys_entity will be sys_entity, because the ossys, oslog, etc. are reserved words and this way you can bypass these.
Guys the question is over a year old. I'm pretty sure the OP doesn't need an answer anymore :).
@Remco: that's a cool solution for querying an ossys table. I think I used a declare + inline parameter, but this is easier.
Infact Kilian, but maybe it can help others.