SQL CREATE Table Name with System defined variable
Hello all,
I am still learning CACHE and have below question.
In one of my ZEN method i am creating a table using
Does any one knows how to concatenate a $USERNAME or any content of a variable to the name of table ?
&sql(CREATE TABLE xxxxx_$USERNAME(TNAMESPACE CHAR(100),TINTERFACE CHAR(100))) is not WORKING.
Thanks,
Jimmy Christian.
Thank you . This is perfect !
I just tweaked it little bit
s ret=##class(%SQL.Statement).%ExecDirect(,.testingddl)