| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.oracle -> PL/SQL: Dynamically passing/changing value in WHERE clause ???
Is there someway I can make a parameter or variable of some sort
to pass into my PL/SQL cursor shown below to change the value of the
date without having to rebuild the package each time??
Can I alter this value dynamically ??
and trx_date > '31/MAR/04'
any ideas would be appreciate
thanks in advance
George Lewycky
CURSOR c_invh IS
SELECT CUSTOMER_TRX_ID,
BILL_TO_CUSTOMER_NUMBER,
substr(BILL_TO_CUSTOMER_NAME,1,45) customer_name,
DEFAULT_BILL_ATTN, BILL_TO_ADDRESS1, BILL_TO_ADDRESS2, BILL_TO_CITY, BILL_TO_STATE, BILL_TO_POSTAL_CODE, BILL_TO_COUNTRY, BILL_TO_COUNTRY_NAME,
PRINTING_ORIGINAL_DATE, PRINTING_LAST_PRINTED, PRINTING_OPTION, PRINTING_PENDING, PRINTING_COUNT
![]() |
![]() |