Showing posts with label Oracle BI. Show all posts
Showing posts with label Oracle BI. Show all posts

Monday, December 15, 2014

How to use DB functions in OBIEE

What is Evaluate function in OBIEE ?

It is used for calling database functions from answers ( front end) or  from rpd ( by using in logical column )

Syntax

Evaluate('db_function(%1...%n)' [as datatype] [, column1, columnn])

Example

Evaluate('to_date(%1,%2)' as char ,'20130326','yyyymmdd')


Like this any db function can be used with OBIEE

Thursday, February 13, 2014

how to reset OBIEE 10G Administrator Password

Hi,

Follow the link by satya. Really nice and simple steps.

http://satyaobieesolutions.blogspot.in/2013/06/how-to-reset-forgotten-obiee-10g-rpd.html

Wednesday, January 22, 2014

Repository Creation Utility RCU

How to install oracle RCU 

How to download oracle RCU ?


At the bottom of page look for the image below

 

Click on RCU according to your os and architecture.

Oracle documentation 

Friday, December 13, 2013

What is ask dbms in database object properties?



This feature is used only if you are installing and querying a database that has no features table. It allows you to query a database for the SQL features it supports. 

Monday, October 21, 2013

Error 1064: An exception occured in the service when handling the control request

If we encounter this kind of error the error might be with repository which was the case with me.

So try commenting the repository and uncomment the one which is either a sample / working repository.

This may solve the proble,

Error 1064: An exception occured in the service when handling the control request






Friday, October 11, 2013

Chronological Key Tab Not Appearing IN Time Dimension

You may encounter a scenario where you want to define chronological key for a time dimension but you are not able to see chronological keys for the time dimension.

The reason is you may have not marked time dimension as time dimension.

See below to understand what I mean. In the below image the time dimension check box is not selected. hence chronological key tab was not appearing.





Thursday, October 10, 2013

HOW TO SET MINIMUM PASSWORD LENGH IN OBIEE ?

Go to the below section of NQSCONFIG.INI.


[ SECURITY ]
DEFAULT_PRIVILEGES = READ;
PROJECT_INACCESSIBLE_COLUMN_AS_NULL    =             NO;

MINIMUM_PASSWORD_LENGTH            =             0;

change the MINIMUM_PASSWORD_LENGTH            =             0; parameter.



nqsconfig.ini



Monday, October 7, 2013

How to create sample schema sales history for oracle by example ?

I am trying to install sales history sample schema for obe oracle by example tutorials to follow.

To install sample schema ( sales history only) use below command.

@?\demo\schema\sales_history\sh_main.SQL TRPASS123 EXAMPLE TEMP TRPASS123

'F:\app\Admin\product\11.1.0\db_2\demo\schema\sales_history\' 'F:\app\Admin\product\11.1.0\db_2\demo\schema\log\' v3


The first argument is sh_main.sql which is the file name which calls other scripts to create, populate the schema.

however while running the same script i was getting the error as below

SQL*Loader-00522 lfiopn failed for file (string)

Cause: LFI failed to open the file.

Action: Check for any possible operating system errors and/or potential memory problems.

the cause of the problem was oracle home was not set and i was issuing the command as

@?\demo\schema\sales_history\lsh_v3.sql TRPASS123 \app\Admin\oradata\orcl\ $ORACLE_HOME\demo\schema\log\ V3

To set the oracle home I use the below command and also inspected regedit entries like hkey local machine etc.

SET ORACLE_HOME=F:\app\Admin\product\11.1.0\db_1 at the command prompt

However before creating the sample schema the prerequisite is to create example tablespace

so use the below command to create the tablespace.


CREATE TABLESPACE example
 NOLOGGING
 DATAFILE '\app\Admin\oradata\orcl\EXAMPLE'
 SIZE 150M REUSE
AUTOEXTEND ON NEXT 640k
 MAXSIZE UNLIMITED
 EXTENT MANAGEMENT LOCAL
 SEGMENT SPACE MANAGEMENT AUTO;


and then only run the script for creating the sample schema.

once example tablesapce is created use the below to create the sample schema.

@?\demo\schema\sales_history\sh_main.SQL TRPASS123 EXAMPLE TEMP TRPASS123

'F:\app\Admin\product\11.1.0\db_2\demo\schema\sales_history\' 'F:\app\Admin\product\11.1.0\db_2\demo\schema\log\' v3

to understand the arguments to sh_main .sql go through the script file and check what each argument means.

this will create the sample schema. you can use this schema to follow obe tutorials














Saturday, October 5, 2013

Repository online , offline or readonly modes



A repository can be opened by admin tool in either online mode or offline mode.

We can open the rpd in offline mode if it’s not loaded by oracle bi server.

If the rpd is loaded by oracle by server and we try to open it in offline mode, then its opened in read only mode.

So , open the rpd in online mode if its loaded by oracle bi server & open it in offline mode if its not loaded in oracle bi server.


If we try to open samplesales.rpd in online mode it will be opened in online mode however if we open samplesales.rpd in offline mode then it will be opened in read only mode.





What is Repository Modes ? online offline or read only

A repository can be opened by admin tool in either online mode or offline mode.

We can open the rpd in offline mode if it’s not loaded by oracle bi server.

If the rpd is loaded by oracle by server and we try to open it in offline mode, then its opened in read only mode.

So , open the rpd in online mode if its loaded by oracle bi server & open it in offline mode if its not loaded in oracle bi server.


If we try to open samplesales.rpd in online mode it will be opened in online mode however if we open samplesales.rpd in offline mode then it will be opened in read only mode.






Wednesday, September 18, 2013

how to purge cache entries from answers ?

Login to answers

Go to settings -> Administration



Go to issue sql


select issue sql



enter the following 

Call SAPurgeAllCache();




Click on issue sql 





below screen appears.



This will clear all cache without going to administration tool.

below we will see how to view SQL for cache entry.





below screen will populate with sql.





you can also select individual entry and right click and select purge to purge individual entry from cache.

or select edit - > purge to purge entry



Follow Us

About Us

Like Us

© BIDW All rights reserved | Theme Designed by Seo Blogger Templates