Hi
I have a job where I’m getting a TXT file which contains URN’s and need to do a select based on each URN to get values from a SQL table and insert them into another temp SQL table. I was thinking it would be much more efficient to do this within a workflow script rather than a datamapper\SQL module within workflow as I don’t have to keep opening and closing the connection to the SQL table.
However I can’t find\figure out the syntax, the closest I found was the below which can be used within datamapper but obviously db isn’t defined so this doesn’t work. (I know there is much more code required here to loop through the TXT file etc but just wanted to do a simple one for now) Could someone point me in the right direction here.