MySQL Forums
Forum List  »  Newbie

Re: What's wrong with this insert?
Posted by: Rick James
Date: February 09, 2013 12:30AM

The body can be further simplified:

BEGIN
INSERT INTO tblLogEntry ( le_let_id, le_msg, le_subject, le_ipAddress,
le_host, le_referrer, le_UserAgent,
le_isBot )
VALUES
( p_le_let_id, p_le_msg, p_le_subject, p_le_ipAddress,
p_le_host, p_le_referrer, p_le_UserAgent,
IFNULL(p_le_isBot, 0) );
END;

Options: ReplyQuote


Subject
Written By
Posted
February 07, 2013 12:14PM
Re: What's wrong with this insert?
February 09, 2013 12:30AM


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.