What is the Reporting tool that I will use in APEX? - reporting

I'm going to develop a new system using Oracle APEX.
I used to use Oracle Reports Builder to develop reports in Oracle Forms.
What Reporting tool should I use in APEX?
I need something with Oracle Reports features such as Conditional Formatting, PL/SQL support, etc?
Thanks and Regrads

You can use Oracle Reports with Apex - see this rather old how-to doc. Essentially, if you have Reports set up to run via the web then you can run a report via a URL like this:
http://myserver:7777/reports/rwservlet?report=myreport.jsp&userid=myuser/mypassword#mydb&desformat=pdf&destype=cache&p_empno=1234
So it is then just a matter of constructing this URL in Apex and using it. You can avoid passing the password as a parameter by using single sign-on for Apex and Reports.
See Quick Start Guide to Oracle Reports Server 9.0.4 for further details.
The recommended approach I think is to use BI Publisher, but that is expensive to license. There may be cheaper third-party alternatives to BI Publisher that can be used, but I don't know them.
I think there are a number of people in the Apex community waiting for a nice solution to this requirement!

You have that in APEX forms with PL/SQL. But you have to be more specific or you can try in http://apex.oracle.com/i/index.html creating a workspace and see what can be done with APEX.

Related

Oracle Application Express history

I'm using Oracle Application Express. How can I get session history (like Recent SQL Commands) and save it to custom table?
There is currently no ability to download the history from SQL commands, nor is the underlying table exposed to you via a public view. This is really such an obvious feature that is missing.
I have added it as a feature request, to be considered in a future release of Oracle APEX.

is possible to build a warehouse application using Oracle Application Express oracle 11g?

I'm intermediate PHP ,MySQL developer,currently, I'm building a warehouse application using MySQL with InnoDB engine and using PHP,I notice it's too annoying and slow to handle many languages at the same time(PHP,MySQL,HTML,CSS),then after googling I found (Oracle Application Express),it's sounds nice to me that I build my application and focusing on one programming language Oracle and leave the forms etc to the Oracle Application Express.so is it possible to build a warehouse management system with Oracle Application Express and Oracle 11g ? I'm good with SQL and I can learn Oracle very fast,please guys share you experience with me.
Thanks in advance everyone.
you can access pl sql from apex applications and apex itself generate a web frontend.
yes you can also create a login page and the separate pages cann be secured by user specific access rights

ArcSDE Database Refactoring Tool options

We are using liquibase as evolutionary DB change management tool in our applications, it works great when we use it in "common" database schemas.
But we also work with GIS applications using esri arcSDE 9.3 platform over Oracle and in this case, all (or almost all) tables (both GIS and 'alphanumeric' tables) in the schema are managed (create table, grants, etc.) through arcSDE. So when we want to create new feature classe now we use arcCatalog, and this way, it's not possible to manage the feature classes’ changes directly through SQL using liquibase or other automate refactoring tool.
So if we cannot use liquibase to manage changes, at least we want to execute the management operations over our features through command line.
We’ve started looking for tools that avoid the use of arcCatalog, and then try to automate the changes using scripts, we are investigating these possibilities:
Try to capture the SQL that arcCatalog/arcSDE is executing each time we make a change in one Feature Class monitoring the oracle connection. It outcomes us a too complex set of SQL instructions that involves indexes, versioning tables, etc. so we give up this way.
Use the sdelayer and sdetable admin commands installed on arcSDE server.
Use the data management tool: a python based library to manage the feature classes, but it has to be executed from a machine with the desktop version installed.
These last two options will provide a way to manage features from command-line, but our target is to find/develop a tool to manage changes similar to the way liquibase do. But with these tools we will have to find a tool that let us map each SQL DDL operation to an arcSDE command, and currently no db refactoring tool provides this (currently we have check liquibase, dbdeploy, flyway).
Anybody had solved this problem of evolutionary change management with arcSDE? Any insight of another way to face this problem?
I'll take a stab at this, although I'm unfamiliar with one of the products you mention (liquibase specifically - I have used Oracle and I'm very familiar with ArcGIS (ArcMap & ArcCatalog).
Here's just some additional information that may help and my interpretation of your question.
My interpretation - "What's a simple way to manage or enable us to automate the management of our tables of GIS data in our Oracle database without having to use ArcCatalog all the time?"
So - I'll throw this concept back in the ring - I know SQL Server has spatial datatypes "geometry", etc. and that you can bypass SDE and let ArcGIS directly connect and interpret this data without even installing SDE. I also know Oracle has compatible spatial types. So I would possibly consider migrating my data from the managed FC's that ArcCatalog creates and push them into oracle-native geometry based tables. This way you can treat them like regular tables, cut ESRI out of the solution, and manage them with liquibase, etc. Hopefully that helps.
I would also consider upgrading to 10.1 or at least 10.0 (I promise I'm not an undercover salesman), although that will require your users to come with you on the client side (http://resources.arcgis.com/en/help/main/10.1/index.html#//002q000000n8000000) because the newer python APIs are much easier and faster to use (arcpy vs. the GP model), if you do choose to use Python to manage your stuff. (Regardless, either API isn't very well developed and isn't intuitive to code in or fast.)
Good luck.

MS Access to Oracle database

I am developing an ASP.net application with Access database. I need to convert this Access database to Oracle. How can I do that?
I saw two options
Migrating the access database to Oracle through MIGRATION WIZARD in SQL developer
In Oracle, just creating a new connection with existing MS Access database and then converting to oracle.
Kindly let me know the best solution for this
thanks in advance,
Arjun
The two choices you proffer could be rewritten like this:
Use an automated tool written by experts
Do it the hard way and figure it out for myself
This is a personal, even philosophical, choice. Do you need to get the task done quickly? Or do you want to learn something along the way?
TRY IT and then tell us.
My experience integrating all things oracle with all things microsoft has always been complicated, and a lot of manual intervention was required.
It also depends on the complexity of your existing access database, if it's only one table, then you can grab that table sql, correct it for nvarchar -> varchar2 fields and datapump the data into oracle.
If Access has 1000+ tables I would suggest getting a professional to do it. Any reasonable dba should handle it no problem.
Please check the solution at Insert into from ms access to oracle db
You can customize the code based on your requirement. You can bundle the whole code into one class and prepare it as exe application.

Saving a report to a file on a client PC?

I would be grateful for a quick sanity check!
When calling Oracle Reports 10g from Oracle Forms 10g, is it possible to run an Oracle Report and save it on the users PC to a specified directory? (I know that if an Oracle Report is run in such a format as PDF the user can save the report to x location). To call the Oracle report I am using the Oracle Forms built-in "Run_Report_Object".
I don't think it is (but would be happy to revise my opinion!) and to obtain such functionality I would have to implement something similar to what is discussed in this thread
I have amended my question to include the fact that I am using the Oracle Forms built-in "Run Report Object" to call Oracle Reports.
There is a Oracle Report parameter: DESTYPE which can accept a value called LOCALFILE which saves the output to the client machine using the file name specified by DESNAME, however as I'm using "Run_Report_Object" it is not possible to use the value LOCALFILE.
One solution is to follow the steps given here.
Sources: Oracle Reports 10g Help (look for DESTYPE),
OTN thread

Resources