您好,欢迎光临本网站![请登录][注册会员]  

搜索资源列表

  1. sqlserver自定义函数

  2. --计算当前月的实际天数 Create FUNCTION dbo.CalcDaysOfMonth (@time varchar(6)) RETURNS int AS BEGIN DECLARE @Days int DECLARE @Month int DECLARE @Year int SET @Year=SUBSTRING(@time,1,4) SET @Month=SUBSTRING(@time,5,6) if( @Month='1' OR @Month='3' OR @Month='5'
  3. 所属分类:其它

    • 发布日期:2010-02-08
    • 文件大小:34816
    • 提供者:koumingjie
  1. sqlserver自定义函数

  2. --计算当前月的实际天数 Create FUNCTION dbo.CalcDaysOfMonth (@time varchar(6)) RETURNS int AS BEGIN DECLARE @Days int DECLARE @Month int DECLARE @Year int SET @Year=SUBSTRING(@time,1,4) SET @Month=SUBSTRING(@time,5,6) if( @Month='1' OR @Month='3' OR @Month='5'
  3. 所属分类:其它

    • 发布日期:2010-02-23
    • 文件大小:61440
    • 提供者:koumingjie
  1. SQL Server 自定义字符串分割函数

  2. 一、按指定符号分割字符串,返回分割后的元素个数,方法很简单,是看字符串中存在多少个分隔符号,然后再加一,是要求的结果(标量值函数) 1 create function Func_StrArrayLength 2 ( 3   str varchar(1024),  –要分割的字符串 4   split varchar(10)  –分隔符号 5 ) 6 returns int 7 as 8 begin 9   declare location int 10   declare s
  3. 所属分类:其它

    • 发布日期:2021-01-21
    • 文件大小:32768
    • 提供者:weixin_38697940
  1. SQL Server 自定义字符串分割函数

  2. 一、按指定符号分割字符串,返回分割后的元素个数,方法很简单,是看字符串中存在多少个分隔符号,然后再加一,是要求的结果(标量值函数) 1 create function Func_StrArrayLength 2 ( 3   str varchar(1024),  –要分割的字符串 4   split varchar(10)  –分隔符号 5 ) 6 returns int 7 as 8 begin 9   declare location int 10   declare s
  3. 所属分类:其它

    • 发布日期:2021-01-21
    • 文件大小:32768
    • 提供者:weixin_38604916