I insert a record in Oracle table XXX (This table not exists in my database):
$sql =qq{ INSERT INTO XXX VALUES('BYE', SYSDATE) };
$sth=$dbh->prepare( $sql );
$sth->execute;
During the execute I have this error in display:
DBD::Oracle::st execute failed: ORA-00942: table or view does not exist (DBD ERROR: error
possibly near <*> indicator at char 13 in ' INSERT INTO <*>XXX VALUES('BYE', SYSDATE) ')
[for Statement " INSERT INTO XXX VALUES('BYE', SYSDATE) "] at d:\perl\job\pgm_3.pl line 23.
I don't want to display the error!
How can I do?
In database connection I resolved this with {RaiseError => 1}.
Best Regards
rfarabi
(13)
]
