Is application Express what I need?
Hi I wonder if you can offer any guidance.
I have a 9i database which is used weekly to load data into it from csv files. This is done using sql loader kicked off using windows batch files. Before, during and after the loading of the csv files certain sql queries are run to check the status of the database and the amount of data held in certain tables.
At the minute this process is carried out very labouriously using a "copy and paste" exercise, changing dates in prewritten queries kept in a large text file for the user to scroll through and use. Between running the queries, batch files are run which kick off the sql load process.
I would like to simplify and improve this whole process, allowing for the batch files and queries to be run at clicks of buttons and any results displayed on the screen.
Application express sounds like something that could be used for this but from looking at the overview of it, it seems to be mainly for running reports and running simple queries to be displayed in nice pretty ways.
Would it perform the obs I require, and if not, can anyone recommend somthing else that I can build a nice GUI experience that can kick off other batch programs?
Thanks.
Apex gives full access to SQL and PL/SQL features, so yes it should be easy enough to do. If the CSV file exists on the database server and is accessible by the Oracle user, then you can try using "external tables" to load the CSV directly. Search for examples. If you need to pick the latest CSV file or rename / delete it afterwards, see if UTL_FILE pkg does everything you want.
To run a batch script from Apex (on Windows) if really necessary, this will get you going:
-- from privileged account
grant create any job to scott;
grant create external job to scott;
grant execute on DBMS_SCHEDULER to scott;
--grant create any directory to scott;
--grant execute on utl_file to scott;
-- make sure OracleJobSchedulerXE started in Windows services!
--from scott
--DBMS_SCHEDULER.create_job
-- (job_name => 'testjob',
-- job_type => 'EXECUTABLE',
-- -- location of cmd.exe varies!
-- job_action => 'c:\windows\system32\cmd.exe /c c:\my-batch.bat',
-- enabled => false);
DBMS_SCHEDULER.run_job (job_name => 'testjob',
use_current_session => TRUE);
-- COMMIT; -- may be required??
Similar Messages
-
I am an Access Developer. Sometimes an application is larger than what Access can easily accommodate. I'm just wondering how simple it really is to use SQL Server (Express or the Developer Edition) as the back-end instead of Access. I have
used SQL Server in the past and though I am not a database administrator, I can at least get around and create tables etc., via Management Studio. I would like to avoid as much complexity as possible. Don't really want to get into stored procedures
etc. I noticed Mike that you are an Access developer. Is is possible to use SQL Server as the back-end as easily (or roughly so) as an Access database?
What is the file size limit to Express? Is it 4 GB or 10 GB? Is there a real advantage to having the developer edition instead. Is this a good time to wait for SQL Server 2014?
Thank you
WoodySHi WoodrowS,
Microsoft Access is a Rapid Application Development (RAD) tool that allows you to quickly build forms and reports that are bound to relational data. It comes with a file-based database engine (Jet/ACE). SQL Server Express uses a client/server model. This
means that SQL Server Express requires a running service to provide access to the data. Microsoft Access is not able to handle large quantities of database calls. Microsoft SQL Server is for medium to large businesses that need a solution for better data processing.
The database size limit is raised to 10GB in SQL Server 2008 R2 and 2012, and
maximum database size is limited to 4 GB (log file size is not counted) in SQL Server 2008.
Another option for database developers is SQL Server Developer Edition. Unlike Express Edition, Developer Edition has no limitations on database size, performance characteristics or functionality. However, it’s only licensed for use by
a single developer in a non-production development environment.
For more information about Microsoft Access, SQL Server Express version and SQL Server
Developer Edition, you can review the following articles.
http://www.ehow.com/about_5380306_microsoft-access-vs-sql-server.html
http://databases.about.com/od/sqlserver/a/free_sql_server.htm
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
Calling Java Applet from application express demo
Hi,
i found many topics about calling java applets in/from application express,
but I need a demo to learn how it works.
Does anybody know a downloadable demo where I can learn to write a java applet, storing in my application an calling from a button?
thx
Gerhard.
-
A wallet needs to be configured for this instance of Application Express
hi
I m very new to APEX. I could create web service client with wsdl. But when service is on https i get message
"a wallet needs to be configured for this instance of Application Express".
I have created wallet using OWM (10.2.0.1.0) at location c:\del_sometime
Using admin i configured APEX instance settings wallet as
Wallet Path = file:c:\del_sometime
And checked in database too
SQL> ALTER SESSION SET CURRENT_SCHEMA = APEX_030200;
Session altered.
SQL> SELECT
2 APEX_INSTANCE_ADMIN.GET_PARAMETER('WALLET_PATH')
3 from dual;
APEX_INSTANCE_ADMIN.GET_PARAMETER('WALLET_PATH')
file:c:\del_sometime
Any idea whats wrong? I am following steps from http://download.oracle.com/docs/cd/E14373_01/admin.32/e13371/adm_wrkspc.htm#BABFBJEAalso whe I try following i keep getting error failure to open file. I am on XP and file is present with proper permissions.
SQL> SELECT utl_http.request('https://support.oracle.com/',null,'file:c:\del_sometime\') from dual;
SELECT utl_http.request('https://support.oracle.com/',null,'file:c:\del_sometime\') from dual
ERROR at line 1:
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1577
ORA-28759: failure to open file
ORA-06512: at line 1 -
hey guys,i tried to install the latest version of itunes but when i try to open it,it just comes up windows error 2 apple application support was not found,can anyone help me out and tell me what i need to do pls ?
If you run into the "another installation" message even after the reboot of the PC (which is an excellent idea by HTP ProXy), reregistering your Windows Installer Service is worth a try.
First, launch a command prompt as an administrator. In your Start search, type cmd then right-click on the cmd that comes up and select "Run as administrator".
At the command prompt:
Type %windir%\system32\msiexec.exe /unregister and hit enter.
Type %windir%\syswow64\msiexec.exe /unregister and hit enter.
Type %windir%\system32\msiexec.exe /regserver and hit enter.
Type %windir%\syswow64\msiexec.exe /regserver and hit enter.
Restart the PC and try another reinstalll. -
I can't install my old logic 8 on my new macbook pro. It says it does not support powerpc applications anymore. what do i need to do?? this is ridiculous!!!
Logic 8 will probably run on your new machine but the installation program contains some older PPC code for pre Intel Macs. This was not a problem as all OSX versions contained the "Rosetta" PPC emulation, that is, up until Lion when all PPC emulation was dropped.
There are ways to do this however, try searching Google for: Installing Logic 8 under Lion or Mountain Lion. -
What has happened to Application Express Studio?
Application Express Studio (http://htmldb.oracle.com/studio) appears to be dead. The most recent posting to it was about 13-DEC-05. Why? There is no link to it from the OTN Application Express web page. Maybe that is one reason.
MikeWell, I think the problem is that very few people ever actually contributed to it (myself included). When you see something like -
"Time Tracking System (Added 1.7 years ago)"
In the "Most Recent" section, then there is little enthusiasm for people to post something of their own. It is a strange thing, but if there was 1000 applications, themes etc there then 'someone' might be more tempted to upload something of their own, however that means that 999 people before them would have needed to feel the same way.
It's exactly the same with the Unofficial APEX Wiki (http://wiki.shellprompt.net/bin/view/Apex/WebHome) that I host, it lives and dies on contributions from people. If nobody contributes then it ceases to be useful, if it ceases to be useful then people won't contribute...it's a vicious circle.
But, as I said, I'm as guilty of not contributing to the Studio as anyone else.
John. -
I download Itunes and keep getting the message "Apple Appliation support was not found. Apple application support is rquired to run Itunes. Please uninstall itunes, then install itunes again." Anyone know what i need to do to get it downloaded?
b noir
I have a very similar problem. I am running a new install of Windows 8.1. When I install iTunes 64 bit I receive 2 similar pop-up error windows containing the following (note error code and error text differ "iTunes Helper" vs. "iTunes"):
^^^^^^^^^^^^^^^^^^^^^
Apple Application Support was not found.
Apple Application Support is required to run iTunesHelper. Please uninstall iTunes, then install iTunes again.
Error 2
^^^^^^^^^^^^^^^^^^^^^^
Apple Application Support was not found.
Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again.
Error 2 (Windows error 2)
^^^^^^^^^^^^^^^^^^^^^^
I've followed the instructions given in this post:
download/install WinRAR
extract iTunes64Setup
double click AppleApplicationSupport.msi
When I run AppleApplicationSupport.msi, I receive the following error:
^^^^^^^^^^^^^^^^^^^^^^
! C:\Users\Charlie\Downloads\iTunes Extract - 2\iTunes64Setup\AppleApplicationSupport.msi: The archive is corrupt
^^^^^^^^^^^^^^^^^^^^^^
Any ideas? -
Lots of existing threads, but no consistent answer - what settings need to be applied to the 2012 (new) Airport Express for it to work at hotels with an ethernet only connection? Any answers specific to Japan would be helpful. I would prefer not to take my old Dell laptop and just be able to use my Ipad 2 via the wireless connection that the Airport Express creates. However, I can configure the Airport Express at home prior to leaving if that is the best thing to do.
I have a very similar problem with my AE! My MacBook, MacBook Pro & iPod Touch (1st Generation) all get a GREAT signal from our AE. BUT, our iPod Touch (2nd Generation) and new iPad (WiFi) get terrible signal strength unless we're right next to the AE!! Tech support at Apple is of no help! I'm ready to sell them all! This all started when we got the last OS update for iPod Touch/iPhone/iPad. So it must be a software issue not a hardware one..
Any ideas? -
Need help on installing Oracle Application express 3.2
Hi,
I had downloaded Oracle 11g database and installed the personal edition.I got the Enterprise manager login page working and also the DBConsole
I had Downloaded APEX 3.2 and wanted to install apex 3.2.I wanted to do the following scenario
Scenario 3: Install from the Database and Configure the Embedded PL/SQL
Gateway
Planning to do these steps: ( I have few questions on these steps and are below each step)
■ Running the apxconf.sql Configuration Script
Do I have to install Oracle Application express or is it already installed in 11g personal edition?
Do I have to create a seperate database or schema for this step( I have only one instance orcl1) ?■ Verifying the Oracle XML DB HTTP Server Port
Can I do this step in my current orcl1 instance,if so which user■ Enabling Oracle XML DB HTTP Server
Once I carry out these steps, Can I access the admin page for apex with https://localhost:port/apex_admin ?
Am I missing any other steps ?
ThanksI have one idea..
Try to install again:
1) download and unzip apex_3.2 in $ORACLE_HOME
You will have:
$ORACLE_HOME/apex - old directory
$ORACLE_HOME/apex_3.2 - new directory
2) in command line go to $ORACLE_HOME/apex_3.2/apex
run sqlplus "/as sysdba"
in sqlplus run @apexins tablespace_apex tablespace_files tablespace_temp images
Where:
tablespace_apex is the name of the tablespace for the Oracle Application Express application user.
tablespace_files is the name of the tablespace for the Oracle Application Express files user.
tablespace_temp is the name of the temporary tablespace.
images is the virtual directory for Oracle Application Express images. To support future Oracle Application Express upgrades, define the virtual image directory as /i/.
Example:
@apexins SYSAUX SYSAUX TEMP /i/
3) check installation log for errors
4) in command line go to $ORACLE_HOME/apex_3.2/apex
run sqlplus "/as sysdba"
in sqlplus run @apxconf
set admin password
set port
5) run @apxldimg.sql $ORACLE_HOME/apex_3.2
6) check for running listener and try to login apex: http:\\host:port\apex\apex_admin
Good luck! -
Upgrading Application Express on Oracle XE (installed on Ubuntu 8.04)
I'd installed on my laptop (OP is Ubuntu 8.04) Oracle XE and is wotking quite fine.
But I really like to upgrade apex to last version (3.1.2). I read documentation but are not many information about how to upgrade.
DanielThanks Arie,
On whatever version of Windows I've updated without problems Application Express.
I'm talking here about Ubuntu (a debian distribution of Linux).
My problem is where to unzip apex, where to use sqlplus command prompt etc., because is different than Windows.
If you don't have DBA rights on the account (user account other than root) you have errors in installation process and more.
For example they say in doc...:0
"To run the apxconf.sql configuration script:
1. Change your working directory to ORACLE_BASE\ORACLE_HOME\apex or whatever convention used to indicate the Oracle home.
2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS. For example:
* On Windows:
SYSTEM_DRIVE:\ sqlplus /nolog
SQL> CONNECT SYS as SYSDBA
Enter password: SYS_password
* On UNIX and Linux:
$ sqlplus /nolog
SQL> CONNECT SYS as SYSDBA
Enter password: SYS_password".....
When you install Oracle what version you need, OP (Linux) create a different user account for Oracle. Usually if you want to use your account like dba for oracle, you need to give to that account the proper rights.
So, I need a installation rutine (for upgrading) for apex on Linux. -
Application Express Install - Login and images don't work
I followed the instructions (as best I understood them) to install Apex on my database, and then setup an Oracle HTTP server to work with it.
The problems I have are:
When i goto the "first" page, which for me is: http://tomcatvs01.traxusers.com:7777/pls/apex/apex_admin
1. The "Application Express" image at the top doesn't come out, which indicates to me the images weren't setup correctly, despite my best efforts.
2. I'm not sure what my "username" should be. I remember specifying a desired password when I ran the sql to install the Apex on the database, but I don't remember specifying a username. I assume it is: APEX_PUBLIC_USER
3. The big problem... whatever Username/password I use, "nothing" happens when I click the "Login" button. With MSIE, it shows the exclamation "error on page." icon on lower left side when I click "Login", which details show this error message:
Line: 1
Char: 1
Error: Object expected
Code: 0
URL: My URL given above, but mixed with what appears to be the session ID, which is the same URL that i'm taken to when I goto the page in the first place.
It doesn't work with FireFox either, and I've tried the client/browser from multiple machines.
Advice appreciated.
My setup is to use an Oracle 10g release 02 database.
I installed Oracle HTTP server from the Companion CD on another machine, which already had an Oracle home/client of it's own.
I then installed APEX sql on the database (i first ran the webtoolkit sql) .
On the machine I put the HTTP server on, I copied the apex images to: E:\oracleHTTP\product\10.2.0\db\Apache\Apache\images
And I configured my dads.conf file (in E:\oracleHTTP\product\10.2.0\db\Apache\modplsql\conf) as such:
# ============================================================================
# mod_plsql DAD Configuration File
# ============================================================================
# 1. Please refer to dads.README for a description of this file
# ============================================================================
# Note: This file should typically be included in your plsql.conf file with
# the "include" directive.
# Hint: You can look at some sample DADs in the dads.README file
# ============================================================================
Alias /i/ "E:\oracleHTTP\product\10.2.0\db\Apache\Apache\images\"
AddType text/xml xbl
AddType text/x-component htc
<Location /pls/apex>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlDatabaseConnectString proddb01.traxusers.com:1521:trax ServiceNameFormat
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDefaultPage apex
PlsqlDatabasePassword apex
Allow from all
</Location>OKay, I kept reading other people's posts and I found the main culprit of my problems. I needed to add a forward-slash to my images directory specification in my dads.conf file. Now my images come out, and my login button "works".
However, I still can't login because i don't know the username (at least now it tells me the credentials are not correct!)
What is the username? I remember when running the @apexins SQL, i specified the password. But I don't remember every specifying a username, I even reviewed the instructions and couldn't find where I might have defined that. Please help! Can i extract it from one of the tables that was created? If so, I'd appreciate pointers as to which one exactly. -
Application Express Vs developer suite 10g
Hello
I am a beginner and I am confused which application package I have to use to build
my application consisting of forms and reports.
Can someone please highlight the difference in applications created using
application express and developer suite 10g.Their advantages and which one is
preferred with oracle 11g database as backend and its support with OS windows vista.
Please help us.Since we are planning to upgrade our old software developed
using oracle 8i and developer6.0
Thanks in advanceThanks for your suggestions.
Please suggest us once again how to proceed in our environment.
Actually we have developed an in-house erp package consisting
of different modules for production, finance, inventory .There
are many forms with many fields and customised reports and plenty of data entry.
As per your suggestion we can use Developer suite 10g by doing
one is to one migration with some modifications as required by developer suite
and moreover it is used only locally in intranet.This also needs a browser.
(this will be faster compared to APX since we have to redo all the forms
and reports from the beginning which will take time.).
Our doubt is, can we make our application (developed using developer suite)
web enabled later on without going for APX so that we can access our application
from customer or remote site through internet.
In that case what will be the requirement and how do we go about in making
our application web enabled.
Thanks once again for your valuable suggestions. -
Urgent Application Express response
Hi all:
I am developing an application using APEX, this application will be requested from an external web application.
The http request of the external web application will add some variables which will include users information that I will need to to use in my APEX to determine the what to display on the the page.
My problem is how do I do this, it appears that the REQUEST variable of APEX only works when APEX is already running for the user and will not display a thing upon the first request of the external application.
Please help meHello,
>> The http request of the external web application will add some variables which will include users information that I will need to to use in my APEX
The f?p syntax - http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BEIJCIAG – allows you to set the APEX items you need. Bear in mind that this URL is in clear text, and public. You shouldn’t use it for sensitive data.
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Forthcoming book about APEX: Oracle Application Express 3.2 – The Essentials and More -
Display date and Time in Oracle Application Express Page
Hi
I have a requirement of showing the date and time in the top left corner of the page which should be updated at all times . The format is DD-MON-YYYY HH24:MI:SS.
I am able to display the date but not the time . Also the time should be updating on its own to the last second.
Another requirement is that on selecting a particular value from the drop down the table values displayed should be filtered
Thanks in advance for helping me out
you can also send in the responses to [email protected]
Regards
Jude FrancoHello,
I am able to display the date but not the time Probably due to your NLS settings not displaying the time component for dates. However you can manually specify the output format like this -
jes@DBTEST> select to_char(sysdate, 'HH24:MI:SS DD-MON-YYYY') as TS from dual;
TS
10:47:45 10-DEC-2008
Another requirement is that on selecting a particular value from the drop down the table values displayed should be filtered Really need more details on that (remember assume that we know nothing about your requirements other than what you tell us). However at a high-level you need to include the drop down value in the query predicate used for your report, for example -
select
e.ename,
e.sal
from
emp e
where
e.deptno = NVL(:P1_DEPTNO, e.deptno)Would use the value from the P1_DEPTNO select list (presumably displaying department names) and use it to filter the result. The NVL is there so that if no dept is selected then the query by default shows all the records.
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!
Maybe you are looking for
-
I have an older Ipod touch, but an Ipod touch nontheless. I'm also using the cable that came with an iphone but i'm told that makes no difference. Finally, i'm moving my music from PC to mac, but no longer have my music on the PC, seeing as to how I
-
Hi, I had created a report and this is working fine in the my laptop and the local Presentation Services, but when i putting this in the Dev/Test Environment it is throwing an error "State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 1
-
Tape camera videos not showing up in events!?
Hey all. I've imported videos from a tape-recording Canon HD CMOS VIXIA HV30. They are saved on the Mac as events, but there is nothing in the iMovie workshop! I've tried dragging over the files from their saved location on the Mac, but they refuse t
-
How to integrate sunrise calendar with mac notification center
I've downloaded Yosemite and now I'm trying to get into using the Notification Center but it only seems to sync with the iCal which I don't use. I use Sunrise (chrome extension) calendar and I want those notifications to show up in the Today, Tomorro
-
A mini mac used for building sits in the data center normally we access via VNC network connection. I want to have "console" access to shutdown and reboot system. Reason. Updated to Mountain Lion OS X from 10.7.x and lost VNC connections, now host is