sabeer
Ten Centuries
Points: 1377
More actions
March 12, 2009 at 4:45 am
#93288
DECLARE @myString varchar
SET @myString = 'TESTING'
SELECT LEN(@myString)
:P:P:P:P:P:P:PThanks,Sabeer.M
spaghettidba
SSC Guru
Points: 105732
March 12, 2009 at 4:49 am
#958175
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