
29/06/2009, 13:13
|
| | Fecha de Ingreso: diciembre-2002 Ubicación: arica 3334
Mensajes: 75
Antigüedad: 22 años, 2 meses Puntos: 0 | |
Respuesta: mysql y control de flujo. ayuda CREATE procedure check_themes(IN id int)
BEGIN
SELECT predeterminado FROM themes WHERE id_theme=id;
CASE predeterminado
WHEN '1' THEN UPDATE themes set predeterminado = '1' where id_theme = 1;
END CASE;
END$$
como lo llamo?
:s
me esta tirando error con call y select
__________________ Rodrigo Lopez |