Does Oracle encourage developers to use cursors?

From: <gnewsgroup_at_gmail.com>
Date: Sat, 20 Oct 2012 07:59:14 -0700 (PDT)
Message-ID: <4941cf9b-3831-4efe-9c8f-f13591b476d9_at_googlegroups.com>



I've asked this at asp.net forum, but I think we have more gurus here to get more educational, informative information about my confusion.

I am new to Oracle, but not new to SQL Server and .NET application development. I think it is a general understanding that we should try to avoid using cursors as much as possible at least with sql server, because it just doesn't perform that well.

But if we read any Oracle PL/SQL primer, I bet you will be reading about cursors after cursors.

So, is cursor simply the established practice of Oracle to get our data? Is oracle cursor internally different from that of SQL Server such that it doesn't cause any performance hit?

Any thoughts? Thank you. Received on Sat Oct 20 2012 - 16:59:14 CEST

Original text of this message