MySQL Forums
Forum List  »  Stored Procedures

Re: stored procedure adds empty fields when creating new user
Posted by: Peter Brawley
Date: February 16, 2022 10:47AM

Your sproc params have the same names as the table columns they reference, so MySQL has no way to distinguish them.

Adopt a naming convention for routine params, eg always prefix with 'p', and stick to it.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: stored procedure adds empty fields when creating new user
90
February 16, 2022 10:47AM


Sorry, only registered users may post in this forum.

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.