 悬赏园豆:20
                [已关闭问题] 
            
                    关闭于 2011-10-11 13:16
                悬赏园豆:20
                [已关闭问题] 
            
                    关闭于 2011-10-11 13:16
                 
        我 这样写竟然 查找不到
select patindex(cast ((select top 1 viewimg from softdown_softinfo where softviewimg is not null) as nvarchar(max)),char(13))
--viewimg 是 ntext 类型
我写错了
charindex(char(10)+char(13),'字符串') 是这样用的,我用反了