Topics | Search Log Out | Register | Edit Profile
Hide Clipart | Banned/Unbanned User Log | Moderator Login History | Thread Delete/Move Log | Last 30 mins | 1 | 2
Urgent SQLServer help...

Chalanachithram.com DB » Archives » Archive through June 28, 2010 » Urgent SQLServer help... « Previous Next »
Author 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:       


Platypus:


did you use sp_describe_cursor to see the rows in cursor?
 

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:       

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(0xa04ef8){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: