News

T-SQL isn't particularly well suited to advanced string manipulation. I have found that small CLR functions that perform string manipulation and substring extraction perform very well in SQL Server.
Contribute to Therton-f/SQL development by creating an account on GitHub.
select substring (FirstName , 1,5) from Person.Person where BusinessEntityID = 3 -- Person.Person tablosunda ki BusinessEntityID si 3 olanı bana getir. Id si 3 olanın Firstname kolonunun 1. ve 5.
Is it possible to order by a substring in a returned field?I've got a query which returns at most probably around 10 or so rows of 1 column. However the way this data is formated, it'd be convient ...
You ugly (SQL, Substring, multiple charindex occurrences) pleb Jun 17, 2010 Jump to latest Follow Reply ...