ITeye博客

sqlserver indexOf lastIndexOf

ch_dj · 2015-01-13 13:53 · 数据库 · 数据库 · Markdown

//sqlserver lastIndexOf select len(c_attachFilePath)+1-charindex('/',reverse(c_attachFilePath)) from .dbo.HDZX_QUESTION where is not null

//sqlserver indexOf select CHARINDEX('.',c_attachFilePath) from .dbo.HDZX_QUESTION where is not null

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。