I am working with Business Objects XI Release 2. I am trying to fetch encrypted data from SQL Server 2008. This data is Pass Phrase encrypted. Hence I need a mechanism to pass the “pass phrase” to SQL Server. Please let me know if there is any hook in Business Objects to do the same.
It would be great if I can prompt the user to enter the pass phrase.
Can you let us know how do you get the encrypted data from a database when you use a query tool other than BO? What kind of query you need to run in a query tool to get the data?
These reports will be viewed using DI. I was told that Version 2 does not support store procedures hence this question arised.
Sorry, I myself I am working on BO for the firsrt time hence I dont know its capabilities. Thanks for the pointer. I will check with my dev and let you know.
Please let me know how to call store procedures in Business Object XI Version 2 ? My team believes its NOT SUPPORTED. It would be great if someone could clarify this.
Also is it possible to read a file from the disk or call a web service from business objects. As if we cannot call the procedure then we would like to call a webservice that can perform this
You can use a stored procedure as a data source for a DeskI report.
In a New Data Wizard or New Table Wizard, in the Specify Data Access window you do not select Universe radio button but Others and then you
select Stored Procedures from the drop down menu.
There is even a way how to use a stored procedure in a WebI report if you use a certain database:
What I think is being missed here is that Steve is suggesting that a stored function is more appropriate than a stored procedure anyway. I believe this encrypted field is supposed to be displayed with other values, in which case is should be an object. By creating a function to decrypt the information (using the same logic currently found in the procedure) then it can be put into a universe, and any of the query tools that support universes can use the data.
I can use store procedures from the Desktop Intelligence Reports. The second step is to a store procedure from Designer to create classes and objects. I am trying to create a derived table to call the store proc in the sql expression but it does not accept it.
Is there any way I can call store proc in the Designer (BO XI Version 2)? Thanks.
Nasha
P.S. We are also trying to get the logic on Store proc in a UDF but it seems there are some contraints in terms of the kind of operation that can be performed by a UDF. Hence the choice or a technical requirement might be to use a store procedure.
A store procedure returns several columns and rows.
You cannot use these in Designer.
In Designer, you are linking tables/views. If you can build a derived table that uses your stored proc, that’s OK. But, what you’re trying to do simply does not make much sense.
You have not explained to us what the purpose of this procedure is. Does it return the entire database in an unencrypted format. It seems to me that this is usually done on a column by column basis. In that case a stored function that returns a single column per row is the right way.
Yes, I am unable to think this through due to my lack of knowledge on BO. Sorry if this causes any inconvenience.
As you rightly said “If you can build a derived table that uses your stored proc, that’s OK.” … I am trying to do that but I get an error saying "Exception: DBD, [Microsoft OLE DB Provider for SQL Server] : Incorrect syntax near the keyword ‘exec’. State: 42000
I have also tried to exec the store procedure between “Begin” and “End” keywords and I get the same error for the keyword “Begin”.
a derived table is an inline view. Forget doing it in BO. If you wanted to do this in the database, how would you do it? If you can do it outside of BO, it should work inside.
Also, why not just make this a real database view or table and use a BO connectcion ID that has rights to it.