Thursday, March 07, 2013
mySQL Store procedures
CREATE DEFINER = 'root'@'%' PROCEDURE `queryf2`(
IN id varchar(8)
)
NOT DETERMINISTIC
CONTAINS SQL
SQL SECURITY DEFINER
COMMENT ''
BEGIN
START TRANSACTION;
SELECT * FROM PRODUCTOS_STOCK ps where ps.IdSucursal=id;
COMMIT;
END;
references:
[1] Stored Procedure that returns random rows from a table
http://www.it-iss.com/mysql/mysql-stored-procedure-that-returns-random-rows-from-a-table/
Subscribe to:
Post Comments (Atom)
-
Sunedu Renacyt 1) https://ctivitae.concytec.gob.pe/appDirectorioCTI/ 2) http://regina.concytec.gob.pe 3) https://www.gob.pe/9648-ser-p...
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
Running apps
Runtastic (I uninstalled because force to update your device - Internet connection problems) Runkeeper (Currently testing) Runna (Complex,...
No comments:
Post a Comment