Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
siscia
on Dec 3, 2020
|
parent
|
context
|
favorite
| on:
Stored Procedures as a Back End
> Performance hint: developers using cursors should have their hands cut off. This should do the trick.
What is wrong with cursor?
unklefolk
on Dec 3, 2020
[–]
Performance basically. As SQL is a set based language you can often replace cursors (which are basically loops) with joins and that is orders of magnitude quicker for larger workloads.
tehjoker
on Dec 4, 2020
|
parent
[–]
Somehow I managed to avoid learning to use cursors and I have never seemed to need them. It seems like this was some kind of grace.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
What is wrong with cursor?