Está en la página 1de 1

CREAR FUNCIONES

USANDO HEIDISQL

1 CLIC EN: BD, CREAR NUEVO, RUTINA

ALMACENADA

2 EL ENCABEZADO (OPCIONES)

3 datos importantes: el nombre , el tipo de


procedimiento y el tipo de dato a
retornar(regresar)

3 LOS PARAMETROS

En la pestaña Parametros agrega los


parametros y su tipo de dato de entrada

4 EL CUERPO

entre begin y end, escribimos el código

5 COMPRUEBE

SU FUNCION

EN LA PESTAÑA
CONSULTA*
ESCRIBA SELECT
SUMA(2,4)

También podría gustarte