displaying the real sql statement in sm
I need to have the real SQL statement in SM which is executed against the database.
I want to use it from ScriptLibrary.
For example: if I build a query on device table: "asset.tag #"33" it is converted to "select * from device2m1 where asset_tag like "33%"
So I need to use the second one in an external system. called from SM.
Can anyone suggest something?