balasun Posted April 20, 2009 Share Posted April 20, 2009 Hello all, I need to excute the oracle query like Below: "begin myfriends_data.get_multi_rows_details(:StartDate, :EndDate, :filed3, :filed4, ); end"; I give the StartDate value as '01/01/2009'; But when i execute the query,i got the error like Below: ORA-01843: not a valid month ORA-06512: at line 2 Pls help me how to solve the problem. Thanks, Link to comment https://forums.phpfreaks.com/topic/154891-help-me-in-php-oracle/ Share on other sites More sharing options...
roydude Posted November 20, 2009 Share Posted November 20, 2009 Hi Balasun, This is an old topic, but I thought I'd post a reply in case someone needs it at some stage. At a guess I'd say you need to use a date format mask around the date you're supplying - to_date('21/02/2009', 'DD/MM/YYYY') Link to comment https://forums.phpfreaks.com/topic/154891-help-me-in-php-oracle/#findComment-961808 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.