Tuesday 28 April 2009

Cumulative Patch 4 released for OracleAS Discoverer 10.1.2.55.26

The new cumulative patch for OracleAS Discoverer 10.1.2.55.26 has been just released. You can connect to http://metalink.oracle.com and download it, the id is 7595032.

Opatch is used to install Discoverer Cumulative Patches. The patch readme has all the install/rollback instructions.

I'd like to remind that OracleAS Discoverer 10.1.2.55.26 is a release version obtained by installing the Oracle Application Server PLACEHOLDER patch: 5983622.

Friday 3 April 2009

Create or Manipulate directly the SQL produced by Discoverer User Edition

In Discoverer User Edition (Desktop, Plus, Viewer) it is not possible to alter directly the SQL produced. The query is dynamically created from Discoverer, depending on items, joins, condition, calculation ... selected during the workbook creation.

The only chance I see here is to create a custom folder in Discoverer Administrator and then create a workbook based on it:

"Custom folders are folders based on a SQL statement which could include SET operators (e.g. UNION, CONNECT BY, MINUS, INTERSECT) or a synonym that you type directly into a dialog.

By defining a custom folder, you can quickly create a folder that represents a complicated result set. When you save the custom folder, Discoverer Administrator creates items using the 'Select' part of the SQL statement you have entered.

In Discoverer Plus, there is no distinction between a custom folder and a simple folder. A Discoverer end user can use a custom folder to build queries in the same way as any other type of folder."

Extracted from :
Oracle® Business Intelligence Discoverer Administration Guide
10g Release 2 (10.1.2.1)
Chapt. 6 Creating and maintaining folders
-- What are custom folders?
(http://download.oracle.com/docs/html/B13916_04/folders.htm#sthref318)

Wednesday 1 April 2009

How to change CSV Delimiter in Discoverer

Discoverer does not have the feature to change the delimiter when you export CSV format from it. This has been rejected by Development with the enhancement request :
Bug 3179364 ENH EXPORT CSV FORMAT SHOULD BE ABLE TO SPECIFY THE SEPARATOR
So, Discoverer will always use the comma as delimiter when you export to .CSV format.


Now, to complete the picture, the delimiter is defined on Microsoft Operating System in the Control Panel >> Regional Settings => Numbers tab => List Separator and this is taken for example from Excel, so if you save from excel in .csv the delimiter will be the one defined in the List Separator. In any case, this is not a standard, so the point that it is working this way on Excel does not means that it should works the same on all other softwares, like Oracle Discoverer, this is not a bug in functionality. Generally .csv delimiter is always associated with comma :

http://tools.ietf.org/html/rfc4180
http://www.creativyst.com/Doc/Articles/CSV/CSV01.htm