mysqll – Show privileges

  mysql> show privileges; | Privilege | Context | Comment | | Alter | Tables | To alter the table | | Alter routine | Functions,Procedures | To alter or drop stored functions/procedures | |…

mysql – Procedura – ukázka

  CREATE DEFINER=`autor`@`localhost` PROCEDURE `proc_wpfb_kategorie`(IN `in_cat_id` INT, OUT `kategorie` VARCHAR(255)) begin   declare loc_cat_id INT DEFAULT 0;       declare loc_cat_parent INT DEFAULT 999999;       declare kategorie_temp varchar (255) default “;   set loc_cat_id…