↧
Answer by Nathan Skerl
Heres my first take, though Id like to see this done using a set based approach. Ill keep at it.Interesting problem!declare @Txt varchar(max), @Limit int set @Txt = 'This is a long sentence and I want...
View ArticleAnswer by WBenhart
I know this is a really old post, but I was looking for the same kind of thing and couldn't find any function to do it. I'm really new to SQL and not really a programmer but I was able to create this...
View ArticleAnswer by richard7za
I'm reviving this as I found Nathan Skerl's script extremely helpful, thanks Nathan! I modified it into an UDF and made a bit more flexible for what I needed it for: CREATE FUNCTION...
View Article