What is the procedure to create my own commercial?

Trying to create a mysql stored procedure, what is wrong with my syntax?

  • Hello, here is my attempt to create a stored procedure for mysql. USE myDb; CREATE procedure insertSupplier(IN name VARCHAR(255), IN description TEXT, IN categories VARCHAR(255), IN ...show more

  • Answer:

    For starters, you're not using the correct syntax for creating a procedure. You need to change the delimiter since you will need to use semi-colon's within your procedure.

JUZ5HXJQ3LBCMQAXYXJ52FWT2U at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Did you change the delimiter before and after your procedure declaration? e.g. DELIMITER // CREATE PROCEDURE ... BEGIN ... END // DELIMITER ; If you didn't do that, MySQL attempts to interpret each statement in the procedure individually.

Ray

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.