Yes, that’s the solution:


SELECT <@LITERAL '@@identity'>



From: Wayne Irvine [mailto:[email protected]]
Sent: Saturday, July 25, 2015 7:13 PM
To: [email protected]
Subject: Re: TeraScript-Talk: escaping @@varname shorthand



Would <@LITERAL> be usable in this situation?



Wayne



On 26 Jul 2015, at 8:56 am, Ian Evans <[email protected] 
<mailto:[email protected]> > wrote:



Hi,

I need to use a special sql name (@@IDENTITY) in a sql action but this
name gets rendered by TeraScript as an empty variable. Is there a way to
escape it such that TeraScript does not try to process it, and the text
"@@IDENTITY" makes it to the sql server as part of the statement?

Thanks,
-Ian



----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
<mailto:[email protected]>  with "unsubscribe terascript-talk" in the 
body.



Wayne Irvine
w: http://www.byteserve.com.au/
p: +61 2 9960 6099
m: 0409 960 609





  _____

To unsubscribe from this list, please send an email to [email protected] 
<mailto:[email protected]>  with "unsubscribe terascript-talk" in the 
body.




----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to