Simple question - why when I print the value of the @len variable in the query below would I be getting the value 1, instead of 12 (the number of characters in the
@len
Becvause varChar without a length specification is taken as varChar(1)
varChar
varChar(1)
replace varchar with varChar(30) or varChar(max)
varchar
varChar(30)
varChar(max)