COGNOiSe.com - The IBM Cognos Community

ETL, App Development and other tools => COGNOS DecisionStream/Data Manager => Topic started by: halima98 on 30 Jun 2010 05:25:28 PM

Title: Sql Server procedures
Post by: halima98 on 30 Jun 2010 05:25:28 PM
Hello,

I am new to Cognos Data Manager and I would like to know if you can execute sql server procedures using Data Manager?  If so, how do I go about that process?

Thank you in advance.
Title: Re: Sql Server procedures
Post by: MFGF on 01 Jul 2010 04:04:41 AM
You could try coding a SQL node in a jobstream to call the SP (or use a SQL function in a derivation etc).  What kind of SP do you want to call - data retrieval or data modification?

MF.
Title: Re: Sql Server procedures
Post by: yepperstn on 01 Jul 2010 01:57:20 PM
... or you could use the SQL statement.  Per the Decision Stream help, the SQL statement executes the specified SQL statement on the specified database connection or alias.

The example provided in the on-line help:

SQL('Sales', 'DROP TABLE Temp') will drop the table named Temp from the Sales database.