17 lines
267 B
MySQL
17 lines
267 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`department_getHasMistake`()
|
||
|
BEGIN
|
||
|
|
||
|
/**
|
||
|
* Obtiene los sectores a los cuales les ponemos errores
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
SELECT id, name
|
||
|
FROM department
|
||
|
WHERE hasToMistake <> FALSE;
|
||
|
|
||
|
|
||
|
END$$
|
||
|
DELIMITER ;
|