新定义字符串
直接使用在游标里面使用
结果@river_str为null
解决方法:
1.使用isnull()函数
2.不使用isnull()函数,定义了@river_str之后,set @river_str=' '也可解决问题。