mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 13:42:11 +01:00
Add cheatsheet for mysql
check stored procedure or stored function in mysql
This commit is contained in:
parent
cdf573a725
commit
71680c6586
1 changed files with 7 additions and 1 deletions
|
@ -28,4 +28,10 @@ INSERT INTO tbl_name (col1,col2) VALUES(15,col1*2);
|
||||||
UPDATE tbl_name SET col1 = "example";
|
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;
|
||||||
|
|
Loading…
Reference in a new issue