Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create flexable package
Message
From
24/09/2004 08:03:27
 
General information
Forum:
Oracle
Category:
Packages
Miscellaneous
Thread ID:
00940366
Message ID:
00945689
Views:
25
Mark,

Here's my solution that worked. Instead of:
lcWhereString := ' AND (EMP.OUT_DT IS NULL OR EMP.OUT_DT >= pdCurrDate) ';
I did this in stead:
lcWhereString := ' AND (EMP.OUT_DT IS NULL OR EMP.OUT_DT >= TO_DATE(''' || TO_CHAR(pdCurrDate, 'MM/DD/YYYY') || ''', ''MM/DD/YYYY'')) ';
I guess the date variable didn't like being inside my string.

Amazing what a good night's sleep can do.

Thanks again for all the help.
Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform