Viewing post 1 (of 1 total)
Rather than using the REPLACE, TRIM and REPLACE again, what do you think of the following:
CREATE FUNCTION dbo.TrimLeftChar
(
@Source VARCHAR(1000),
@Char CHAR(1)
)
RETURNS VARCHAR(1000)
AS
BEGIN
DECLARE @Pattern VARCHAR(6)
...
August 16, 2012 at 5:08 am
#1526476