Add cheatsheet for mysql

check stored procedure or stored function in mysql
This commit is contained in:
Michihito Shigemura 2017-11-28 22:12:20 +09:00 committed by GitHub
parent cdf573a725
commit 71680c6586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,3 +29,9 @@ UPDATE tbl_name SET col1 = "example";
# Basic DELETE Statement # Basic DELETE Statement
DELETE FROM tbl_name WHERE user = 'jcole'; DELETE FROM tbl_name WHERE user = 'jcole';
# To check stored procedure
SHOW PROCEDURE STATUS;
# To check stored function
SHOW FUNCTION STATUS;