MySQL Forums
Forum List  »  Spanish

Error: 1064 Cuando al crear una función en Query Browser
Posted by: Abraham Padilla
Date: September 14, 2006 09:38AM

Tengo MySql 5.0 y Windows 2000 Professional spack 4, e intento desarrollar en MySql Query Browser.

Si alguien me puede ayudar:

code:

CREATE FUNCTION Quoter.fnMultiplica(i int, j int) RETURNS int(11)
begin
declare mul int; #Error Aqui
set mul = j * i;
return mul;
end


Error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int' at line 3

Options: ReplyQuote


Subject
Views
Written By
Posted
Error: 1064 Cuando al crear una función en Query Browser
4134
September 14, 2006 09:38AM


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.