To embed an SQL query into a program

  1. In the Eclipse IDE, open the project that contains the program into which you want to embed the SQL.
  2. Open the appropriate program in the program editor.
  3. In the OpenESQL Assistant, create an SQL query.
  4. Click Add query to temporary fileInsert query into program.
  5. In the program editor, place your cursor at the point in your program where you want the query to appear; then right-click and select Paste.