execute sql from the Caché Terminal command line , prompt error "<METHOD DOES NOT EXIST> *Execute,%SYSTEM.SQL"
hi
I execute sql from Terminal
SET result=$SYSTEM.SQL.Execute("SELECT TOP 5 name,dob,ssn FROM Sample.Person")
but I got error "<METHOD DOES NOT EXIST> *Execute,%SYSTEM.SQL"
Why?
Thanks
Indicates that your version is below 2011.x
See documentation:
2010.2 (absent)
2011.1 (present)
thanks! for 2010 version, ##class(%SQL.Statement).%ExecDirect() for executing sql