Re: Result consisted of more than one row
Posted by:
Rick James
Date: March 19, 2014 05:27PM
If REQUESTDATA.mod_date is DEFAULTing to CURRENT_TIMESTAMP, then why not do this:
SET @now := CURRENT_TIMESTAMP();
INSERT ... (...)
VALUES
(..., @now)
SET p_mod_date := @now;
That avoids the extra SELECT.
Subject
Views
Written By
Posted
10363
March 18, 2014 06:49AM
Re: Result consisted of more than one row
1956
March 19, 2014 05:27PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.