IBM Support

TI Process Errors When Sourcing An Azure Synapse Datasource: Error Executing SQL Statement

Troubleshooting


Problem

TI Process errors when sourcing an Azure Synapse datasource
The SQL query works fine in Sql Server Management Studio

Symptom

The following errors may occur:

Pop-up Window Message Will Display
Error executing SQL statement 

TM1Server Log File Errors: 
Unable to execute SQL statement
Or
Error executing SQL statement
or
Cursor support is not an implemented feature for SQL Server Parallel DataWarehousing TDS endpoint.

Resolving The Problem

STEPS:
1.Enter the following at the beginning of the SQL query: SET NOCOUNT ON

For example:

SET NOCOUNT ON 
--SQL query code here--

2. If error persists, enter the SET NOCOUNT ON to the end of the SQL query

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSD29G","label":"IBM Planning Analytics"},"ARM Category":[{"code":"a8m50000000KzL0AAK","label":"Planning Analytics-\u003EPlanning Analytics Workspace-\u003EModel Data and Reports"}],"ARM Case Number":"TS011798041","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
19 January 2023

UID

ibm16856381