网页学习体会

  • 首页
  • 个人博客
您的位置: 首页  >  IT文章  >  FUNCTION

FUNCTION

分类: IT文章 • 2023-11-29 21:31:07

1,FUNCTION-1

CREATE FUNCTION `vendor_area_child_ids`(rootId INT)
 RETURNS varchar(1000)
BEGIN 
       DECLARE pTemp VARCHAR(1000);  
       DECLARE cTemp VARCHAR(1000);  
      
       SET pTemp = '$';  
       SET cTemp =cast(rootId as CHAR);  
       
       WHILE cTemp is not null DO  
         SET pTemp = concat(pTemp,',',cTemp); 
         SELECT group_concat(id) INTO cTemp FROM pd_vendor_area WHERE FIND_IN_SET(parent_id,cTemp)>0; 
       END WHILE;  
       RETURN pTemp;  
END;

相关推荐

  • inline的C99标准相关原文 WG14/N1256 Annex J (informative) Portability issues WG14/N1256 6.7.4 Function specifiers 6.9 External definitions 其他function specifiers
  • Binary geometry function st_contains given two geometries of different srids: 0 and 4326
  • Property 'submit' of object # is not a function
  • JS function document.onclick(){}报错Syntax error on token "function", delete this token
  • SQL Server创建表,存储过程,function函数脚本规范
  • (转) Android App监听软键盘按键的三种方式 效果图: function 1: function 2: function 3: 改变软键盘右下角确定键样式: 题外话: demo下载地址:
  • decision_function详解
  • CSS过渡时间 基础知识 元素状态 transition-property transitionend transition-duration transition-timing-function transition-delay transition
  • 【ACM】poj_1579_Function Run Fun_201308121654
  • 引用类型 ( 对象定义 )——Function 类型
  • SQL语法
  • 阿里社招-1
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 网页学习体会    备案号:   粤ICP备20002247号