BusinessObjects Board

How to call a global variable in to a procedure?

Hi All

I need to call a value of global variable in to a parameter ofa procedure.

In Detail i will give an example:-

$G_Date = sysdate;

i have to call the value of $G_Date in the procedure.

I have tried by calling

sql(‘phy_audit’,‘begin sh_par(’[$G_Date]’);end;’ );

when executed it throwed a error as ORA-01861: literal does not match format string

Can anyone help me in solve this

Thanks in advance
Shravan


shravankumar (BOB member since 2010-08-17)

Don’t use escape character.


kdspvp (BOB member since 2007-10-15)

The date gets converted to a string in a different format than Oracle expects.


Werner Daehn :de: (BOB member since 2004-12-17)