SQL函数:提取数字,提取英文,提取中文,过滤重复字符,过滤重复字符2
--提取数字
IF OBJECT_ID('DBO.GET_NUMBER2')
IS NOT
NULL
DROP
FUNCTION DBO.GET_NUMBER2
GO
CREATE
FUNCTION DBO.GET_NUMBER2(@S
VARCHAR(100))
RETURNS
VARCHAR(100)
AS
BEGIN
WHILE
PATINDEX('%[
转载
2012-03-23 10:33:12 ·
624 阅读 ·
0 评论