Forum Replies Created

Viewing post 1 (of 2 total)

  • RE: difference between Len() and DataLength()

    SELECT

    LEN('string'),

    LEN('string '),

    DATALENGTH('string'),

    DATALENGTH('string '),

    LEN(N'string'),

    LEN(N'string '),

    DATALENGTH(N'string'),

    DATALENGTH(N'string ')

    will give values 6,6,6,7,6,6,12,14

Viewing post 1 (of 2 total)