How to build reports using discoverer (oracle 10g on winxp professional)
hello:
I have an sql query which queries multiple tables.
I have to build the report using oracle discoverer plus...can anybody guide me what is the path to accomplish this.
the sql is following
SELECT COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME, COUNT(CARRIER.NAME) SUBSCRIBERS FROM COUNTRY, CARRIER, USER_DEVICE, USER_ WHERE
USER_DEVICE.APPLICATION_ID = 1 AND
USER_DEVICE.CARRIER_ID = CARRIER.ID AND
CARRIER.COUNTRY_ID = COUNTRY.ID AND
USER_DEVICE.USER_ID = USER_.ID
GROUP BY
COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME ORDER BY COUNTRY.NAME, CARRIER.NAME
when i try to validate this query in oracle business intelligence administrator by building a complex folder the validator gives error and cannot validate...
please tell me how can i accomplish to run the above query using oracel discoverer
yes it worked like that...thanks...
now i want to add user defined parameters to it...
as the folder is a complex folder all the colums i get(in discoverer plus) are those which i am mentioning in my query...but i have to get the parameter based on column from another table User_ and i can't show that column in my query as the query won't work if i include it...
I hope I was able to make u understand my problem...
please tell me how can i build paramters from the USER_table
Waqas
Similar Messages
-
How to connect Forms 6i & Reports 6i with oracle 10g R2?
Hey everybody,
I need your help in connecting both Forms 6i & Reports 6i with Oracle 10g Release 2 db, MS Access(2003, 2007) and SQL database(Microsoft Visual Studio 2008). I am a newbie. I have installed all of them on my HP notebook, with Windows 7 Ultimate(32 bit OS) installed. I want to generate forms & reports by accessing data from above mentioned databases. Please provide me with the configuration steps.
Thanks in advance...!Welcome to the forum ;-)
Please be sure to review the following:
http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
First, I think it would be a good idea if we can understand why you have chosen to use a nearly new operating system yet install Oracle products that are 10 years old (i.e. Forms/Reports 6i) on it. In general, this is not a good idea. Although running such an old version on Win7 can be made to work, the possibility of having problems is likely. If you are infact new to the product, using a configuration where you are likely to have problems may not be a good starting place. Also, you should be aware that Forms/Reports 6i was desupported several years ago. Documentation and other information is gradually being replaced by newer information, so resources for this old version are going away. The latest version of Forms/Reports is part of Fusion Middleware 11R2 (version 11.1.2.0) and requires WebLogic Server 10.3.5 (or 10.3.6) in order to be installed.
Second, if you decide to stick with F/R 6i, are you planning to run the applications you create in a browser or as a client/server application? This information is important because how you connect to a database will slightly differ depending on which option you choose. Also, if you want to connect to non-Oracle data sources you can use ODBC for client/server or Oracle Transparent Gateway. However, if you plan to deploy the applications using a browser, Gateway is your only option for connecting to non-Oracle datasources. As for connecting to MS Access, I believe ODBC is your only option, so web deployment may not be an option.
http://docs.oracle.com/cd/B19306_01/gateways.102/b14270/ch1.htm
There are many other references available. Try a Google search.
As for connecting to an Oracle database, this is generally easy. For the Builder(s) and client/server runtime to connect, add the db information to the tnsnames.ora found in the Oracle Home (installation directory) \network\admin. If you are unfamiliar with what goes in the file you can copy the entries created for your database. The db will have a similar file found in a similar place in its installation directory (Oracle Home). For example, you might find something like this:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = YOURSERVER.COM)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)Simply copy this information to the end of your tnsnames.ora found where Forms/Reports is installed then restart any running Forms or Builders. -
How to use the Oracle 10g JDBC OCI driver in JBoss ?
Greetings,
I deployed ojdbc14.jar in JBoss and I created an Oracle datasource. I have the following questions:
1. In the datasource descriptor file I have:
<connection-url>jdbc:oracle:oci:@(description=(address=(host=localhost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=xe)))</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
Is it enough in order to use the Oracle 10g JDBC OCI driver ?
2. After having looked-up the datasource and created a connection, the classe of these objects are org.jboss.resource.adapter.jdbc.WrapperDataSource and, respectivelly, org.jboss.resource.adapter.jdbc.WrappedConnection. How can I have access to oracle.jdbc.oci and oracle.jdbc.pool packages ?
Many thanks in advance,
NicolasHello
We were banging our heads on a similar thing, maybe this will help
We needed to convert the wrapped connection to an OracleConnection so that we could do a proxy switch, but maybe you could apply it to your situation anyway
1-you have to convert the Connection object to an OracleConnection in order to use the method that does the proxy switch
The method to do this is getInnermostDelegate()
Once you call this method, you get a new Connection object that can be cast to an OracleConnection object
See below for the snippet of code
// now switch the user and reselect
if (conn instanceof DelegatingConnection) {
properties.put("PROXY_USER_NAME","peter/peter");
oraConn =((DelegatingConnection)conn).getInnermostDelegate();
if (oraConn == null)
out.println("oraConn is null\n");
((OracleConnection)oraConn).openProxySession(OracleConnection.PROXYTYPE_USER_NAME,properties);
2-you have to put a setting in the xml file in conf/Catalina/localhost that allows you to call the getInnermostDelegate() method
By default, Tomcat does not allow you to call this method, it will always return null
You have to change the xml to allow it to return an object
It seems that WebSphere and Tomcat both frown on vendor-specific methods that do not comply with the JDBC standards, but do allow it
Here is the setting:
<parameter>
<!-- NOTE: This is necessary to enable access to the Oracle connection object -->
<name>accessToUnderlyingConnectionAllowed</name>
<value>true</value>
</parameter>
Note, this setting was also put in the conf/server.xml file
Thanks
Peter -
How to execute fast a report using an Oracle Repors6i?
Hi guys,
Im doing a report using an Oracle Reports6i, I encountered a problem regarding
the TABLE. Everytime i run the report it takes 1 hour to display the report.
The problem was the TABLE im using has a large volume of data. What im going to
do with this TABLE with lots of data.
Can anyone help me execute my report faster.
Thank you.
Lalauser528488 wrote:
Hi guys,
Im doing a report using an Oracle Reports6i, I encountered a problem regarding
the TABLE. Everytime i run the report it takes 1 hour to display the report.
The problem was the TABLE im using has a large volume of data. What im going to
do with this TABLE with lots of data.
Can anyone help me execute my report faster.
Thank you.
LalaUse a very restrictive WHERE clause on "the TABLE".
Or, undertake some performance tuning (utilizing the previously posted links to provide proper information). -
How to install Procedural Option in Oracle 10g Database express edition
When i try execute exec send_mail shows error ORA-00900: invalid SQL statement.
Error code shows "This error can occur if the Procedural Option is not installed "
How to install Procedural Option in Oracle 10g express edition
I'm using Oracle 10g Database express edition. Let me know how to run a procedure.I'm not sure of the meaning of ORA-00900 for Oracle XE but I think that PL/SQL is already installed by default according to the XE features list.
See the Oracle® Database Express Edition 2 Day Developer Guide about procedure call. -
How to find encrypted columns in oracle 10g database
Hi,
How to find encrypted columns in oracle 10g database? We can see using view dba_encrypted_columns or all_encrypted_columns .
my question is apart from this is there anyother views or tables?
Thanks..user602872 wrote:
Hi,
How to find encrypted columns in oracle 10g database? We can see using view dba_encrypted_columns or all_encrypted_columns .
my question is apart from this is there anyother views or tables?Hmm not which I could find,
SQL> select * from dict where lower(table_name) like '%encrypted%';
TABLE_NAME
COMMENTS
DBA_ENCRYPTED_COLUMNS
Encryption information on columns in the database
ALL_ENCRYPTED_COLUMNS
Encryption information on all accessible columns
USER_ENCRYPTED_COLUMNS
Encryption information on columns of tables owned by the user
SQL>HTH
Aman.... -
How to create new database on Oracle 10g
Hi All,
Can any one tell me how to create new database on oracle 10g.
Thanks in Advance for your help.again some confusion here.....
u said u need a new database in your first post and now you saying u need a new schema..
one database has many schemas(users)..... ex: scott,sys,system are few of them...
now it depends you need seperate database for test,dev environment - this is in the case u have many schemas under each database and many tables(objects) under each schema.
OR
You just need a separate schema (in same db) for test,dev environment...where in you will have multiple tables in each schema...U need to know the dba credentials of the db to create a new schema.
ideally u need to have different database...You can create one with out sys/system(oracle users) password as these passwords are db dependent.
what you need is access to the any machine where server is installed(can be the same mc where you have your dev db or a diff machine) and that will be the machine where your db will be installed (can do it through database configuration assistance),ofcourse you will need windows authentication for this.
so you login to the same machine or access it from your machine using remote login.
I hope that is clear.Hope i am not listing things that you already know..Just did it coz of confusion between db and schema
Message was edited by:
coolguy -
How can I change SGA_TARGET IN Oracle 10G.
Dear Experts,
Please tell me
How can I change SGA_MAX_SIZE IN Oracle 10G.
How can I change SGA_TARGET IN Oracle 10G.
How Can i recreate SPFILE IN Oracle 10G.Dear Experts,
Please tell me
How can I change SGA_MAX_SIZE IN Oracle 10G.
How can I change SGA_TARGET IN Oracle 10G.
How Can i recreate SPFILE IN Oracle 10G.SGA_MAX_SIZE and SGA_TARGET are all to be changed by alter system statement.
The difference is, you can't make change to SGA_MAX_SIZE effective while instance is running. Need restart database to make change effective.
Your can change SGA_TARGET while instance is running, as long as it's smaller than SGA_MAX_SIZE
to recreate a spfile,
you can shutdown your database,
find a copy of valid pfile,
startup pfile=/directory/yourpfile
and
create spfile from pfile; -
How can I change SGA_MAX_SIZE IN oRACLE 10G.
Dear Experts,
Please tell me
How can I change SGA_MAX_SIZE IN Oracle 10G.
How can I change SGA_TARGET IN Oracle 10G.
How Can i recreate SPFILE.another copy of dup How can I change SGA_TARGET IN Oracle 10G.
-
How to run report server in oracle 9i DS
hi..
can any 1 tell me how to run report server in oracle 9i DS
i've installed oracle 9i DS, but don't know how to run
report server.
actually i want to run a report from my form
on button press trigger.. some of the experts r tellin
that 1st u check whether report server is running or not..
so pls tell me how to install report server.
while installing oracle 9i DS, i've given Mail server
as mysmtp.com
Thanks
amithi ..
i've to go in this directory n run
rwserver -install repservername
where repserver name is my mailserver..
this will install reports server
Amit -
How to call Report 6i/9i Oracle Standard Report into Discoverer 10g
How to call Report 6i Standared report into Duscoverer 10g as there is a requirement to create or transfer Oracle Standard report into Discoverer.
1) Account Analysis Subledger Details(180 Char) - Standard Report 6i as i want the same report in Discoverer 10g.
2) Aging Report -- 7 bucket --Standard report in 6i,how to transfer in Discoverer 10g.
Is is possible to Transfer from Report 6i to Discoverer or How to Create this report in Discoverer 10g.
Please advice,
SushantWell, if I had to do it, here's how I'd start.
1. Get the SQL from the Oracle Report and then create a database view that's more generic based on the SQL but still gets the answers.
For example, you'd not code many conditions, etc. but the database view would be pointing to the correct Oracle Apps tables / views.
Once you've got the view, bring it in to Disco Admin, etc. and create a report from it that now adds the extra conditions needed. That way you can use the underlying concept without hard coding things like dates, etc. which you would ask the user at run time.
However ... as you may well know ... Oracle Reports can do some 'strange and/or powerful things' on the fly and, for example, it may be something like a temporary table generated for the report, etc. so may become a much bigger issue.
2. If you have NoetixViews views then they'll most likely already have the views for these queries already created as they're reasonable for what's needed in an Oracle environment.
3. I'd see if there is already a pre-defined BIS view that covers this as well. Again, you're in an area that's pretty popular so if a BIS view already covers much of the same info then you've got a create view 'head start' already. Check views owned by Apps starting with the application plus FV or FG (the one you'd really want) such as: GLFG_Budgets_To_Actuals to see what I mean.
Russ -
How to generate report using toad in oracle 10g
hi ,
i am using oracle 10g with toad editor .if i am execute any table, result it will be 100 rows like, i want to make report each records page wise with header,footer etc..
please help..
thank u..That is a Toad question isn't it, and Larry still didn't buy Quest, so you are at the wrong address.
Go to http://www.questsoftware.com and find their forums.
Thank you.
Sybrand Bakker
Senior Oracle DBA -
How to Custom Report using sql server report builder for SCCM 2012 SP1
Hi ,
I am new to database, if i want to create a manual report using sql server report builder for SCCM 2012 SP1, what step should i take.
i want to create a report in which computer name, total disk space, physical disk serial no come together. i already added class (physical disk serial no.) in hardware inventory classes. refer snapshotHi,
Here is a guide on how to create custom reports in Configuration Manager 2012, it is a great place to start, change to the data you want to display instead.
http://sccmgeekdiary.wordpress.com/2012/10/29/sccm-2012-reporting-for-dummies-creating-your-own-ssrs-reports/
Regards,
Jörgen
-- My System Center blog ccmexec.com -- Twitter
@ccmexec -
How to the find the Delete records/Statement used in Oracle 10g database?
Hi all,
I am Using Oracle 10g Database release 2 on Windows 2003 Server Enterprise Edition... Last week One of my user has deleted important records from my database,i need to find who did this... is there any way to find out ...Please Advice me ....One More thing i have not enabled the Auditing features in My database .....
Thank You
ShanRajesh Lathwal wrote:
Use log miner ..
Regards
RajeshEven with that, if he wants to know WHO, he will have to have previously enabled extended logging .... -
How to build and use Oracle workflow with Content DB
Hi All,
do we have any documentation that assist us in developing and applying the Oracle workflow (Developed using the Oracle Workflow builder) to the contentDB folder.
Is there an alternative other than using the BPEL or oracle workflow builder for developing the workflows that work with Content DB.
Thanks
KrrishHi Krrish
From a custom workflow perspective, Content DB uses a loose coupling mechanism based on advanced queue messages to integrate workflow engines.
CDB has no specific BPEL code/support - but rather requires the workflow engine to be able to dequeue a message from the outbound queue (IFS_BPEL_OUT), and return an approve/reject response queue message on the inbound queue (IFS_BPEL_IN). As Oracle BPEL supports advanced queue tables, it can thus be leveraged from Content DB.
Hence, you can potentially use any workflow mechanism/tool you like, so long as that it is able to obtain a message from the outbound queue, and respond on the inbound queue.
As far as Oracle Worflow is concerned, we don't ship with any documentation/samples to describe/develop its workflow processes. Nor do we support replacing the out-of-box Oracle Workflows.
cheers
Matt.
Maybe you are looking for
-
Why when I try to login the Itunes Connect with my Apple ID it always says: "Apple ID does not have permission to access iTunes Connect."?
-
Dear All, I am using the following in a PL/SQL Before Header process. Please help me with the following : APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY_B ('LEASE', 'SELECT LSE_NUM
-
I need an Adobe Acrobat 9 Standard download link
I'm reloading a PC, and have the licence, and I can see the link for Acrobat 9 Pro, but not Acrobat 9 standard.
-
PSE 7 Organizer crash/stall/fail
I've been using PSE 7 Organizer in Windows XP without problems for quite awhile. Recently, the program locks up on the first image in the library. The hourglass shows and it says "generating thumbnails," yet nothing seems to happen. I generally have
-
Load limitations for Captivate Files in RoboHelp?
We are investigating RoboHelp 9 as a solution for an upcoming help project that would involve a large number of Captivate demos (approximately 70) ranging in size from 1 - 5MB. Has anyone run into issues using large numbers of Captivate files in a Ro