Solved

Like Oracle does sybase have open cursors limit?

Posted on 2004-08-14
4
401 Views
Last Modified: 2010-05-18
In oracle there is initialization parameter - open cursors limit
What is the setting similar to open cursors limit in sybase?

0
Comment
Question by:RadhikaGoel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 15

Accepted Solution

by:
jdlambert1 earned 20 total points
ID: 11800825
Sybase doesn't have a cursor-limit parameter. The practical limit is imposed by other things, such as the amount of RAM, I/O, etc. If you make sure any code that opens a cursor closes it and deallocates it, it's unlikely this will ever be a problem. Note the last two lines in this example:

DECLARE Cur1 CURSOR READ_ONLY FOR SELECT name FROM TableA

DECLARE @name varchar(40)
OPEN Cur1

...<loop>

CLOSE Cur1
DEALLOCATE Cur1

0
 
LVL 3

Expert Comment

by:knel1234
ID: 11932206
Hi,

While I appreciate your question is specifically relating to a cursor, I am curious about your need for a cursor.  Having working with Sybase, MSSQL, and Oracle.  I have found that I rarely use cursors except in Oracle.  What do you need the cursor for??


knel
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
We take a look at some of the most common obstacles that IT teams run into as they work relentlessly to keep all the alarms and sirens from going off at once.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question