随笔分类 - 函数,存储过程收集
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--LABEL_PROC:BEGIN--任务表关联时使用的key值DECLAREv_faxkeyVARCHAR(50)default'';--任务表中的传真状态DECLAREv_taskstateintd...
阅读全文
摘要:create function fun_getPY(@str nvarchar(4000)) returns nvarchar(4000) as begin declare @word nchar(1),@PY nvarchar(4000) set @PY='' while len(@str)>0 begin set @word=left(@str,1) --如果非汉字字符,返回原字符 set @...
阅读全文