Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Specify a WHERE clause – PB Docs 2019 – PowerBuilder Library

Specify a WHERE clause – PB Docs 2019

Specify
a WHERE clause

Now you specify a WHERE clause using the retrieval argument to
retrieve a specific customer.

  1. Click the Where tab in the stack.

    The Where view displays.

  2. Click in the box below Column in the Where view.

    A down arrow displays, and the box becomes a drop-down list
    box.

  3. Select “customer”.”id”.

    Your selection displays immediately below the Column heading.
    An equal sign (=) appears in the Operator box. This is correct, so
    do not change it.

    pbc12w06.gif
  4. Right-click in the box below the Value column header in the
    Where view.

    Select Arguments from the pop-up menu, select :cust_id, and
    click Paste.

    pbc12w07.gif
  5. Click the Syntax tab in the stack.

    The Syntax view displays the modified SELECT statement.

  6. Scroll down until you see the generated WHERE clause.

    You have now created a complete SQL SELECT statement that
    retrieves data from several columns in the customer table where the
    id column is equal to an argument that will be supplied during
    execution.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x