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)
-
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...
-
Image to Tex [1] https://latexconvert.com/ [2] https://www.img2latex.xyz/convert [3] https://ai-math.io/image-to-latex [4] https://image2lat...
OS Emulation on Ubuntu 20
sudo apt update && sudo apt install qemu-system-x86 # Create a 1GB disk image qemu-img create -f qcow2 win95.qcow2 1G qemu-i...

No comments:
Post a Comment