Megha P
SSCommitted
Points: 1976
More actions
November 28, 2014 at 12:01 am
#1761363
check below article
http://www.sqlservercentral.com/articles/Tally+Table/72993/
arrjay
Hall of Fame
Points: 3455
November 28, 2014 at 4:05 am
#1761403
Is the string always consistent, if so you can use substring. i.e SELECT SUBSTRING('HELLO WORLD',4,5)
Result 'LO WO'
--------------------------------------------
Laughing in the face of contention...
peterausger
Mr or Mrs. 500
Points: 544
November 28, 2014 at 9:10 am
#1761463
yes it is consistent...
i tried substring its not giving the expected out in differnt columns..
November 28, 2014 at 9:23 am
#1761465
can you post your code and some dummy values
Viewing 4 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply