Slow changing dimensions in application express GUI

I need some kind of slow changing dimensions for application express GUI in order to be able
1) simply allow users to edit 1 row for 1 object in APEX GUI
2) widely use historical data in reporting.
I.E.:
Client's Last name (address, etc) was changed. I need to show in reports two points: before change and after:
ID Name Order_date Amount
12 Clark 1/1/10 500
12 Johnson 5/1/10 200
Are there common solutions?

There are probably a few approaches you can take:
1) Fine Grained Auditing (FGA) - very extensive and can be completely customized.
http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/cfgaudit.htm#sthref1766
2) Triggers - if you have basic needs on a few tables/columns, it may be easier to just roll your own trigger. You can compare the :old to the :new value, and if they differ, write both to your own auditing table.

Similar Messages

  • Slow change dimension

    Hi al,
    How slow changing dimension will support SID?
    The following is the advantages with SLOW CHANGING DIMENSION.
    1)language support
    2) master data independent of infosource
    3) uses numeric as indexes for faster access.
    plz explain the above points with example . i did not get that point.
    plz explain in detail. I will assign fulll points.
    Thanx & Regards,
    RaviChandra
    Edited by: Ravichandra.bi on Sep 20, 2011 10:59 AM

    Hi Ravichandra,
    I feel that the advantages that you have mentioned above also applies to dimensions of a cube in general. Slowly changing dimensions is data modelling concept in my view not physically present in the system.
    But thanks to your question i was able to deep dive into this concept and increase my knowledge.
    I found this link helpful http://en.wikipedia.org/wiki/Slowly_changing_dimension
    Best Regards,
    Kush Kashyap

  • Application Express Name Change???

    All,
    I know this is going to sound stupid... But, can someone give Application Express a better name?
    Application Express is a better name than HTMLDB. And I can see why it's new name was chosen - it all makes sense.
    The problem is with the seemingly duplicitous word "Express" in todays world. I know it means "Fast" in this case - that we can create applications quickly and easily. But for people that don't work with the software yet control which software is used or not (management), the word "Express" with regard to software has another meaning altogether.
    Typically software is offered in various levels and the word "express" generally refers to the bottom of the heap. In Oracle it's no different: "Enterprise" is the big boy and "Express" is the starter. Just to prove the point, what if we called it Application Enterprise? (not that we should) But see how that just sounds better? It would inspire confidence from the start!
    I just hate the fact that Application Express gets a bad rap from its name. It's the whole judging a book by its cover thing. Ok, I'll shut up now - I just had to make my thoughts known ;)
    Regards,
    Dan

    Hi,
    Joel's got the right idea. Just change your pronunciation from Ap-Ex, which invites management to ask "what's that stand for?" to A-pex. Of course, your boss must have a good enough English vocabulary to know what "apex" means! No promises there!
    Photoshop Express was mentioned, which is the photo editor I use because I don't want to pay for and have the learning curve for the 800-pound gorilla that is Photoshop. I just want a fast way to get my photos (and web applications) done. On that basis, I like Application Express even better!
    - Stew
    Good luck,
    Stew
    My Oracle Community blog: http://www.oraclecommunity.net/profiles/blog/list?user=stewstryker

  • How can we change default port 8080 of application express

    Hi all,
    Does anyone know how to change default port 8080 in application express to run on only "80"? I have tried the following link, but when i am trying to run using 80, error is being thrown.
    http://www.mypi.ch/?p=33
    I have checked that no other thing is running on 80 port. I am using Windows Vista
    With Regards,
    Sunil Bhatia

    I am really a newbie in this application express field.
    I have installed oracle application express 3.2 over oracle 10G Database as per steps provided on forum. Can you let me know how can i find which webserver i am using? is there any query which i could run to find this out...thanks for ur help. Do reply soon
    With Regards,
    Sunil Bhatia

  • Change over from Apex to Application Express

    When I connect to Oracle 10G XE I use the following URL:
    http://127.0.0.1:8087/apex/f?p=4550:11:73807998927860::NO:::
    Now I have downlaoded Oracle Application Express. How do I use it with my existing data on 10G XE?
    Do I need to have 11g?
    Thanks
    Edited by: user506392 on Sep 15, 2009 2:42 PM

    Perhaps the following will help:
    Oracle has a family of Database products. These are released every few years. The last few releases are
    Oracle 7; Oracle8; Oracle8i Database; Oracle9i Database; Oracle Database 10g; Oracle Database 10g Release 2; Oracle Database 11g; Oracle Database 11g Release 2
    For Oracle Database 10g Release 2, the family consists of a number of Editions which represent groups of features. In the follow list of editions, each successive one to the right includes the features of the one to the left:
    Express Edition; Standard Edition One; Standard Edition; Enterprise Edition; Personal Edition
    SO you can see, Express Edition (known as XE) has the fewest features. Each feature, when released, has a version. Some of these features included with Express Edition are
    - SQL language version 10.2.0.1
    - Oracle Networking 10.2.0.1
    - SQL*Plus 10.2.0.1
    - Oracle XDB 10.2.0.2
    - Application Express 2.2 (known in the community as HTMLDB, ApEx or Apex)
    The Apex feature gives us several capabilities: a web application development tool; an Oracle database access tool; (with XDB) a web application run time engine a bit like a mini Apache server. All of these capabilities (and more) are available using a browser.
    Apex 2.2 was a customized version of Apex designed for Express Edition. It includes several applications that can be used to administer an Oracle database.
    Oracle designed Apex to be easily upgraded. Since "Oracle Database 10g Release 2 Express Edition" (Oracle 10g XE for short) Oracle has provided several new versions, any of which can run in XE. However, the special applications used to manage Oracle DB are not available.
    By looking on the page I previously mentioned, you can get an idea of the new capabilities available in the newest version of Apex - version 3.2. It's up to you to decide whether it's worth losing the DB Admin capabilities in order to get those new Apex developer capabilities.
    In any case, you shoudl have enough background now to at least look at, and start to understand, the Apex tutorial and some of the other info on the Apex page, as well as the XE documentation page at http://www.oracle.com/pls/xe102/homepage

  • 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??

  • Application Express performance - tuning required?

    We have recently implemented a new Application Express system running under Oracle10g on a Linux/RedHat 4 server (actually a Dell PowerEdge 2850 with 8gb RAM and twin 3gb CPU's). The application mostly flies but on odd days (increasingly) performance degrade to the point where a single refresh takes longer than 5 seconds. We only have about 10 users on the system and the database is shared between about 25 users. We have had the network checked and have ruled that out as it only peaks at about 1.6mbps over a 54mbps line. I have updated stats on the database too. Looking in Enterprise Manager the HTTP_Server is hardly doing anything, the database appears to be using hardly any CPU but the memry allocation line on EM seems to be running along at 8gb all the time. The server is bounced every weekend.
    The SQL is nearly all embedded in PL/SQL packages called from App. Ex. We have tried some of the parameter changes mentioned elsewhere in the forum, particularly changing the "keepAlive" parameter = off, from which we saw an immediate performance hike, but which then tailed away.
    Can anyone suggest where the problem might be and where I can start looking and tuning to improve the performance of our application. We want to roll it out much more widely but are worried it wont scale to many more users and performance will stop completely.
    Its all mighty puzzling so any help would be most welcome.

    Hi Jeremy,
    if you have again such a situation where everything is slow, run your page in debug mode to get some statistics what's taking long. If it is really the rendering of the page or if it is something else (eg network problems).
    Just rethought the above what I have written. You can immediately find out if the rendering sometimes really takes longer. Have a look at the dictionary view      APEX_WORKSPACE_ACTIVITY_LOG and the column ELAPSED_TIME. It will tell you how long it took to render the page. See if you really have peaks sometimes.
    If you don't have a peak there, you probably have more of an network or Apache problem.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Can not login to Oracle Application Express after upgrade to 3.2

    I installed oracle database express and then I upgrade APEX to 3.2 on it. I got the login page but I can not login by using any account, like SYS, SYSTEM. From the document, internal ADMIN account should exist but I did not see it from dba_users table.
    Thanks,
    Julie

    HI Don,
    I did run apxchpwd.sql to change the Application Express ADMIN user password. Then I invoked http://mymachine:8080/apex and got the Application Express login page. I put ADMIN in workspace and ADMIN in Username and the new password. But I still cannot login. I also tried http://mymachine:8080/apex/apex_admin page login. I typed ADMIN as username and the new password. Then I clicked on Login button. Nothing happened. No error message.
    Any idea?
    By the way, what does apxxepwd.sql do?
    Thanks,
    Julie

  • Application Express Printing in 3.1 and Oracle 9i

    Hi,
    I am running Application Express 3.1 on a Oracle 9i box using application server 10.1.2 for the web server and when ever we try to do any printing to PDF files it files, changing to HTML give me the following errors; (it works fine from our 10g2 box also running Apex 3.1)
    Any ideas on this?
    Fri, 18 Apr 2008 17:45:41 GMT
    ORA-03113: end-of-file on communication channel
    DAD name: apex
    PROCEDURE : f
    URL : http://nww.infoportal.wiltshire.nhs.uk:80/pls/apex/f?p=105:7:4081603134239502428:FLOW_XMLP_OUTPUT_R383146513321010166_en-gb
    PARAMETERS :
    ===========
    p:
    105:7:4081603134239502428:FLOW_XMLP_OUTPUT_R383146513321010166_en-gb
    ENVIRONMENT:
    ============
    PLSQL_GATEWAY=WebDb
    GATEWAY_IVERSION=2
    SERVER_SOFTWARE=Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PORT=80
    SERVER_NAME=nww.infoportal.wiltshire.nhs.uk
    REQUEST_METHOD=GET
    QUERY_STRING=p=105:7:4081603134239502428:FLOW_XMLP_OUTPUT_R383146513321010166_en-gb
    PATH_INFO=/f
    SCRIPT_NAME=/pls/apex
    REMOTE_HOST=
    REMOTE_ADDR=10.184.150.119
    SERVER_PROTOCOL=HTTP/1.1
    REQUEST_PROTOCOL=HTTP
    REMOTE_USER=apex_public_user
    ORACLE_SSO_USER=
    OSSO_IDLE_TIMEOUT_EXCEEDED=
    OSSO_USER_GUID=
    HTTP_CONTENT_LENGTH=
    HTTP_CONTENT_TYPE=
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 1.1.4322)
    HTTP_HOST=nww.infoportal.wiltshire.nhs.uk
    HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    HTTP_ACCEPT_ENCODING=gzip, deflate
    HTTP_ACCEPT_LANGUAGE=en-gb
    HTTP_ACCEPT_CHARSET=
    HTTP_COOKIE=ORA_WWV_R1=%23ALL; ORA_WWV_R2=%23ALL; ORA_WWV_R3=%23ALL; LOGIN_USERNAME_COOKIE=dpithouse; ORA_WWV_REMEMBER_UN=DPITHOUSE:cascard; ORA_WWV_USER=180C4AB57E701292; WT_FPC=id=2c0fb891060c298ae401208366087265:lv=1208518017286:ss=1208517692850; WWV_CUSTOM-F_6578422443884676_105=AEA5DD5F752363DA; WWV_CUSTOM-F_6578422443884676_100=180C4AB57E701292
    HTTP_IF_MODIFIED_SINCE=
    HTTP_REFERER=http://nww.infoportal.wiltshire.nhs.uk/pls/apex/f?p=105:7:4081603134239502428:::::
    HTTP_SOAPACTION=
    HTTP_ORACLE_ECID=1208540734:10.162.200.150:1328:5536:2513,0
    HTTP_ORACLE_CACHE_VERSION=
    HTTP_AUTHORIZATION=
    WEB_AUTHENT_PREFIX=
    DAD_NAME=apex
    DOC_ACCESS_PATH=docs
    DOCUMENT_TABLE=wwv_flow_file_objects$
    PATH_ALIAS=
    REQUEST_CHARSET=WE8MSWIN1252
    REQUEST_IANA_CHARSET=WINDOWS-1252
    SCRIPT_PREFIX=/pls
    HTTP_IF_MATCH=
    HTTP_CACHE_CONTROL=
    SOAP_BODY=
    HTTP_X_ORACLE_DEVICE_CLASS=
    HTTP_X_ORACLE_DEVICE_ORIENTATION=
    HTTP_X_ORACLE_DEVICE_MAXDOCSIZE=
    HTTP_X_ORACLE_DEVICE=
    HTTP_X_ORACLE_ORIG_ACCEPT=
    HTTP_X_ORACLE_ORIG_USER_AGENT=
    HTTP_X_ORACLE_USER_LOCALE=
    HTTP_X_ORACLE_USER_NAME=
    HTTP_X_ORACLE_USER_DISPLAYNAME=
    HTTP_X_ORACLE_USER_USERKIND=
    HTTP_X_ORACLE_USER_AUTHKIND=
    HTTP_X_ORACLE_USER_DEVICEID=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE1=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE2=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLASTLINE=
    HTTP_X_ORACLE_USER_LOCATION_BLOCK=
    HTTP_X_ORACLE_USER_LOCATION_CITY=
    HTTP_X_ORACLE_USER_LOCATION_COMPANYNAME=
    HTTP_X_ORACLE_USER_LOCATION_COUNTY=
    HTTP_X_ORACLE_USER_LOCATION_STATE=
    HTTP_X_ORACLE_USER_LOCATION_POSTALCODE=
    HTTP_X_ORACLE_USER_LOCATION_POSTALCODEEXT=
    HTTP_X_ORACLE_USER_LOCATION_COUNTRY=
    HTTP_X_ORACLE_USER_LOCATION_TYPE=
    HTTP_X_ORACLE_USER_LOCATION_X=
    HTTP_X_ORACLE_USER_LOCATION_Y=
    HTTP_X_ORACLE_SERVICE_HOME_URL=
    HTTP_X_ORACLE_SERVICE_PARENT_URL=
    HTTP_X_ORACLE_HOME_URL=
    HTTP_X_ORACLE_MODULE_CALLBACK_URL=
    HTTP_X_ORACLE_MODULE_CALLBACK_LABEL=
    HTTP_X_ORACLE_CACHE_USER=
    HTTP_X_ORACLE_CACHE_SUBID=
    HTTP_X_ORACLE_CACHE_AUTH=
    HTTP_X_ORACLE_CACHE_DEVICE=
    HTTP_X_ORACLE_CACHE_LANG=
    HTTP_X_ORACLE_CACHE_ENCRYPT=
    HTTP_X_ORACLE_ASSERT_USER=

    Unfortunately I can't provide much help, other than that we have seen this before with 9iR2, but haven't yet figured out when this does occur, so not sure if it's related to a specific patch version. If possible, I'd recommend upgrading to database 10g or higher. And if we do figure out under what circumstances this problem comes up in 9iR2, I'll post this on the forum.
    Regards,
    Marc

  • Aggregating Slowly Changing Dimension

    Hi All:
    I have a problem with whole lot of changes in the dimension values (SCD), need to create a view or stored procedure:
    Two Tables within the Oracle db are joined
    Tbl1: Store Summary consisting of Store ID, SUM(Sales Qty)
    Tbl2(View): Store View created which consists of Store ID, Name, Store_Latest_ID
    Join Relationship: Store_summary.Store_ID = Store_View.Store_ID
    If I’m pulling up the report its giving me this info
    Ex:
    Store ID: Name, Sales_Qty , Store_Latest_ID
    121, Kansas, $1200, 1101
    1101, Dallas, $1400, 1200
    1200, Irvine, $ 1800, Null
    141, Gering, $500, 1462
    1462, Scott, $1500, Null
    1346,Calif,$1500,0
    There is no effective date within the store view, but can be added if requested.
    Constraints in the Output:
    1)     If the Store Latest ID = 0 that means the store id is hasn’t been shifted (Ex: Store ID = 1346)
    2)     If the Store Latest ID = ‘XXXX’ then that replaces the old Store ID and the next records will be added to the db to the new Store ID ( Ex: 121 to 1101, 1101 to 1200, 141 to 1462)
    3)     Output Needed: Everything rolled up to the New Store ID irrespective of the # of records or within the view or store procedure whenever there is a Store Latest ID that should be assigned to the Store ID (Ex: the Max Latest Store ID Record for all the changing Store ID Values) and if the value of Latest Store ID is 0 then no change of the record.
    I need the output to look like
    Store ID: Name, Sales_Qty , Store_Latest_ID
    1200,Irvine,$4400,Null
    1462,Scott,$2000,Null
    1346,Calif,$1500,Null or 0
    The Query I wrote for the view creation:
    Select ss.Store_ID, ss.Sales_Qty, 0 as Store_Latest_ID
    From Store_Summary ss, Store_Details sd
    Where ss.Store_ID=sd.Store_ID and sd.Store_Latest_ID is null
    union
    Select sd.Store_Latest_ID, ss.Sales_Qty, null
    From Store_Summary ss, Store_Details sd
    Where ss.Store_ID=sd.Store_Latest_ID and sd.Store_Latest_ID is not null
    And placing a join to the created view to Store Summary ended up getting the aggreagation values without rolling up and also the Store ID's which are not having latest ids are ending up with a value 0 and the ss quantity aggregated, and if there are changes within store id for more than two times then its not aggreagating the ss quatity to the latest and also its not giving the store name of the latest store id.
    I need help to create a view or stored procedure
    Please let me know if you have any questions, Thanks.
    Any suggestions would be really Grateful.
    Thanks
    Vamsi

    Hi
    Please see the following example
    ID- Name -Dependants
    100 - Tom - 5
    101 - Rick -2
    102 - Sunil -2
    See the above contents...assume the ID represents employee ID and the dependants include parents, spouse and kids....
    After sometime, dependants may increase over a period of time but noone is sure when exactly it will increase.....assume in case of a single get married and increase in dependants
    So the attributes of the Employee had a slow chance of changing over the time
    This kind of dimensions are called slowly changing dimensions
    Regards
    N Ganesh

  • 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.
    Daniel

    Thanks 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.

  • Problem with logon in to Application Express

    I have successfully installed oracle Application Express
    When I logged in to Oracle Application Express Administration Services for the first time he asked me to change password.
    After I changed the password I can't log in to the application any more with the new password .
    When I enter the user name and the new password no action happen,
    Although when I enter any wrong password, a message with Invalid Login Credentials appear
    User Name: admin
    Old password: password
    New password: oracle
    Thanx

    Hi Scott
    Same results in both IE and FF?
    I have only IE
    Do you have cookies enabled in the browser?
    Yes cookies are enabled in the browser
    Does the login page have only two text fields , username and password?
    Yes
    When you say "no action happen" does that mean you just see the login page all the time or do you see a blank page or something else?
    Yes I just see the login page all the time
    Thanx

  • Unable Logging in to Oracle Application Express Administration Services

    I am new for DB. Installed Oracle XE, followed the instruction "Logging in to Oracle Application Express Administration Services", I can not find the login page:
    http://127.0.0.1:7777/pls/apex/apex_admin
    I work on the PC in which XE installed.
    Where are these two files
    ORACLE_BASE\ORACLE_HOME\install\portlist.ini
    ORACLE_BASE\ORACLE_HOME\Apache\Apache\conf\httpd.conf
    I did a search, can't find them.
    Any help welcome.
    Thanks.

    The default port for the Apex webserver is 8080, not 7777.
    To access the XE Database GUI from the Start menu, select Programs (or All Programs), then Oracle Database 10g Express Edition, and then Go to Database Home Page. (I'm assuming your on Windows)
    Or try: http://localhost:8080/apex in your browser.
    The files you mention relate to Apache web server. Oracle XE does not include a Apache, it's web server is built into the database. Are you sure you're following the right documentation? See http://www.oracle.com/pls/xe102/homepage
    Hope this helps.

  • How can you SELECT via Database Link CLOB data using Application Express?

    Customer Issue:
    Developer using Oracle's Application Express 3.1. The Developer is trying to SELECT a CLOB datatype column from a remote (10.2.0.3) database, via a database link on her 10.2.0.4 based client Application. The Developer wants to be able to select CLOB data from the remote database which has limitation that she can't make any changes to the remote database.
    Developer's Comments:
    I do a select and get the error. Getting error ORA-22992: cannot use LOB locators selected from remote tables. So she feels she can't use dbms_lob.substr in this configuration I can do a "select into" but that is for one value. I am trying to run a select statement for a report that brings back more than one row. I do not have permission to change anything on the remote database. I want to access the remote database and multiple tables.
    This is not something I work with, would greatly appreciate help or ideas. Is this a limitation of the 3.1; or does she just not have this set up correctly; or should she be using a Collection (if yes, please share example)
    Thanks very much,
    Pam
    Edited by: pmoutrie on Jun 4, 2009 12:01 PM
    Hello???
    Would really appreciate an answer.
    Thanks,
    Pam

    This may not be a perfect solution for you but it worked for my situation.
    I wanted to grab some data from Grid Control's MGMT$JOB_STEP_HISTORY table but I couldnt' create an Interactive Report due to the existance of a CLOB column. I cheated this by creating a view on the GC DB, grabbing the first 4000 characters and turning it into a varchar2 column:
    create view test_job_step_history as
    select job_Name, target_name, status, start_time, end_time, to_char(substr(output,1,4000)) output
    from MGMT$JOB_STEP_HISTORY where trunc(end_time) > trunc(sysdate)-90
    In an APEX Interactive Report:
    select * from test_job_step_history@GCDB
    Granted, the output looks aweful right now but I am only looking for a very particular output (failed, denied, ORA-, RMAN-, etc) so the formatting isn't the most important thing to me right now.
    If anyone can improve -- and I'm sure you can -- on this I'd love to hear about it.
    Thanks,
    Rich

  • Check Box Bug in Application Express 4.0.2.00.06

    Hi All
    I was wondering if someone can help me with checkboxes, I'm trying to implement in the report.
    I was following Oracle instruction, but it does not work in my application, for some reason.
    First Issue:
    If I add in a query report the following line apex_item.checkbox(1,attachment_id) del, in the report display as *<input type="checkbox" name="f01" value="48" />* and not the checkbox item.
    However, I can overcome this problem by going into the region report and in display change as simple checkbox.
    Second Issue
    When I check any of checkboxes and click on delete button, I'm getting the following error.
    Not found
    The requested URL /apex/wwv_flow.accept was not found on this server
    I'm using Application Express 4.0.2.00.06
    Any ideas why this is happening?
    Any sugestions are welcome
    Please help me
    Thanks in advance.
    Edited by: Malas on 01-Dec-2010 11:09
    Edited by: Malas on 01-Dec-2010 16:05

    I'm getting a very strange error using the API for APEX_ITEM as well on Application Express 4.0.2.00.07
    select APEX_ITEM.checkbox (1, style_color) as "Selection", image,item,sizes,available_date, price, suggested_retail, Percent_Savings
    from sav_tab
    This is a table.
    There are NO where conditions.
    The on_submit process updates a page item :p3_selected with the checkbox contents:
    declare
    v_select varchar2(4000);
    begin
    :P3_SELECTED :='';
    FOR I in 1..APEX_APPLICATION.G_F01.COUNT LOOP
    if APEX_APPLICATION.G_F01(i) is not null then
    :P3_SELECTED := :P3_SELECTED ||(APEX_APPLICATION.G_F01(i))||',';
    end if;
    END LOOP;
    end;
    It was returning: item,item,item
    all of a sudden, it's now it's returning item, column4 contents from the whole page.
    What the heck!!!!!
    Edited by: Canucklehead on Mar 15, 2011 2:16 PM
    I was able to get this working again, by using a different field:
    APEX_ITEM.checkbox (5, style_color) and G_F05
    Edited by: Canucklehead on Mar 15, 2011 2:39 PM

Maybe you are looking for