主题:aa=AA吗?
在查询分析器输入:
declare @q char(10)
declare @qq char(10)
set @q='aa'
set @qq='AA'
if @q=@qq
print 't'
else
print 'f'
执行结果:t
为什么'aa'会等于'AA'呢?
declare @q char(10)
declare @qq char(10)
set @q='aa'
set @qq='AA'
if @q=@qq
print 't'
else
print 'f'
执行结果:t
为什么'aa'会等于'AA'呢?