Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

How to Apply $criteria attribute in FROM clause

$
0
0
Code:

<customSQL>
UPDATE schedules
SET name = entity.name
FROM $criteria.tableName AS entity
WHERE entity.entityId = entityId
</customSQL>

Hi, I'm trying to make a generate custom sql in my datasource descripter file. However, when an error is raised because the FROM clause does not expect a criteria velocity statment.

My question is: How can I include a variable with the FROM clause so I don't have to write multiple operations id for different tables.



"v8.2p_2014-04-18/TriaEdition Deployment\"

FireFox 37+

Viewing all articles
Browse latest Browse all 4756

Trending Articles