SQL游标循环取值的两个实例
实例1:declare @maxid intdeclare @zhibanren nvarchar(30)declare @shoujihao nvarchar(30)declare @banci nvarchar(5)declare @zhibanshijian datetimeselect @maxid=ID from safe_message_zhibanbiao where d...