Using CSPs  Wildcard-character search patterns

Chapter 6: Using Stored Procedures

Coding instructions

This section includes general coding information that applies to all CSPs.


Parameters

CSPs have optional and required parameters. Required parameters must have values supplied; optional parameters default to predefined values.

The following rules apply to CSP parameters:


Syntax

Using the DirectConnect DB2 access service, a client application can initiate a CSP by issuing the following statement:

exec sp_name parm1, parm2, . . .

where:

Using the DirectConnect Transaction Router Service or from a two-tier, gateway-less environment, a client application can initiate a CSP by issuing the following statement:

exec|execute sp_name parm1, parm2, . . .

where:


Coding examples

You can execute CSPs with a language command or through an RPC event.

You can specify the parameters for a CSP in one of the following forms:


Table name, owner, and qualifier parameters

This section explains how the parameters table_name, table_owner, and table_qualifier are used in this product:





Copyright © 2005. Sybase Inc. All rights reserved. Wildcard-character search patterns

View this book as PDF