![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
tianzongnihao
这个作者很懒,什么都没留下…
展开
-
mysql基本语法
-----------mysql--------基本语法-------------------- 一.创建存储过程 create procedure sp_name() begin ......... end 二.调用存储过程 1.基本语法:call sp_name() 注意:存储过程名称后面必须加括号,哪怕该存储过程没有参数传递 三.删除存储过程 1.基本语法:原创 2017-02-17 15:38:33 · 338 阅读 · 0 评论 -
mysql实现序列号
SELECT @rownum:=@rownum+1 AS rownum, table_name.* FROM (SELECT @rownum:=0) r, table_name 相当于oracle的rownum原创 2017-02-17 16:40:43 · 1823 阅读 · 0 评论 -
mysql:给用户(账号)付权限方式
遇到了 SQLException: access denied for @'localhost' (using password: no) 解决办法 grant all privileges on *.* to joe@localhost identified by '1'; flush privileges; 拿 j原创 2017-02-21 10:51:13 · 719 阅读 · 0 评论