MySQL Forums
Forum List  »  Stored Procedures

Re: Stored Procedure - SQL Parameters
Posted by: Peter Brawley
Date: August 08, 2014 02:20PM

There's one way to pass params to an sproc, and the time it takes is trivial compared with how long a query takes.

Note that if emp_id is a column name in tblXeroContacts, the query will not behave as expected---ie always using a param-naming convention.that makes such errors impossible.

To investigate why the query is slow, run explain extended on it, and post the result along with the result of Show Create Table tblXeroContacts.

Options: ReplyQuote


Subject
Views
Written By
Posted
1825
August 08, 2014 11:36AM
Re: Stored Procedure - SQL Parameters
1245
August 08, 2014 02:20PM


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.