I just found out that the Hint in the .sbo was only available in V4.
Actually, here are 2 tech notes that tell how to do it.
---------------------------------
Problem
How are hints and indexes applied in BusinessObjects 5.x ?
Resolution
*****CONFIGURATION******
BusinessObjects version 5.x.
Oracle databases.
***********SYMPTOMS*******
In BusinessObjects 4.x, you were able to optimize an Oracle query by modifying the .sbo file to have hints implemented. You want to know how to accomplish this in version 5.
**********RESOLUTION******
BusinessObjects 4.x had the optional parameter 'HINT' under the Oracle database engine section. This parameter is taken into account for all connections to the specified database.
BusinessObjects 5.x does not have this .sbo parameter as an option. Hints are implemented in the connection itself:
1. Go to the Connection Properties window.
2. Click on the Custom tab.
3. You will have the Hint entry under the Connection Parameters.
4. Enter your hint below and click on Set.
5. All queries using the connection will have this hint applied to it.
Notes:
The query panel SQL does not actually display the Hint. If you run a trace, you will see that the Hint is generated.
Indexes are not supported and the Hint parameter is an extra BusinessObjects feature available for connections to Oracle databases. There is no option currently available for indexes in other databases.
-------------------------------------------------
Problem
How do you enforce RULE-based optimization when you query an Oracle database from BusinessObjects?
Resolution
*****CONFIGURATION******
BusinessObjects version 5.1.x
Oracle versions 8.1.x and above
***********SYMPTOMS*******
You already know how to enforce RULE based-optimization when you query an Oracle database.
In SQL-Plus, you use the Hint "/*+RULE/".
You want to know how to enforce RULE-based optimization when you query an Oracle database from BusinessObjects.
**********RESOLUTION******
Hints are achieved through the connection itself. Follow these steps to implement a Hint:
1. In Designer, go to File > Parameters > Definition Tab > Edit > Custom tab. The Hint entry will appear under the Connection Parameters section.
2. In the text box at the bottom of the Connection Properties section, enter your Hint click "Set". The value for the Hint parameter is "/*+RULE*/" and all queries using the connection will have this Hint applied to them.
Note: The query panel SQL does not actually display the Hint. If you run a trace, you will see that the Hint is generated.
Steve Krandel
BASE Consulting Group