mysql - #1064-error in sql syntax -


I am trying to validate a user through my user name and password through a mySQL process < / p>

  Delimiter // validate function_gator (username, password_1) return char (1) start the DETERMistimate reserved rate (1); If present (select * from logificable where userid = username_1 and password = password_1) then set = '1'; end if; Retrace; the ending; // Delimiter;   

But I'm getting error # 1064 error in SQL syntax.

  return char (1)    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -