我用print打印游标中变量时候,如果是日期类型的而且正好这个日期变量是NULL,我用isnull()函数把他们打印出来,结果是
1900 01 01 00:00:000,回到了1900年,如何才能显示为空或者别的字符串啊?着急很!print convert(isnull(@today,‘’),char(30))
1900 01 01 00:00:000,回到了1900年,如何才能显示为空或者别的字符串啊?着急很!print convert(isnull(@today,‘’),char(30))
print convert(isnull(@today,getDate()),char(30))
print isnull(convert(char(30),@T,121),'')+'Next'