14 lines
370 B
SQL
14 lines
370 B
SQL
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`vn`@`localhost` PROCEDURE `vn`.`deviceProduction_getnameDevice`(vAndroid_id VARCHAR(64))
|
|
BEGIN
|
|
/**
|
|
* Selecciona el id del dispositivo que corresponde al vAndroid_id.
|
|
*
|
|
* @param vAndroid_id el número android_id del dispositivo
|
|
*/
|
|
SELECT dp.id
|
|
FROM deviceProduction dp
|
|
WHERE dp.android_id = vAndroid_id;
|
|
END$$
|
|
DELIMITER ;
|