Home  >  Article  >  Database  >  Sql Server 常用自定义函数

Sql Server 常用自定义函数

WBOY
WBOYOriginal
2016-06-07 17:37:39994browse

-- select * from [dbo].[SplitToTable]('ADSF','|') -- . ( @SplitString varchar ( max ), @Separator char ( 1 )) ( ( 1 , 1 ), ( max )) ; ; ( max ); ; ( @SplitString )) ( @Separator , @SplitString , @CurrentIndex ); ) ( @SplitString ) + 1 ; (

-- select * from [dbo].[SplitToTable]('ADSF','|') --. ( @SplitString varchar(max), @Separator char(1) ) ( (1,1), (max) ) ; ; (max); ; (@SplitString)) (@Separator,@SplitString,@CurrentIndex); ) (@SplitString)+1; (); () VALUES(@ReturnText); ; END RETURN; END

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article: LevelDb系列之简介Next article:union与union all 的区别