Rocket® Visual COBOL® (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
To embed an SQL query into a program
- In the OpenESQL Assistant, create an SQL query.
- In the Visual Studio IDE, open the project that contains the program into which you want to embed the SQL.
- Open the appropriate program in the program editor.
- Place your cursor at the point in your program where you want the query to appear.
- On the OpenESQL Assistant, click Insert Query into Current Program
.