SQL Server Develepment

  • DECLARE @myString varchar

    SET @myString = 'TESTING'

    SELECT LEN(@myString)

    :P:P:P:P:P:P:P
    Thanks,
    Sabeer.M

  • varchar with no length means varchar(1), so you'll get 1 as result.

    Gianluca

    -- Gianluca Sartori

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply