Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Trim Left Char (for single words)

    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)

    ...

Viewing post 1 (of 1 total)