![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
hnujunjie
这个作者很懒,什么都没留下…
展开
-
MySQL schema
MySQL中schema和database是同义词; oracle中schema是database的一部分,表示the tables and other objects owned by a single user; SQL Server中database是一个大仓库;schema是仓库中的厂房,user是厂房总管;table和函数、存储过程、触发器等其他对象是厂房内的物品; ...原创 2019-11-09 09:44:22 · 521 阅读 · 0 评论 -
MySQL存储过程及函数
1.存储过程 delimiter $ drop procedure if exists p1 create procedure p1(idn varchar(30)) begin select name from t1 where id = idn; end; delimiter ; 2.函数 delimiter $ drop function if exists f1 create funct...原创 2019-11-07 12:50:35 · 103 阅读 · 0 评论