I have a report which takes a very long time to execute. I decided to add a hint in the SQL and use the option “Do Not Generate SQL”.
But BO won’t accept the hint. I keep getting a weird ORA 01858 error. as soon as I remove the hint the SQL is validate just fine.
Any idea how to make BO accept a hint
The Hint I’m trying to use is /+parallel( 8)/
The easiest way is to add a special object to your universe (maybe in a special class called “Hints”). This objects contains two single quotes (so BO thinks there are characters in it ) followed by the hint itself. So like this:
'' /*+RULE*/
which will cause Oracle to execute the query RULE based instead of COST based. Position the hint object as the first object in your query. It will also show up in the group by but will do no harm there .