Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8980547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:06:54+00:00 2026-06-15T20:06:54+00:00

I am using SQL Server 2008 . I want to select a long list

  • 0

I am using SQL Server 2008.

I want to select a long list of records and add it to a cursor and iterate through those records to accomplish some task. But I do not know the limitations of this cursor.

Q:
Is there a maximum number of records that the cursor can hold. Or is it unlimited and handled internally using some kind of paging technique to handle the records dynamically.

Code:

 DECLARE cursor CURSOR FOR  
 SELECT C1 
 FROM T1
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T20:06:55+00:00Added an answer on June 15, 2026 at 8:06 pm

    This question of mine is not answered for a while now. This is what I have understood. I used cursor to store 12000 records and iterated through it. I worked just fine. So I know for now for less than 12000 records courser works fine.

    If you found more on this, please leave a comment of a best answer. I will not hesitate to change that to my correct answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using SQL Server 2008 R2 and I want to add a non-clustered
hi i am using SQL Server 2008, want to create a view to list
I am using SQL Server 2008 Enterprise version. I want to know if I
I want to develop a generic CRM application using SQL Server 2008. The application
I want to write a code to backup my Sql Server 2008 Database using
Using SQL Server 2008 R2 we are looking for a way to select the
I am using SQL Server 2008 Enterprise on Windows Server 2008. I want to
I am using SQL Server 2008 R2 I just want to test if something
I am using SQL Server 2008. I want to write a query that gives
Using SQL Server 2008 R2 (Version 10.50.4000.0): I have two tables. I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.