Invalid Cursor State Error - Not Solved
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Puneet13
8 - Asteroid
‎09-29-2022
10:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
While testing the connection in SQL Editor it is showing "A successful connection was made and no errors were found parsing the query". However while running in Alteryx it is showing "Cursor State Error", i have seen many solution in Community but no one able to solved this problem. I have attached the snapshot for the reference.
2 REPLIES 2
14 - Magnetar
‎11-11-2022
12:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Can you run the exact same SQL statement in another tool? Like SSMS?
Ariharan
11 - Bolide
‎11-11-2022
03:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Puneet13 ,
I faced this same error before and adding "BEGIN" at the beginning of the query and adding "NOCOUNT ON END" at the end of the query solved my problem.
BEGIN
/*Your Query*/
SET NOCOUNT ON
END
Regards,
Ariharan R
