In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Invalid Cursor State Error - Not Solved

Puneet13
8 - Asteroid

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
patrick_mcauliffe
14 - Magnetar
14 - Magnetar

Can you run the exact same SQL statement in another tool?  Like SSMS?

Ariharan
11 - Bolide

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