docs.intersystems.com
InterSystems IRIS Data Platform 2019.2  /  Using ObjectScript

Using ObjectScript
Embedded SQL
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


You can embed SQL within ObjectScript on InterSystems IRIS Data Platform™.
Embedded SQL
Embedded SQL allows you to include SQL code within an ObjectScript program. The syntax is &sql( ). For example:
  &sql( SELECT Name INTO :n FROM Sample.Person )
  WRITE "name is: ",n
For further details, refer to the Using Embedded SQL chapter in Using InterSystems SQL.


Previous section           Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-09-20 05:36:43