Urgent SQLServer help... Chalanachithram.com | Topics | Search
Hide Clipart | Log Out | Register | Edit Profile

Last 30 mins | 1 | 2 | 4 hours     Last 1 | 7 Days

Chalanachithram.com DB » Archives » Archive through June 28, 2010 » Urgent SQLServer help... « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Twitter
Side Hero
Username: Twitter

Post Number: 2393
Registered: 10-2009
Posted From: 67.84.98.23

Rating: N/A
Votes: 0 (Vote!)

Posted on Saturday, June 26, 2010 - 12:42 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Platypus:


did you use sp_describe_cursor to see the rows in cursor?
Top of pagePrevious messageNext messageBottom of page Link to this message

Platypus
Junior Artist
Username: Platypus

Post Number: 303
Registered: 01-2008
Posted From: 122.175.68.75

Rating: N/A
Votes: 0 (Vote!)

Posted on Saturday, June 26, 2010 - 12:37 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

One of my cursors is processing only the first row all of a sudden. The SELECT query returns five rows but the cursor is executed only once. The @@FETCH_STATUS variable gets a -1 after processing the first row and hence is exiting out of the WHILE loop. Any ideas? The code was working fine until a few days ago. Recently there has been a DB configuration problem. Once it was resolved, this code stopped working.
There are 10 types of people in this world. Those who understand binary and those who don't.

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image HASH(0x92d2214){Movie Clipart}
Show / hide regular icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Show / Hide Filmy icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: