Unable to Change Table name in Query

Post Reply
tstagliano
Posts: 18
Joined: Fri May 15, 2015 2:04 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 2007

Unable to Change Table name in Query

Post by tstagliano »

We have a current TI process which pulls data from a 1 table with no issues. We are trying to point that query to a new table with the same fields that hold historical data, but when i change the FROM clause of the query to be the new table name, i receive the error message below.

"SQL Statement failed"

I am however successfully able to run that query directly on the SQL server with results.

Please advise.
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Unable to Change Table name in Query

Post by jim wood »

What ID are you using in the ODBC connection? Does it have access to the table? when you ran the query successfully on the server did you login as you or the user named in your TI?
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
tstagliano
Posts: 18
Joined: Fri May 15, 2015 2:04 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 2007

Re: Unable to Change Table name in Query

Post by tstagliano »

Thank you Jim. The service account we are using did not have access to that table.
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Unable to Change Table name in Query

Post by jim wood »

It's a pleasure. I'm glad it's working.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Post Reply