Assigning JSP templates  Application labels

Chapter 3: Developing Applications

@OP parameters

You can insert an @OP parameter into the SQL query of a database. This dynamically modifies the query string submitted to the database.

StepsInserting @OP parameters

  1. Create a new database element:

  2. When the Application Builder appears, right-click in either frame and select New Database Element from the pop-up. You can also click the down arrow next to the Add icon and select Database Element.

  3. Complete the Database Element Definition:

    NoteThis example uses an Adaptive Server database Enterprise.

  4. Select the Variable option next to the Header parameter and enter “%CNN%'” into the Default Value input field.

  5. Click Next in the upper-right corner.

  6. Enter an element name such as “DB Search” and click Finish.

  7. In the Application Builder, click Save to display the Application Save window.

  8. Complete the fields and click OK.

  9. Click Finish in the upper-right corner. You should see a pop-up that displays “Application saved successfully.”

  10. Click OK to close the window, then click Close in the upper-right corner.





Copyright © 2005. Sybase Inc. All rights reserved. Application labels

View this book as PDF