DECLARE Employee_Cursor CURSOR FOR
SELECT top 20 sal_sales, sales_name,sal_team FROM sal_a_sales where sal_group=16
OPEN Employee_Cursor
FETCH NEXT FROM Employee_Cursor
WHILE @@FETCH_STATUS = 0
BEGIN
FETCH NEXT FROM Employee_Cursor
END
CLOSE Employee_Cursor
DEALLOCATE Employee_Cursor

相关文章:

  • 2021-09-20
  • 2022-02-08
  • 2021-11-28
  • 2021-11-13
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-02
  • 2021-09-16
  • 2021-11-11
  • 2022-02-19
  • 2021-12-04
相关资源
相似解决方案