14 lines
372 B
SQL
14 lines
372 B
SQL
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`root`@`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 ;
|