Obiee 11g Noob question - bring in one sql table
I am a new to obiee.
Using version 11g and trying to bring in one sql table. I created my db and table, then I create the data source in odbc. Everything tests fine.
I then open up the oracle BI administration tool, and 'import metadata'. Everything imports fine - under the 'physical' side I see my sql table and if I hit 'view data' I can see my data just fine.
I think my problem is that under 'business model and mapping' the icon isn't green it has what looks like a red 'no' type icon. My guess is there is something I have to make that green before I will be able to create a report using my sql table. (diagram?)
This is just one sql table with no foreign keys or even a pkey. How can I bring in just this one table?
I created the key in the physical layer...
then I dragged over the table and then dragged it over again (into the BMM) this created a table called (IT_Metric #1)..
now I right click and select 'business model diagram', 'whole diagram' which opens a new window with my one table (IT_Metric) then the mouse cursor just shows waiting (hourglass) ...it never stops the hourglass..
Similar Messages
-
OBIEE 11g caching question - cross database joins
Hi, I'm seeing something strange (a.k.a. not wanted) in OBIEE (11g, not sure that version matters).
I have a simple data mart that contains spend information. The supplier dimension contains keys that can be used to join it to detailed supplier information and supplier address information in our ERP system (that sits in a different database / on a different box). In the OBIEE physical layer I've created a cross database join between the supplier dimension table and the ERP tables that contain the address info.
Here's the odd behavior I'm seeing. If I write an answers request to select the supplier, some address info, and total spend for fiscal year 2010, I'm seeing OBIEE fire off two queries (this I expect):
A) Select supplier, address key, and total spend for fiscal year = 2010 against the spend mart
B) select address_key and associated address info against the ERP system (no limit on this query, it pulls back all rows from the address table)
OBIEE then does an internal join itself and serves up the results, everything is correct. But here's what's "wrong" - if I then run the exact same answers request, but change the fiscal year to 2009, I again see OBIEE firing off the two queries. What I expected and/or want to see is that, since the entire result set from query #B doesn't change at all, that it wouldn't have to rerun this query. However, it seems to be.
Is there any way to get #B to cache so that, for any subsequent query that contains supplier address info, OBIEE can pull it from cache instead of rerunning the query (which is pretty slow)? I really thought it would do that, but it doesn't seem to be.
Thanks!
ScottHi,
Could you give a bit more of context for this case? The table in SQL server; Is it a dimension and the one in Oracle DB is a fact? I am guessing, you have set up the driving table here. Have you given a try taking it off, and let BI Server do the filter in memory?
-Dhar -
Hello - I'm new to OBIEE 11G.
Is there a way to format one column of a pivot table to have the percentage sign (and possibly have more decimal places) and leave the rest to whole numbers?
Thank you.
JenniferTo format a column, simple go into the column properties and change it to percentage.
Take a look at the documentation...
http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10544/format.htm#i1030865 -
Hi all,
We are using OBIEE 11g Mapviewer to display some results. We have point as well as polygon location geometries which combined with other dimensions display scores on the map.
It seems there is a restriction on the display graphics that can be used based on a geometry type. It is something like the following table:
Geometry Type - Graphic Format
Polygon - Color Fill, Bubble, Pie Graph, and Bar Graph
Point - Bubble, Variable Shape, Image, and Custom Point
We display a pie graph of scores on a given polygon and would like to keep it standard irrespective of the underlying geometry.
I was wondering if its possible to force use a Pie Graph on Point geometry?
Please let us know if there is a way to solve this. Really appreciate your time.
Thanks!Hi
Your best bet is to follow the Security Guide:
http://docs.oracle.com/cd/E20490_01/bia.7963/e19042.pdf
Really you just need to make sure the Responsibility names are the same as the Application Roles. So either you create new responsibilities in EBS to match the existing (seeded) roles or you create new roles in OBI Apps to match your existing responsibilites. Both ways round are valid and it all depends on your security solution.
Thanks
Robin -
OBIEE 11g - serious problem when rotating columns into "table prompt" area
Hi, I'm hitting an OBIEE 11g issue that's causing huge problems on reports. Essentially, the problem is this - if I dump all the columns of a query to a table, everything looks fine. But if I rotate one of the columns into the "table prompts" area, OBIEE is actually resubmitting a WRONG query. The query format changes from:
WITH
SAWITH0 AS (select sum(T38965.ORIGINAL_BUDGET) as c1,
T12637.ORG_ID_DESC as c2
from
GL_ANALYTICS.DIM_ACCOUNT T12582,
GL_ANALYTICS.DIM_ORG T12637,
GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
GL_ANALYTICS.FACT_LEDGER T38965 / FACT_LEDGER_ytd */*
where ( T12582.ACCOUNT_KEY = T38965.ACCOUNT_KEY and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = T38965.FISCAL_YEAR and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38965.ORG_KEY and T38965.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) and T12597.ACCOUNTING_PERIOD >= T38965.ACCOUNTING_PERIOD )
group by T12637.ORG_ID_DESC)
select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3 from ( select distinct 0 as c1,
D1.c2 as c2,
D1.c1 as c3
from
SAWITH0 D1
order by c2 ) D1 where rownum <= 65001
and changes to:
WITH
SAWITH0 AS (select distinct T12637.ORG_ID_DESC as c1
from
GL_ANALYTICS.DIM_ACCOUNT T12582,
GL_ANALYTICS.DIM_ORG T12637,
GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
GL_ANALYTICS.FACT_LEDGER T38927 / FACT_LEDGER_period */*
where ( T12582.ACCOUNT_KEY = T38927.ACCOUNT_KEY and T12597.ACCOUNTING_PERIOD = T38927.ACCOUNTING_PERIOD and T12597.FISCAL_YEAR = T38927.FISCAL_YEAR and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38927.ORG_KEY and T38927.ACCOUNTING_PERIOD = 11 and T38927.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) ) ),
SAWITH1 AS (select sum(T38965.ORIGINAL_BUDGET) as c1,
T12637.ORG_ID_DESC as c2
from
GL_ANALYTICS.DIM_ACCOUNT T12582,
GL_ANALYTICS.DIM_ORG T12637,
GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
GL_ANALYTICS.FACT_LEDGER T38965 / FACT_LEDGER_ytd */*
where ( T12582.ACCOUNT_KEY = T38965.ACCOUNT_KEY and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = T38965.FISCAL_YEAR and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38965.ORG_KEY and T38965.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) and T12597.ACCOUNTING_PERIOD >= T38965.ACCOUNTING_PERIOD )
group by T12637.ORG_ID_DESC),
SAWITH2 AS ((select distinct 0 as c1,
D1.c1 as c2,
cast(NULL as DOUBLE PRECISION ) as c3
from
SAWITH0 D1
union all
select distinct 1 as c1,
D1.c2 as c2,
D1.c1 as c3
from
SAWITH1 D1))
select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3 from ( select D1.c1 as c1,
D1.c2 as c2,
D1.c3 as c3
from
SAWITH2 D1
order by c1, c2 ) D1 where rownum <= 65001
I completely do not understand what is going on here. The second query has a ton of problems. First off, it's doing some type of UNION operation - no idea why it's doing that. And the real problem is that it's unioning results from a different fact table, FACT_LEDGER_period instead of FACT_LEDGER_ytd, which is completely screwing up our results.
Long and short, I simply don't understand at all why the query should change just from rotating a column up into the table prompt area.
Any ideas?
Thanks,
ScottHi Scott,
I see the query to be valid with each CTE doing the following Jobs.....
1. I understand that this particular query is being generated to get the unique "ORG_ID_DESC " to fill up the table prompts.
SAWITH0 AS (select distinct T12637.ORG_ID_DESC as c1
from
GL_ANALYTICS.DIM_ACCOUNT T12582,
GL_ANALYTICS.DIM_ORG T12637,
GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
GL_ANALYTICS.FACT_LEDGER T38927 / FACT_LEDGER_period /
where ( T12582.ACCOUNT_KEY = T38927.ACCOUNT_KEY and T12597.ACCOUNTING_PERIOD = T38927.ACCOUNTING_PERIOD and T12597.FISCAL_YEAR = T38927.FISCAL_YEAR and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38927.ORG_KEY and T38927.ACCOUNTING_PERIOD = 11 and T38927.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) ) )
2. This particular query is to get each prompt value and its corresponding data
SAWITH1 AS (select sum(T38965.ORIGINAL_BUDGET) as c1,
T12637.ORG_ID_DESC as c2
from
GL_ANALYTICS.DIM_ACCOUNT T12582,
GL_ANALYTICS.DIM_ORG T12637,
GL_ANALYTICS.DIM_ACCOUNTING_PERIOD T12597,
GL_ANALYTICS.FACT_LEDGER T38965 / FACT_LEDGER_ytd /
where ( T12582.ACCOUNT_KEY = T38965.ACCOUNT_KEY and T12582.STATEMENT_TYPE_CODE = 'Income Statement' and T12597.ACCOUNTING_PERIOD = 11 and T12597.FISCAL_YEAR = T38965.FISCAL_YEAR and T12597.FISCAL_YEAR = 2012 and T12637.ORG_KEY = T38965.ORG_KEY and T38965.FISCAL_YEAR = 2012 and (T12637.DEPARTMENT_CODE_DESC in ('D0200 - Arts Administration', 'D0206 - Film Studies')) and T12597.ACCOUNTING_PERIOD >= T38965.ACCOUNTING_PERIOD )
group by T12637.ORG_ID_DESC)
3. This particular query, I understand is to get the following data (Sample data) relating the prompts and their corresponding data
column (c1) ;column (c2 ie ORG_ID_DESC); column(C3 ie sum(T38965.ORIGINAL_BUDGET))
0; ORG_ID_DESC1; NULL
1; ORG_ID_DESC1;10
0; ORG_ID_DESC2;NULL
1; ORG_ID_DESC2;40
0; ORG_ID_DESC3;NULL
1; ORG_ID_DESC3;29.8
SAWITH2 AS ((select distinct 0 as c1,
D1.c1 as c2,
cast(NULL as DOUBLE PRECISION ) as c3
from
SAWITH0 D1
union all
select distinct 1 as c1,
D1.c2 as c2,
D1.c1 as c3
from
SAWITH1 D1))
4. The last select statement does nothing but selecting the needed data which later gets arranged in the format as needed by the OBIPS
select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3 from ( select D1.c1 as c1,
D1.c2 as c2,
D1.c3 as c3
from
SAWITH2 D1
order by c1, c2 ) D1 where rownum <= 65001
Now, on the table being chosen for picking up "ORG_ID_DESC" might be pretty much depending on the best source available as you know. If you would like BI Server to pick up any particular source, probably you could try the "LTS Priority Group" way.
Hope I was clear and it helps.
Thank you,
Dhar -
Design question on using PL/SQL table
Hi I am doing some data extract and write it to a file. The main table is over 100 million rows. It is is partition by ID. So I am thinking of paralleling it.
We are on 10g so we can not use the dbms_parallel.
I would like to use dbms_scheduler or the table function like the Oracle MapReduce example
However, I am not quite sure how to control the degree of parallism using the Oracle MapReduce
Moreover the company has the own unix scheduler and I am 90% sure the old-timer would shoot down my idea and urge to use the in-house built scheduler to this kind of parallel job.
So I would create a procedure that takes a list of ID and then run the extract, write out the file
and this procedure will call by sqlplus on unix.
Once all the threads are done, then the unix script will combine all the files produced into one file.
So my question is how to go about passing IN/OUT of the PL/SQL table and how I can put that PL/SQL table inside of a cursor
Can someone kind enough to give me some example/sample
-Thanks so muchHandle: vxwo0owxv
Status Level: Newbie
Registered: Mar 14, 2011
Total Posts: 88
Total Questions: 54 (39 unresolved)
Long on buzz words & short on knowledge to implement ideas!
vxwo0owxv wrote:
Hi I am doing some data extract and write it to a file. The main table is over 100 million rows. What % of rows need to be extracted?
Exactly how do plan on "write it to a file"?
It is is partition by ID. So I am thinking of paralleling it.Exactly what type of partitioning exists?
We are on 10g so we can not use the dbms_parallel.
I would like to use dbms_scheduler or the table function like the Oracle MapReduce examplepost URL to this MapReduce example
However, I am not quite sure how to control the degree of parallism using the Oracle MapReduce
Moreover the company has the own unix scheduler and I am 90% sure the old-timer would shoot down my idea and urge to use the in-house built scheduler to this kind of parallel job.
So I would create a procedure that takes a list of ID and then run the extract, write out the file
and this procedure will call by sqlplus on unix.Going back out to the OS just to access the DB induces overhead
>
Once all the threads are done, then the unix script will combine all the files produced into one file.
Does order of records in resultant file matter?
So my question is how to go about passing IN/OUT of the PL/SQL table and how I can put that PL/SQL table inside of a cursor
Pass from where to where?
Why PL/SQL table?
Realize that SQLPLUS knows nothing about PL/SQL table
Can someone kind enough to give me some example/sampleI could but then we'd both look unprofessional. -
Importing 30 tables into one SQL Table (Help Required)
Dear Experts,
I am new in SQL server, actually i need to gather 30 different excel file in one sql server table and i have imported all excel file in different databases, all tables have 186 different columns and datatypes. I couldnt change data type while conversion.
Now all columns have different data type which are occupying extra space in my database.
Now the problem is that i need to convert all databases into one database or table. Although i have created a table but i dont have idea how to import all table into one table and defining datatype in new table while importing the old tables.
Please help me in this matter or if any body has skype or any other chatting id please do let me know so that i may explain it better.
Thanking you in advance.
Best Regards,
SQL_beginnerThere are several things you can try. If you have SSIS, take a look at this.
http://www.singhvikash.in/2013/06/ssis-how-to-load-multiple-excel-files.html
https://www.simple-talk.com/sql/ssis/importing-excel-data-into-sql-server-via-ssis-questions-you-were-too-shy-to-ask/
Also, if your files have virtually the same name, like files with dates in the name, you can loop through files in your folder, and increment the loop with each run through.
DECLARE @intFlag
INT
SET @intFlag
= 1
WHILE (@intFlag
<=30)
BEGIN
PRINT @intFlag
declare @fullpath1
varchar(1000)
select @fullpath1
= '''\\path to your files\'
+ convert(varchar,
getdate()- @intFlag
, 112)
+ '_your-text-file-name.txt'''
declare @cmd1
nvarchar(1000)
select @cmd1
= 'bulk insert [dbo].[your-table-name] from '
+ @fullpath1 +
' with (FIELDTERMINATOR = ''\t'', FIRSTROW = 2, ROWTERMINATOR=''0x0a'')'
exec (@cmd1)
SET @intFlag
= @intFlag + 1
END
GO
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
OBIEE 11g - How to create clean looking pivot tables
Hi, does anyone have a good way to clean up the appearance of pivot tables in OBIEE 11g? I'm a big fan of Stephen Few and firmly believe in the "minimize non-data ink" theory. Unfortunately, there seems to be a lot of stuff on OBIEE pivots that I can't easily clean up. Does anyone have ideas for:
1. How to remove the "gray" / "beige" coloring from column and row dimension? I opened a ticket with Oracle 6 months ago, and basically they've just responded that it is a "enhancement request" for a future version (aka not going to see it for a LONG time)
2. For my "across" dimension, I don't seem to have a good way to show the dimension name. There is an option under "column properties" to "display heading" - but when this is turned on it scrunches the heading up directly over the column that has the down dimension members. I really want this to go across the pivot.
Any help on this would be greatly appreciated.
Thanks!
ScottHi,
Steps,
Just create DSN (odbc connection for the excel data source) then try to import via rpd that time u must need to select "System Tables"
For more steps,
http://allaboutobiee.blogspot.com/2012/03/excel-as-data-source-in-obiee.html
http://oraclebi.blog.com/working-with-excel-datasource-in-obiee
http://www.ascentt.com/2012/01/importing-excel-file-into-obiee-11g
http://obiee101.blogspot.com/2008/06/obiee-excel-import-prepping-data.html
Note: user id and password u can set it u r own and need to be updated in your connection pool alos else u can go with empty user id and password
Thanks
Deva -
OBIEE 11g installation - Weblogic server on one host and obiee on another
Hi
I am doing obiee11g installation with the following topology:
1. Weblogic on one Linux Host
2. OBIEE on another Linux server
I am able to successfully complete the weblogic installation and i started the obiee on the another machine. The installation fails at the following point:
Specify Installation Location :
Oracle Middleware Home: /u01/app/oracle(This is the where i have the question - This should be weblogic server location where you hosted on another machine. It should ask me for host name or ip address)
Oracle Home Directory
Any one did the installation with the above and how to overcome the above issue.. Should i share the drive using nfs mount or any other solutions. Your help is appreciated.
ThanksHi,
Can u clarify below questions?
Do u have both servers on the same network?
Thanks. -
OBIEE 11g Repository Question: session context
The Metadata Repository Builder's Guide says in chapter 13, "Note: Alternatively, you can use the database session context to pass end user identity to the database. Use a connection pool script to set up session context. Note that this approach does not rely on database authentication."
However, no example or instruction is given to show/explain how to do that. Does anyone know how to set up a connection pool script to pass the :USER value to the database session context object? We have to pass the user ID of the Analytics user to the database so as to apply VPD policies.
Thanks,
KenI'm trying also to get work VPD with OBIEE 11.1.1.5, but no luck. I have done almost all the same as are in Venkatakrishnan's example. It seems that select statement with set function in "execute befire query" goes to the database, but it have no effort because query in Answers returns no rows, means that :USER is not forwarded to the policy function. Is it possible that statement in "execute before query" and Answer request are not in same database session? Have anyone got work VPD with OBIEE 11.1.1.5? Everything works ok for example in SQLPlus and in SQL Developer.
- Risto
Edited by: risto.soikkeli on 6.8.2011 17:56
Edited by: risto.soikkeli on 6.8.2011 23:04 -
OBIEE 11g - create dashboard with Answers Analyse and BI Publisher Repport
Hi there,
I have one question . I create dashboard in OBIEE 11g .In my dashboard have one analyse and one bip report .I create one prompt filter , that changes the both .But I wanted when i click in analysis and change it, this change is reflected in the Report . Is this possible?
ThanksI am talking about object permissions in the catalog (eg. Folder permissions..). This is in addition to the permissions for the data source.
You need to be able to view the folders from where you can select the analysis as a data source in the BI publisher report.
Here is an excerpt from the Guide:
For a role to access an object in the catalog, the role must be granted Read permissions on both the object and the folder in which the object resides. Permissions can be granted at the folder level and applied to all the objects and subfolders it contains, or applied to individual objects.
To grant catalog permissions to a role:
Navigate to the Catalog.
Locate the folder or object on which you wish to grant permissions and click More. From the menu, select Permissions. Alternatively, you can select the folder and click Permissions in the Tasks region.
Thanks,
BIPuser -
In OBIEE 11G, how to send automatically one email for different level users for having a look different data by agent?
For example:
One report architeture:
Region--------District---------Sales
Region 1------District1--------100
------------------District2---------200
Region 2------District3---------300
------------------District4---------400
One Level can have a look at data:
Region-----------------Sales
Region 1-------------300
Region 2------------ 700
Another Level can have a look at data:
Region--------District---------Sales
Region 1------District1--------100
------------------District2---------200
Region 2------District3---------300
------------------District4---------400
Is it possible to implement this requirement in OBIEE 11.1.1.6? Thanks.Hi Satya,
Thanks for you help.
If I add this new users into one group in users table and send one email to group, it will no result. Message display as below:
Eventually succeeded, but encountered and resolved errors...
Number of skipped recipients: 0 of 0
AgentID: /shared/test/sad
Invalid subscribers skipped: weblogic
create table USEREMAIL
Logon VARCHAR2(50),
Display_Name VARCHAR2(50),
Group_Name VARCHAR2(50),
TimeZone VARCHAR2(50),
Language VARCHAR2(50),
Locale VARCHAR2(50),
Email VARCHAR2(50),
Email_Priority VARCHAR2(50),
Email_Type VARCHAR2(50),
Cell_Phone VARCHAR2(50),
Cell_Phone_Priority VARCHAR2(50),
Pager VARCHAR2(50),
Pager_Priority VARCHAR2(50),
Handheld VARCHAR2(50),
Handheld_Priority VARCHAR2(50)
Create table users(
USERID varchar2(50),
USERPASSWORD VARCHAR2(50),
GROUP VARCHAR2(50)
insert into useremail values
('kobe','kobe_xu','BIAdministrators','','','','[email protected]','H','HTML','','','','','','');
insert into users values
('kobe','123456',''BIAdministrator');
and create AUTHENTICATION block:
select USERID from USERS where USERID=':USER' NQS_PASSWORD_CLAUSE(and USERPASSWORD= ':PASSWORD')NQS_PASSWORD_CLAUSE
CREATE AUTHORIZATION BLOCK and set row-wise:
SELECT 'GROUP', USERROLES FROM USERS WHERE USERID=':USER'
Please help me to find the issue, thanks very much for your precious time. -
RPD Patching ISSUES in OBIEE 11G
Hi all,
when i am doing the RPD patching in OBIEE 11G i ll be missing one subject area in the process of merging can some one provide the solution for this.
i have two rpds one rpd contains the two subject areas and another rpd contains the single subject area while in the process of merging
i am getting everything getting correct but expect the subject areas. i am missing the one subject areas.
pls provide the solution for this
Thanks,Are you patching or merging? I've found the patching to be very hit and miss.
Robert -
Downloading All Rows in OBIEE 11g
Hi all,
I'm just starting using OBIEE 11g, and found out the difference between 11g and 10g on the downloading of query result from the Answers.
In OBIEE 10g:
(1) Default rows shown in the table view is 25.
(2) Clicking on "show all rows" will show all available rows.
(3) Downloading to Excel will download all available rows, no matter what I'm currently seeing. So even if I'm seeing row 1-25, all available rows will be downloaded; if I'm seeing row 100-125, all available rows will be downloaded; and so forth.
In OBIEE 11g:
(a) Default rows shown in the table view is 25.
(b) Clicking on "show all rows" will only shows 500 rows.
(c) Downloading to Excel will only download the rows which are currently shown. So if I'm seeing row 1-25, that's all that will be downloaded; if I'm seeing row 501-1001, that's all that will be downloaded; and so forth.
I've looked at some blogs about this, and found out that it is possible to increase the number of maximum rows shown by adding <MaxVisibleRows>500000</MaxVisibleRows> and changing <DefaultRowsDisplayedInDownload>500000</DefaultRowsDisplayedInDownload> in the instanceconfig.xml file. It solved the problem (b) above. So now, clicking on "show all rows" will show 500000 rows. It's not really show all rows, but it should be enough.
However, problem (c) still exists. I can only download all rows after clicking "show all rows" first. It means, I will have to show the maximum 5000000 rows first so that I can download them. Which is different from 10g, as mentioned in point (3) above.
I'd like to be able to download all available rows without having to show all the rows first. Because if I have to show all the rows first, when there are a lot of records, it will make the browser hang. Is it possible to achieve the same method as what was done in 10g? Any advice?
Thank you very much.Hi,
Refer
http://obieeelegant.blogspot.com/2011/06/exporting-in-excel-to-download-more.html
Increasing the no.of rows/pages in obiee 10g answers
Sent it from iPhone
Thanks and Regards,
Devarasu.R
update the below code in you instance config.xml file, after that restart all bi services.
<Pivot>
<MaxCells>1920000</MaxCells>
<MaxVisibleColumns>30</MaxVisibleColumns>
<MaxVisiblePages>1000</MaxVisiblePages>
<MaxVisibleRows>64000</MaxVisibleRows>
<MaxVisibleSections>25</MaxVisibleSections>
<DefaultRowsDisplayed>64000</DefaultRowsDisplayed>
<DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
<DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
<DisableAutoPreview>false</DisableAutoPreview>
</Pivot>
<Table>
<MaxCells>1920000</MaxCells>
<MaxVisiblePages>1000</MaxVisiblePages>
<MaxVisibleRows>64000</MaxVisibleRows>
<MaxVisibleSections>25</MaxVisibleSections>
<DefaultRowsDisplayed>64000</DefaultRowsDisplayed>
<DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
<DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
</Table>
Thanks
Deva
Edited by: Devarasu on Nov 4, 2011 10:48 AM -
Passing parameters to PL/SQL table types
Hi Everybody,
I have one question about passing PL/SQL tables types and tabs as IN parameter in procedure.I am working in 11.2.0.2.0 environment. I am stuck on how to pass those values to procedure.Please find below more details:
Table 1:
CREATE TABLE ITEMS
ITEM_ID VARCHAR2(40 BYTE) NOT NULL,
ITEM_NAME VARCHAR2(40 BYTE),
SERIAL NUMBER(2),
ADDED_ON DATE);
Table 2:
CREATE TABLE ITEM_ACTIVITY_INFO
ITEM_ID VARCHAR2(40 BYTE) NOT NULL,
ACCOUNT_TYPE VARCHAR2(1 BYTE),
ID_NUMBER NUMBER(3),
ACTIVATION_DATE DATE);
Table 3:
CREATE TABLE ITEM_GROUP
GROUP_ID NUMBER(2) NOT NULL,
ITEM_ID VARCHAR2(40 BYTE),
GROUP_TYPE VARCHAR2(20 BYTE),
GROUP_DATE DATE);
Table 4:
CREATE TABLE ITEM_ADDRESS
GROUP_ID NUMBER(2) NOT NULL,
NAME VARCHAR2(60 BYTE),
ADDRESS VARCHAR2(100));
Following types are created:
CREATE OR REPLACE TYPE ITEMS_TYPE AS OBJECT
ITEM_ID VARCHAR2(40 BYTE),
ITEM_NAME VARCHAR2(40 BYTE),
SERIAL NUMBER(2),
ADDED_ON DATE);
CREATE OR REPLACE TYPE ITEM_ACTIVITY_TYPE AS OBJECT
ITEM_ID VARCHAR2(40 BYTE),
ACCOUNT_TYPE VARCHAR2(1 BYTE),
ID_NUMBER NUMBER(3),
ACTIVATION_DATE DATE);
CREATE OR REPLACE TYPE ITEM_GROUP_COMP_TYPE AS OBJECT
GROUP_ID NUMBER(2) NOT NULL,
ITEM_ID VARCHAR2(40 BYTE),
GROUP_TYPE VARCHAR2(20 BYTE),
GROUP_DATE DATE
ITEM_ADDRESS_IN ITEM_ADDRESS_TYPE);
CREATE OR REPLACE TYPE ITEM_ADDRESS_TYPE AS OBJECT
GROUP_ID NUMBER(2),
NAME VARCHAR2(60 BYTE),
ADDRESS VARCHAR2(100));
CREATE OR REPLACE TYPE ITEM_GROUP_COMP_TAB AS TABLE OF ITEM_GROUP_COMP_TYPE;
Create or replace procedure ITEM_ADD_CHANGE(
ITEM_IN IN ITEMS_TYPE,
ITEM_ACTIVITY_IN IN ITEM_ACTIVITY_TYPE,
ITEM_GROUP_IN IN ITEM_GROUP_COMP_TAB,
ITEM_OUT IN OUT ITEMS.ITEM_ID%TYPE);
Above are the paramteres we are passing to procedure.
I need help in how to pass parameters to above procedure. All comments and responses will be highly appreciated. Thanks everyone for going through the post. Please let me know if more more information is required on this problem.
Regards
DevBilly Verreynne wrote:
Types used in this fashion, only make sense if the table is based on the type. It makes very little sense to have a table structure and then to duplicate the structure using a type.
The 2 structures may be defined the same. But they are NOT interchangeable and requires one to be converted to the other to use. This is not sensible in my view. It is far easier in that case to simply use the PL/SQL macro +%RowType+ to create a duplicate structure definition - one that can natively be used for touching that table, without conversions required.
If you do want to use types, define the type, then define the table of that type, adding the required constraints (pk, fk, not null, check) to the table's definition.Billy:
Just curious, why do you say it makes very little sense to have a type modeled on a table? I do that a lot. In my case, I am getting the values from an external program, not building them manually, but it makes a lot of sense to me.
One application where I do this a lot has a java front-end that parses HL7 messages. Each message contains at least minimal information about a variable number of entities (and often several rows for an entity) in the database, and must be processed as a single atomic trasnaction. So, rather than have potentially hundreds of parameters to the "main" driver procedures for different message types I created a set of types more or less identical to the tables representing the entities. The java program parses the mesasge and populates the type, then calls the appropriate stored procedure for the message type passing in the populated types. My stored procedure then does inserts/updates or deletes as appropriate over potentially dozens of tables.
John
Maybe you are looking for
-
Hi all, Can anyone explain the third party returns process and step by step configuration in IMG. its urgent. u can mail me to [email protected] tks
-
Can I plug Apple TV into a VGA monitor?
I'm considering purchasing an Apple TV. I do not own a TV, but I do have a large computer monitor which only accepts VGA input. Can I plug an Apple TV into it?
-
Oracle report builder v 10.1.2.0.
HI I would like to know how to create parameters and link them to report on oracle report builder v 10.1.2.0... thanking in advance
-
How can I buy a song but always asked the security questions and you don't remember them what should I do
-
Is there a way to map a string, like a name , into an integer that can be used as an array subscript?