Cursors on MySQL - Good or Bad

前端 未结 3 1071
悲&欢浪女
悲&欢浪女 2021-02-06 12:27

I have always heard people saying bad about using cursors and this is especially in Microsoft SQL Server as they are very slow. Is this the case with Cursors on MySQL as well? D

3条回答
  •  逝去的感伤
    2021-02-06 12:57

    Just create and fill a temporary table. That is how most RDBMS's implement cursors anyway.

提交回复
热议问题