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
-
mas plugins http://devsnippets.com/reviews/using-jquery-to-style-design-elements-20-impressive-plugins.html http://www.extjs.com/deploy/dev/...
-
Episodios: Épisode 1 : La Libertina de calidad (Le Libertin de qualité) Épisode 2 : La Apuesta de las tres cotillas (La Gageure des tr...
Python3 version alternatives and virtual environments
Solving multiple python installation: sudo update-alternatives --install /usr/ bin /python3 python3 /usr/ bin /python3 .5 1 sudo update...
No comments:
Post a Comment