mysql函数

 1、mysql内置函数

 

2、自定义函数

  SQL不允许在函数里进行查询操作(有结果集的)

  但允许以下情形:

  declare a int;

  select nid into a from student where name='alex'

  调用函数:

  select 函数名(参数)

posted on 2020-01-17 10:41  屾哥  阅读(106)  评论(0)    收藏  举报

导航