2009年4月22日

SQL分割字符串函数

摘要: --SQL分割字符串函数的调用查询语句--输出结果为数据表Declare @strPrimaryKey nvarchar(500)set @strPrimaryKey='1,2,3,4,5,6,7'Declare @strPlitChar nvarchar(10)set @strPlitChar=','Declare @strReturn nvarchar(500)select * from dbo.fun_SplitStr(@strPrimaryKey,@strPlitChar)--SQL分割字符串函数CREATE FUNCTION dbo.fun_get_S 阅读全文

posted @ 2009-04-22 19:03 风灵溪清 阅读(180) 评论(0) 推荐(0) 编辑

导航