摘要: declare @eventname nvarchar(100);set @eventname=N'公告';declare @rate decimal(9,2);declare my_cursor cursor scroll dynamicfor select EventName from dbo.PM_Event;open my_cursordeclare @event nvarchar(100);fetch next from my_cursor into @eventwhile(@@fetch_status=0)beginset @rate=dbo.F_Getsimila 阅读全文
posted @ 2012-11-05 15:41 洗耳恭听兼烂笔头 阅读(124) 评论(0) 推荐(0) 编辑