color:red

2010年7月27日

游标的使用

摘要: sql中的游标是什么?怎样用呢? Create Proc Pr_DeleteTable as declare @Table varchar(20) declare cr_cursor cursor --1.定义游标 for select name from dbo.sysobjects where xtype='U' and status>0--?????? open cr_cursor -... 阅读全文

posted @ 2010-07-27 22:37 永不言弃program 阅读(331) 评论(0) 推荐(0) 编辑

导航

color:red