String Functions In Sql Server With Nolock