DBAsupport.com Forums - Powered by vBulletin
Results 1 to 9 of 9

Thread: decode (need a sort of dynamic stuff or so)

Threaded View

  1. #9
    Join Date
    Feb 2003
    Posts
    10
    Hi DaPi,

    Thanks for your feedback.
    Just sorted it out.
    One has to use a late binding here.
    This one I've encountered myself once. The problem is your way of using bind variables. Rather try the following (late binding):

    ......
    53: AND cd.NAMEID=n.NAMEID
    54: AND STOREDATE >= :1 AND STOREDATE <= :2
    55: AND CONAME= :3
    56: AND MATURITY= :4
    57: GROUP BY storedate';
    58: OPEN ChartOutput FOR l_query USING p_StoreDateStart, p_StoreDateEnd, p_CompanyName, p_Maturity;

    Cheers,
    Alex.
    Last edited by Shurik12; 03-05-2003 at 06:17 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width