Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Cursors
Message
 
 
À
18/06/2012 09:43:51
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Divers
Thread ID:
01546202
Message ID:
01546213
Vues:
39
>>>Hi
>>>
>>>I have a user using a CRM package which uses sql2008.
>>>
>>>Occasionally they are getting an error message
>>>
>>>No SQL Cursors remaining.
>>>
>>>Any ideas on how to prevent this. Is it a server configuration issue or a fault in the package.
>>
>>Did you close and Deallocate cursors after you finish with them?
>
>Hi Boris
>
>Its a package and I don't know how thats handling cursors internally.

I am thinking, you may at least check cursor options - try to use LOCAL cursors (set this as an option).

Right click on the database, properties, options, look at Cursor options (by default the cursors are Global). You may change both options for CURSORS to opposite.

I also found this thread, but not sure if of any help (looked through couple of others):
http://www.tek-tips.com/viewthread.cfm?qid=992680
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform