system
#1
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)
system
#2
Don’t use escape character.
kdspvp (BOB member since 2007-10-15)
system
#3
The date gets converted to a string in a different format than Oracle expects.
Werner Daehn (BOB member since 2004-12-17)