Viewing post 1 (of 1 total)
----select characters before / including /
select SUBSTRING ('abcde/wxyz',0,CHARINDEX('/','abcde/wxyz')+1)
I'm confused with the code above. Isn't the position of the first character of a string always = 1 ?
I ran these queries:
SELECT...
January 6, 2017 at 10:15 am
#1921166