Stored Procedures en MySQL
De sintaxis que me esta dando MySQL
CREATE PROCEDURE agregardatos
(
IN param1 VARCHAR(15),
IN param2 VARCHAR(15),
IN param3 VARCHAR(15),
IN param4 VARCHAR(15),
IN param5 VARCHAR(20),
IN param6 INT(8) ,
IN param7 INT(8) ,
IN param8 TEXT
)
Begin
INSERT INTO ingresardatosVIEW
(
PrimerApellido,
SegundoApellido,
PrimerNombre,
SegundoNombre,
Correo,
Celular,
TelefonoCasa,
Referencia
)
Values
(
Param1,
Param2,
Param3,
Param4,
Param5,
Param6,
Param7,
Param8
) ;
END
GO
#1064 - 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 '' at line 35
CREATE PROCEDURE agregardatos
(
IN param1 VARCHAR(15),
IN param2 VARCHAR(15),
IN param3 VARCHAR(15),
IN param4 VARCHAR(15),
IN param5 VARCHAR(20),
IN param6 INT(8) ,
IN param7 INT(8) ,
IN param8 TEXT
)
Begin
INSERT INTO ingresardatosVIEW
(
PrimerApellido,
SegundoApellido,
PrimerNombre,
SegundoNombre,
Correo,
Celular,
TelefonoCasa,
Referencia
)
Values
(
Param1,
Param2,
Param3,
Param4,
Param5,
Param6,
Param7,
Param8
) ;
END
GO
#1064 - 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 '' at line 35
1 Respuesta
Respuesta
1