Execute script uploaded from Application Express

It´s possible to execute an sql script uploaded from an application in APEX?
Message was edited by:
user638756

Hi,
You can upload a sql script using SQL Workshop-> SQL Script
Once it is loaded open the script and you have option to run it.
Regards
Rana

Similar Messages

  • Print a report from Application Express direct to a CUPS Printer

    Hi all, I'm new to this technology, is it possible to print a report from Application Express directly to a CUPS Printer? Can someone tell me in laymans terms how to do it? I find the terminology and documentation less than helpful.

    Jeremy,
    BI Publisher handles submitting reports directly to a CUPS printer. However, the APEX integration doesn't currently integrate with that portion of BI Publisher.
    Here's an options:
    Use the Java API of BI Publisher to build a custom Java program that would do this for you. Delivering to CUPS is part of the Java API.
    Bryan

  • Reg : Executing .exe file from application server

    Dear Experts,
                        i have a requirement to execute an .exe file from application server,i tried with method CL_GUI_FRONTEND_SERVICES=>EXECUTE but it executes .exe file from presentation server only.can
    anyone kindly clarify to execute .exe file from application server?
    Thanks in advance,
    Sujay

    Hi,
    Did you search before posting?
    Re: Execute a .exe file present in the Application Server
    Vikranth

  • 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

    .

  • APEX: How to execute Script file from APEX

    Hello All,
    Can anyone tell me how to execute script file from APEX?(Step by Step process)
    Thanks & Regards,
    Jiten Pansara

    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21677/sql_rep.htm#AEUTL193
    Regards,

  • Referencing custom folders within the EUL from Application Express

    Hello,
    Is there a way to reference custom SQL folders built and contained on the Discoverer EUL from Applications Express?
    Has anyone done this before?
    Regards,
    Jeff

    Got it...

  • Is it possible to execute a stored procedure from application express?

    I have created a pl/sql application now I would like to give it a front end, I am new to application express.
    My application depends on running a couple of pl/sql procedures that modify data.
    What I need is my user to be able to execute the procedures from the application in a browser, is it possible to run a pl/sql procedure from an application express application in a browser?
    how would I go about doing this?
    thank you very much.
    Ramiro

    You sure can.
    If you want to run a PL/SQL procedure/package/function from the URL, create a specific DAD entry just for that (Oracle) user, and give that user EXECUTE permissions on the procedure. Then just use the new DAD with the procedure name, like http://myserver.somewhere.com/MyNewDAD/Schema_Owner.MyPackage.MyProcedure?InParameter=MyParameter)
    Of course, the above line will need heavy modification on your end, but I do this in my app, but I actaully pass it through a javascript attached to a button which then opens it in a new window.
    If instead, all you want to do is execute a procedure with ApEx as part of a validation or process or something, select the PL/SQL 'Region' (or process, whatever it is you want to do), and then write it as an anonymous block:
    begin
    MyProcedure;
    end;
    Bill Ferguson

  • Code 128 Barcode printed from Application Express

    Hi,
    My colleague and I have written a procedure to generate Code128 Barcodes. These appear fine on the screen within Application Express 3. But when we export the file as an RTF or PDF document to our BI_Publisher server running under LINUX RedHat the Barcodes are greyed out and cannot be seen.
    Anyone any ideas on how to solve this? It is extremely irritating only to be able to offer our users the ability to print the Application Express page off rather than a proper document.
    Thanks

    Hi kcbemssr,
    I don't know weather you can see this reply, but i still want to say something about this.
    Did you used another type of code 128?
    you can try this. and here is a site i recommand you, it's all about barcode, you can get code 128
    [Content Removed]

  • Master Data Flexible Upload from Application Server?

    Hi Group,
    Anyone know if it's possible to do a flexible upload of master data from a flat file on the application server?
    I'd like to upload FS items and hierarchies from the BCS app server into our development environment, then transport to QA & PROD.  We would obviously need some way to "save" after the upload was complete.
    In the workbench, I can right click--> execute on the flex upload method and get a pop-up for a workstation file.  In a data collection method, I can specify a logical file & filename, but I cannot choose master data (which might have allowed me to run a data collection method via the workbench).
    Anyone accomplished this before?  Or have any ideas if/how this is possible?
    Thanks,
    - Chris

    Hi Christopher,
    It is not possible to assign Flexible Upload Method with Master Data to be assigned to Data Collection Method.
    Flexible Upload with Master Data should be executed independently from Workbench.  This is system design.
    Regards
    Narayana Murty

  • How to execute SQL Instruction from Application Module

    Hi people
    I´d like to know how I can execute a SQL Instruction like "delete from user" from the Application Module ..prepareSession method...
    I´m Using Jdev 10 with ADF Faces
    thank you

    Hello,
    Code example:
    @Override
      protected void prepareSession ( Session session ) {
        super.prepareSession( session );
        setDebugOff();
      private static final String DEBUGOFF = "begin IVA_UI_ALGEMEEN_PCK.SET_DEBUG_OFF; end;";
      public boolean setDebugOff () {
        boolean success = false;
        PreparedStatement debugOffSP = null;
        try {
          debugOffSP = getDBTransaction().createPreparedStatement( DEBUGOFF, 0 );
          success = debugOffSP.execute();
        } catch ( Exception e ) {
          success = false;
        } finally {
          if ( debugOffSP != null ) {
            try {
              debugOffSP.close();
            } catch ( Exception e ) {
              log.warning( e.getMessage() );
        return success;
      }-Anton

  • How to generate a spool extsion. txt or. dba from Application Express- Apex

    ?:| I am new in the management of Oracle Express seems an excellent tool to
    work, when I have a difficult to generate the flat files (. txt,. dba,.
    csv, etc) ..
    {color:#0000ff}*I know that I must configure Oracle Express to generate the flat files in that folder and find the results are stored?*
    {color}Example: I have the following query:
    {color:#0000ff}{color:#000000}spool pagos.txt
    select *
    from pagos
    order by id_pagos;
    spool off;{color}
    If the generated file (. Txt,. Dba,. Csv, etc.) in which folder holds the result?{color}
    I appreciate your cooperation ..._

    You don't need to spool a file. You could:
    1. create a report,
    2. enable .csv output (report attributes / report export)
    3. and you will see a link for downloading the results from your report.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • Cgi script upload from Internet explorer

    i am having a problem with uploading files to my OS X 10.4.10 web server. i am using a simple perl script and have no problem with explorer, foxfire, netscape and safari running on MAC OS. i am also not having problems with foxfire and netscape running on windows XP. my only issue is with explorer running on windows XP. the files seems to upload to the server (/var/tmp/) and then cannot move the the directory designated in the script. once again, it works fine with every browser except explorer running on windows.

    This may not be the best place for perl support. That said, you may want to filter the incoming filename before writing the file to disk. Remember that IE on Windows sends the full path (C:\... etc), not just the filename itself.

  • Need to generate XML report  (when user clicks the button)from Application Express 4.0.0.00.46

    I am new to Apex so I invoke all the APEX GURUS to help me !!!
    Here are details.
    When the user hits a button from APEX page he can download an XML report
    here is the parameterized SQL query:

    Duplicate thread: https://community.oracle.com/message/11325665

  • How to upload file from Application Server?

    Dear Friends,
    How to upload file from Application Server?
    Plz. with example...
    Regards,
    Dharmesh

    hi,
    check the code for upload from application server.
    tables: kna1.
    types: begin of s_file,
             customer type kna1-kunnr,
             country  type kna1-land1,
             name     type kna1-name1,
             region   type kna1-regio,
           end of s_file.
    *--Internal tables
    data: it_file type s_file occurs 0 with header line.
    *-- Selection screen
    selection-screen: begin of block b1 with frame title text-001.
    parameter: p_file type rlgrap-filename default 'C:/customer.txt'
    obligatory.
    selection-screen: end of block b1.
    *-- At selection screen
    at selection-screen on value-request for p_file.
    perform file_help using p_file.
    *-- Process File
    start-of-selection.
      perform upload_file using p_file.
    *-- write File data to o/p
    end-of-selection.
      perform write_data.
    *&      Form  file_help
    form file_help  using    p_p_file.
      data: l_filepath type ibipparms-path.
      call function 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
       importing
         file_name           = l_filepath
      p_p_file = l_filepath.
    endform.                    " file_help
    *&      Form  upload_file
    form upload_file  using    p_p_file.
      call function 'WS_UPLOAD'
       exporting
         filename                      = p_p_file
         filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
        tables
          data_tab                      = it_file
       exceptions
         conversion_error              = 1
         file_open_error               = 2
         file_read_error               = 3
         invalid_type                  = 4
         no_batch                      = 5
         unknown_error                 = 6
         invalid_table_width           = 7
         gui_refuse_filetransfer       = 8
         customer_error                = 9
         no_authority                  = 10
         others                        = 11
      if sy-subrc <> 0.
        message i001.
      endif.
    endform.                    " upload_file
    *&      Form  write_data
    form write_data .
      loop at it_file.
        write:/ it_file-customer, it_file-country, it_file-name,
                it_file-region.
      endloop.
      endform.
    regards,
    keerthi.

  • How to execute ODI scenario from a web application

    Hi
    I need to execute ODI scenario from ApEx form.
    how to execute ODI scenario from application. Using 10.1.3.5.5
    -app

    In the SQL property of the TQuery object, enter the call as an anonymous block:
    begin
      pkg_name.procedure_name(true);
    end;

Maybe you are looking for

  • Application Server failed to start- Could not sign on to database HR91

    Hello there, I am not able to boot App Server Domain (started but the status is idle.) In the log, i also find the message that PSBRKDSP_dflt.452 (0) [04/01/11 23:35:53](0) PeopleTools Release 8.51 (WinX86) starting. Tuxedo server is PUBSUB(98)/100 P

  • Excel-Import with SBO 2007

    Hello to all! I have problems concerning the Excel-Import-function within SAP 2007. I want to import some business partners (what should not be such a huge problem), but an internal error occures which states: "internal error: Payment Methods for Pay

  • Opening camera raw file in elements

    I am using photoshop elements 5.0 on windows vista. My problem is I am not able to transfer my raw files to the editor. The message I get is 'cannot open raw files/08...NEF because it is the wrong type of file' I am very much a newbie at this so any

  • ITunes movies with no storage left on Macbook air

    Where can I put my Itunes movies if i have no storage on my mac? Itunes movies are taking up to much space, so can I move them somewhere? Or if i delete them, and get a Mac Desktop, will they be able to be redownloaded? I need the space for other thi

  • LabVIEW Web UI Builder is currently experienci​ng downtime (4/21/2011​)

    LabVIEW Web UI Builder is currently experiencing unexpected downtime. NI is working to resolve the issue, but users will temporarily be unable to access the editor. For status information and updates, please check check status.niwsc.com.