Altering a MV

Hi
I had to alter a MV, since the base table(added 2 fields) got changed, which I did.
1) When I tried to refresh the MV, the MV is getting refreshed, but I am not able to find any values for the newly added columns. But when I tried running the query used in the MV, it retrieves values for the 2 new fields.
2) When I tried to select an employee record using the query used in MV it returned 3 rows, but when I queried the MV it returned 18 rows!!!!
How I altered MV
I dropped the MV, and recreated it using the modified query. The MV uses 3 index and the db version is 9i.
Can someone throw some light on this.
Thanks
Mani

Thsi si the MV, which I used.
drop materialized view sysadm.ps_m_ods_empawd_mv
create materialized view sysadm.ps_m_ods_empawd_mv
tablespace mrk_work
storage (
initial 10M
next 10M
pctincrease 0
minextents 1
maxextents 2147483645
pctfree 0 nologging
refresh force
on demand
as
SELECT
NVL(P1.VC_PLAN_TYPE ,' ')      AS VC_PLAN_TYPE
,A1.EMPLID
,A1.EMPL_RCD
,A1.VC_PLAN_ID
,A1.GB_GROUP_ID
,A1.VC_AWARD_DT
,A1.VC_CALC_AWARD
,A1.VC_AWARD_VALUE
,A1.VC_ACTUAL_AWD_UNIT
,A1.VC_ACTUAL_AWD_AMT
,A1.CURRENCY_CD
,A1.VC_PERF_FACTOR
,A1.VC_PAYOUT_PRD_ID
,NVL(P1.DESCR50 ,' ')      AS DESCR50
,NVL(P1.STOCK_ID,' ')      AS STOCKID
,A1.M_PLANNED_LTI_UNIT
,A1.INTL_ACTUAL_AWD_AMT
,A1.INTL_CURRENCY_CD
FROM
PS_VC_AWARD      A1
,PS_VC_PLAN_TBL P1
WHERE A1.VC_PLAN_ID = P1.VC_PLAN_ID(+)
AND P1.SETID(+) = 'GLOBL'
/

Similar Messages

  • How can I alter a calendar script to place progressive dates on every day in the calendar year?

    Is there an easy way either to alter the calendar script or create something that will allow for variable text in each day of the year?
    I am creating a calendar for a cattle rancher, and he wants to include a gestation calendar in the design.
    So...instead of the Julian date on every caledar day, he would like to include the date that a calf will be born if the cow had been bred on a particular day.  For example:  On the calendar date, January 1, in that box, another smaller date will appear - 10/9, On January 2 - 10/10 and so on. But, I need this progression to continue throughout the whole year.
    I have attempted to manually enter each date in a separate table and super impose it over the calendar, but this is very slow and very tedious. There has to be a faster way.
    I am comfortable looking at code and can often times figure out which fields to change, but I am a bit lost on this one. Where do I start?
    Please help!
    Thanks!

    That helped, but still did not solve the "continous scroll" question.
    I did however discover that if you go to Search and type in a "common" letter like "s", a Continuous List view will appear.
    Any further help on how to do this as a default view would be appreciated from any and all.
    Thanks for the help and for the link paulcb.

  • Error while altering a table in Oracle Portal

    i have a table with primary key. i realize that the primary is not required and when i get rid of primary key thru Oracle Portal and say OK ... i am encountered with the following error -
    Error:
    ORA-25150: ALTERING of extent parameters not
    permitted (WWV-11230)
    Failed to parse as PORTAL30 - alter table
    BPSITEST.JEN_TEST_PRIMARY_KEYS
    drop PRIMARY KEY
    modify(
    EMP_ID NUMBER(10),
    LAST_NAME VARCHAR2(10),
    FIRST_NAME VARCHAR2(10))
    PCTFREE 10
    PCTUSED 40
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    NEXT 256K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    ENABLE CONSTRAINT SYS_C003038 ENABLE CONSTRAINT
    SYS_C003039 ENABLE CONSTRAINT SYS_C003040
    (WWV-08300)
    Any Ideas .... anyone ... ??
    thanx
    null

    ORA-00054: resource busy and acquire with NOWAIT specified The table is currently in use by something else.
    Werner

  • Error while altering a table.

    Hi All,
    When i tried to alter a table. I got the following error.
    SQL> ALTER TABLE SALES_ORDER_TRANS_IHST ADD(SUPER VARCHAR2(1),REASON_CD VARCHAR2(10));
    ERROR at line 1:
    ORA-00069: cannot acquire lock -- table locks disabled for SALES_ORDER_TRANS_IHST
    Then I tried to enable table lock for that table. Again got error.
    SQL> ALTER TABLE SALES_ORDER_TRANS_IHST enable table lock;
    ALTER TABLE SALES_ORDER_TRANS_IHST enable table lock
    ERROR at line 1:
    ORA-00054: resource busy and acquire with NOWAIT specified

    ORA-00054: resource busy and acquire with NOWAIT specified The table is currently in use by something else.
    Werner

  • Altering a table in a materialized view environment

    Hello everybody!.
    My question is as simple as this:
    When I have a single master - multiple materialized views environment , and I want to alter the master table (usually adding a column) , how do I propagate the change to the materialized view sites ?
    In Oracle's documentation manuals it is written the process ONLY for the master sites.If I manually just alter the materialized views to the mat.views sites , the new columns DON'T take data from the master table!
    It would be very nice if someone could help me.
    Thanks everybody on advance!.
    Thanasis Avdis

    Hi,
    you must dorp and recreate materialized view.

  • Table schema not being updated after a SQL 'alter'

    Hi all,
    I have a problem to do with altering table columns and queries relating to that table thereafter.
    I have a table which has been queried using an OracleDataAdapter.Fill(DataSet), if I add a column using say using an OracleCommand.ExecuteNonQuery() or sqlplus session (and doing a 'commit' after) the column does not show up on subsequant 'Fill' queries unless I reopen the DB connection.
    Just as an example, here is my test table which is defined as:
    create table steveTest
         id numeric,
         name varchar(15),
         address varchar(25)
    with a few rows of data in...
    If I query the table using ODP.NET (10 & 11)
    OracleDataAdapter oraDap = new OracleDataAdapter("select * from steveTest",oraCon);
    oraDap.Fill(ds);
    Everything is fine until I add/remove a column with say sqlplus or via an OracleCommand.ExecuteNonQuery()
    e.g     "alter table steveTest add address2 varchar2(30)"
    Subsequent Fill or data reader queries only show the unchanged table schema, without the newly added column. If I remove a column the symptoms are worse and I receive a "ORA-01007: variable not in select list"
    I can only think that ODP.NET is caching the schema for that table on that particular connection. Is there anyway to forcefully clear this out?
    I have tried OracleConnection.PurgeStatementCache(); but this doesn't seem to help me.
    My connection string is defined as:
    Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.0.27)(PORT=1521)))
    (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=xe)));
    User Id=system;
    Password=mypass;
    HA Events=true;
    Validate Connection=true;
    Pooling=false;
    Enlist=false;
    Statement Cache Purge=true;
    Statement Cache Size=0;
    The application I am writing is a middle tier application which handles various DB drivers and maintains several 'connection queues' which multiple lightweight client applications can use concurrently. As you can imagine, a possible scenario may arise where a table is queried, altered and then queried again which causes the above issue. The only way I can stop this from happening is if I close/open the DB connection but I don't want to do this after every alter statement.
    I have tried this on Oracle Express 10g and Oracle 10g servers with ODP.NET clients (10.2.0.100/2.111.6.0). Just a point I thought worth mentioning, this does not happen in sqlplus.
    Any help would be much appreciated.
    Regards,
    Steve

    maybe u can check by debuggin the incoming idoc in we19.
    1. check the data u are sending from the source system
    2. check for the field before and ater change in the target system.
    maybe the field is update with the same content. also check the status record of the idoc
    Message was edited by:
            Prabhu  S

  • Altering database during migration from MS Access 2000

    Hi to all Oracle forum members.
    I want to migrate a MS Access 2000 database to Oracle 9i release 2. I want to know how can I alter the database design during the migration progress. My plan is to split an existing table to more and re-arrange the data and maybe introduce some new tables as well. These changes cane be made using the Migration Workbench or after migrating to Oracle? What is the most efficient way to do that and how can I accomplish these changes?
    Thanks in advance...
    A desperate new Oracle user... :)

    Hello patriotaki! I used Oracle Migration Workbench and everything seems to be fine..just take care on code page migration isssues ...have fun!!!

  • Refreshing Entity Objects after Altering the table

    Hi,
    My Entity Object is based on a table... and View Objects on the Entity Objects. Now if I alter the table (just changing the width of the column), that change is not visible on the Entity Object. Is there any way I can automatically refresh the Entity Objects after altering the table(only column width is changed).
    (Changes made to Entity Objects manually are reflected in the View Object correctly.)
    Regards
    Faiyaz

    'changing the width of the column' means changing the size of the column in the table description in the database. For e.g.. In the original table I had a column OIL_KEY NUMBER(6). Now I change the column to be of size 12 i.e. OIL_KEY NUMBER(12). This does not get refreshed in the Entity Object.

  • How to tell if a user is issuing 'alter session statements'

    When I run 'alter session' from sqlplus in my schema, this does not get parsed and go to v$sql or show up in v$open_cursor. I have a user that is running queries from informatica. He says he is passing alter session statements through informatica, I want to see if they actually get there. The person is not real versed in oracle and I don't know informatica.
    i cant turn on trace cause he connects and disconnects and this would run immediately, I am not in a position to turn on system level tracing, add a trigger, or turn on auditing (not allowed).
    anyway to tell from a data dictionary view or something like that if these were issued by a given session? The queries run for a few minutes, so I have a bit before his session disconnects to query the data. I can't get him to change his code to stay connected. Is there a view that shows parameter changes for a given session?
    oracle: 10.2.0.5
    4 alter session commands are:
    Alter session set sort_area_size=999999999;
    Alter session set hash_area_size=999999999;
    Alter session set db_file_multiblock_read_count = 128;
    alter session enable parallel dml;
    Edited by: Guess2 on Jul 17, 2012 12:49 PM

    i cant turn on trace cause he connects and disconnects and this would run immediately, I am not in a position to turn on system level tracing, add a trigger, or turn on auditing (not allowed). If Informatica connects to Oracle via network, capturing TCP/IP traffic and mining in it may be your last resort.
    you can get session's PDML status from
    select pdml_status from v$session;
    i cant turn on trace cause he connects and disconnects and this would run immediatelythis contradicts to your following statement
    The queries run for a few minutes, so I have a bit before his session disconnects to query the data.
    I can't get him to change his code to stay connected. Informatica should have debug. Ask him if he can go step by step.
    Edited by: user11181920 on Jul 17, 2012 5:53 PM

  • How can I alter an existing OA Page to call my JSP page ?

    hi,
    I want to use the existing oracle payslip page that when the user selects a date and clicks the Submit button it does all the relevant processing as normal but instead of displaying the Oracle payslip it should then display mine.
    I don't think this possible in Personalization so i tried creating my own controller code. I decompiled the Controller Code on the server and copied that into my new Controller class. I then added my own code to do a setForward to my page.
    I copied this new class to the server under XXmycust.oracle.etc etc and added this entry top the jserv.properties file.
    I then went into Personalize this Page to alter the controller - I set the Controller for the page layout to be my new controller, and bounced Apache. But when I try to access the page I just get the red Error message. !!!
    What is the correct procedure if you want to alter an existing page's Controller code ?

    Hi,
    Here is more information for you.
    Here is the ORIGINAL decompiled oracle controller :
    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3)
    // Source File Name: PayPayslipChoosePayslipCO.java
    package oracle.apps.pay.selfservice.payslip.US.webui;
    import oracle.apps.fnd.common.AppsContext;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.*;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OARawTextBean;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.layout.OATableLayoutBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean;
    import oracle.apps.pay.selfservice.common.server.PayGetCommonFunction;
    import oracle.apps.pay.selfservice.common.server.PayOnlineSSPrefs;
    import oracle.apps.pay.selfservice.payslip.webui.PdfPayslip;
    import oracle.apps.per.selfservice.arch.webui.Constants;
    import oracle.apps.per.selfservice.common.SSHRParamTable;
    import oracle.apps.per.selfservice.common.SSHRParams;
    import oracle.cabo.ui.beans.BaseWebBean;
    import oracle.cabo.ui.beans.RawTextBean;
    import oracle.jbo.*;
    public class PayPayslipChoosePayslipCO extends OAControllerImpl
    private String buildURL(OAPageContext oapagecontext, String s)
    boolean flag = oapagecontext.isLoggingEnabled(1);
    String s1 = oapagecontext.getRootApplicationModule().getDbc();
    StringBuffer stringbuffer = new StringBuffer("OA.jsp?akRegionCode=PAY_PAYSLIP_TOP_SS");
    stringbuffer.append("&akRegionApplicationId=801");
    stringbuffer.append("&dbc=" + s1);
    if(flag)
    oapagecontext.writeDiagnostics(this, "redirect URL = " + stringbuffer, 1);
    return stringbuffer.toString();
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    boolean flag = oapagecontext.isLoggingEnabled(1);
    String s = "";
    String s1 = "";
    oapagecontext.isLoggingEnabled(6);
    String s2 = PayGetCommonFunction.getLaunchedFunction(oapagecontext);
    String s3 = "";
    PayOnlineSSPrefs payonlinessprefs = new PayOnlineSSPrefs();
    String s4 = "PAYSLIP";
    if(flag)
    oapagecontext.writeDiagnostics(this, "processRequest start", 1);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
    SSHRParams sshrparams = new SSHRParams(oapagecontext.getRootApplicationModule().getOADBTransaction());
    String s5 = String.valueOf(sshrparams.getLegislationCode());
    s5 = "".equals(s5) ? (String)oadbtransactionimpl.getValue("INIT_LOCALIZATION_CODE") : s5;
    String s6 = sshrparams.getSelectedPersonName();
    String s7 = sshrparams.getPersonId();
    String s8 = sshrparams.getAssignmentId();
    String s9 = sshrparams.getEffectiveDate();
    String s10 = oapagecontext.getMessage("PAY", "PAY_NO_SS_PREF_PAYSLIP_WEB", null);
    if(flag)
    oapagecontext.writeDiagnostics(this, "legislationCode = " + s5, 1);
    oapagecontext.writeDiagnostics(this, "personName = " + s6, 1);
    oapagecontext.writeDiagnostics(this, "personId = " + s7, 1);
    oapagecontext.writeDiagnostics(this, "assignmentId = " + s8, 1);
    oapagecontext.writeDiagnostics(this, "effectiveDate = " + s9, 1);
    OARawTextBean oarawtextbean = (OARawTextBean)oawebbean.findIndexedChildRecursive("PayPayslipCheckRecord");
    OAMessageChoiceBean oamessagechoicebean = (OAMessageChoiceBean)oawebbean.findIndexedChildRecursive("PayPayslipChoosePayslip");
    OATableLayoutBean oatablelayoutbean = (OATableLayoutBean)oawebbean.findIndexedChildRecursive("PayPayslipChseTable");
    if(flag)
    oapagecontext.writeDiagnostics(this, "Got noRecordMessage, poplist, chseTable", 1);
    if(oapagecontext.getTransactionValue("") == null)
    String s11 = payonlinessprefs.getPreferences(oaapplicationmodule, Integer.parseInt(s7), s4, s9, "Online_Doc");
    if(s11 == null)
    oapagecontext.putTransactionValue("", "Y");
    else
    oapagecontext.putTransactionValue("", s11);
    if(flag)
    oapagecontext.writeDiagnostics(this, "DISPLAY_PAYSLIP = " + oapagecontext.getTransactionValue(""), 1);
    if(oapagecontext.getTransactionValue("").equals("N"))
    if(oarawtextbean != null)
    oarawtextbean.setText(s10);
    oarawtextbean.setRendered(true);
    if(oamessagechoicebean != null)
    oamessagechoicebean.setRendered(false);
    if(oatablelayoutbean != null)
    oatablelayoutbean.setRendered(false);
    if(!oapagecontext.getTransactionValue("").equals("N"))
    if(oapagecontext.getTransactionValue("payslipDateChk") == null)
    String s12 = (String)oaapplicationmodule.invokeMethod("checkDate");
    oapagecontext.putTransactionValue("payslipDateChk", s12);
    String s13 = oapagecontext.getTransactionValue("payslipDateChk").toString();
    if(flag)
    oapagecontext.writeDiagnostics(this, "PAYSLIP_DATE = " + s13, 1);
    if(oapagecontext.getTransactionValue("payslipDateChk") == null)
    String s14 = oapagecontext.getMessage("PAY", "PAY_34978_PROFILE_PAYSLIP_WEB", null);
    if(oarawtextbean != null)
    oarawtextbean.setText(s14);
    oarawtextbean.setRendered(true);
    if(oamessagechoicebean != null)
    oamessagechoicebean.setRendered(false);
    if(oatablelayoutbean != null)
    oatablelayoutbean.setRendered(false);
    return;
    } else
    String s15 = "pay_us_employee_payslip_web.get_term_info( " + sshrparams.getSelectedPersonBusinessGroupId() + ",person_id,action_context_id) = 'Y'";
    OAViewObject oaviewobject = (OAViewObject)oaapplicationmodule.findViewObject("PayPayslipChoosePayslipVO");
    if(!oaviewobject.isExecuted())
    oaviewobject.setWhereClauseParams(null);
    oaviewobject.setWhereClauseParam(0, s5);
    oaviewobject.setWhereClauseParam(1, s5);
    oaviewobject.setWhereClauseParam(2, s7);
    oapagecontext.getTransactionValue("payslipDateChk").toString();
    oaviewobject.setWhereClauseParam(3, oapagecontext.getTransactionValue("payslipDateChk"));
    if(oapagecontext.getParameter("pEnableTerms") == null)
    oaviewobject.setWhereClause(s15);
    else
    if(!oapagecontext.getParameter("pEnableTerms").equals("Y"))
    oaviewobject.setWhereClause(s15);
    } else
    OAViewObject oaviewobject1 = (OAViewObject)oaapplicationmodule.findViewObject("PayPayslipGetFunctionParamVO");
    if(!oaviewobject1.isExecuted())
    oaviewobject1.setWhereClauseParams(null);
    oaviewobject1.setWhereClauseParam(0, "pEnableTerms");
    oaviewobject1.setWhereClauseParam(1, s2);
    oaviewobject1.executeQuery();
    oaviewobject1.reset();
    boolean flag2 = oaviewobject1.hasNext();
    if(flag2)
    OARow oarow = (OARow)oaviewobject1.first();
    if(oarow != null)
    String s18 = oarow.getAttribute("Funcparameter").toString();
    String s20 = PayGetCommonFunction.getParameterValue(s18, "pEnableTerms", "&");
    if(s20 != null)
    oapagecontext.putTransactionValue("N", s20);
    if(!s20.equals("Y"))
    oaviewobject.setWhereClause(s15);
    oaviewobject.executeQuery();
    if(flag)
    oapagecontext.writeDiagnostics(this, "executed PayPayslipChoosePayslipVO, Query is " + oaviewobject.getWhereClause(), 1);
    oapagecontext.writeDiagnostics(this, "executed PayPayslipChoosePayslipVO", 1);
    oaviewobject.reset();
    boolean flag1 = oaviewobject.hasNext();
    if(flag)
    oapagecontext.writeDiagnostics(this, "choosePayslipExists = " + flag1, 1);
    if(!flag1)
    String s16 = oapagecontext.getMessage("PAY", "PAY_34977_NO_EMP_PAYSLIP_WEB", null);
    if(oarawtextbean != null)
    oarawtextbean.setText(s16);
    oarawtextbean.setRendered(true);
    if(oamessagechoicebean != null)
    oamessagechoicebean.setRendered(false);
    if(oatablelayoutbean != null)
    oatablelayoutbean.setRendered(false);
    if(flag1)
    oarawtextbean.setRendered(false);
    if(oamessagechoicebean != null)
    oamessagechoicebean.setListDisplayAttribute("PayslipChoice");
    oamessagechoicebean.setListValueAttribute("ActionContextId");
    oamessagechoicebean.setPickListCacheEnabled(false);
    oamessagechoicebean.setPickListViewUsageName("PayPayslipChoosePayslipVO");
    oamessagechoicebean.setRequiredIcon("NO");
    if(flag)
    oapagecontext.writeDiagnostics(this, "Choose Payslip Drop down is set.", 1);
    Object aobj[] = oaviewobject.getWhereClauseParams();
    for(int i = 0; i < aobj.length; i++)
    if(flag)
    oapagecontext.writeDiagnostics(this, "Value of Bind variable of Choose Payslip (" + i + ") : " + aobj.toString(), 1);
    if(oapagecontext.getTransactionValue("pActionContextId") == null)
    OARow oarow1 = (OARow)oaviewobject.first();
    if(oarow1 != null)
    dbTrans = oaapplicationmodule.getOADBTransaction();
    s = dbTrans.decrypt(oarow1.getAttribute("ActionContextId").toString());
    oapagecontext.putTransactionValue("EffectiveDate", oarow1.getAttribute("EffectiveDate").toString());
    s1 = oarow1.getAttribute("ActionContextId").toString();
    oapagecontext.putTransactionValue("pActionContextId", s);
    oapagecontext.getTransactionValue("pActionContextId").toString();
    oamessagechoicebean.setDefaultValue(s);
    if(flag)
    oapagecontext.writeDiagnostics(this, "pActionContextId = " + s, 1);
    if(oapagecontext.getTransactionValue("pActionContextId") != null)
    s = oapagecontext.getTransactionValue("pActionContextId").toString();
    if(flag)
    oapagecontext.writeDiagnostics(this, "process_asg_action not null, pActionContextId = " + s, 1);
    if(oapagecontext.getParameter("pCalledFrom") != null)
    oapagecontext.putTransactionValue("", "Y");
    if(s2 != null)
    OAViewObject oaviewobject2 = (OAViewObject)oaapplicationmodule.findViewObject("PayPayslipGetFunctionParamVO");
    oaviewobject2.setWhereClauseParams(null);
    oaviewobject2.setWhereClauseParam(0, "pCallfromMgr");
    oaviewobject2.setWhereClauseParam(1, s2);
    oaviewobject2.executeQuery();
    oaviewobject2.reset();
    boolean flag3 = oaviewobject2.hasNext();
    if(flag3)
    OARow oarow2 = (OARow)oaviewobject2.first();
    if(oarow2 != null)
    String s23 = oarow2.getAttribute("Funcparameter").toString();
    s3 = PayGetCommonFunction.getParameterValue(s23, "pCallfromMgr", "&");
    if(!s3.equals("Y"))
    String s19 = String.valueOf(oapagecontext.getEmployeeId());
    String s21 = oadbtransactionimpl.getAppsContext().getFNDGlobal("EMPLOYEE_ID");
    String s22 = sshrparams.getLoginPersonId();
    String s24 = null;
    if(s != null && !s.equals(""))
    OAViewObject oaviewobject3 = (OAViewObject)oapagecontext.getApplicationModule(oawebbean).findViewObject("PayPayslipGetPersonDetails");
    if(!oaviewobject3.isExecuted())
    oaviewobject3.setWhereClauseParam(0, s);
    oaviewobject3.executeQuery();
    oaviewobject3.reset();
    boolean flag4 = oaviewobject3.hasNext();
    if(flag)
    oapagecontext.writeDiagnostics(this, "personExists = " + flag4, 1);
    if(flag4)
    OARow oarow3 = (OARow)oaviewobject3.first();
    if(oarow3 != null)
    s24 = oarow3.getAttribute("PersonId").toString();
    if(!s22.equals(s7) || !s21.equals(s22) || !s21.equals(s7) || !s19.equals(s7) || !s24.equals(s7))
    oapagecontext.writeDiagnostics(this, "BUG3926332 Security Violation : Login person id is not same as person id, HrLoginPersonId = " + s22 + " PersonId = " + s7 + " fndGlobalLoginUser " + s21 + " asgPersonId " + s24 + " pCurrentUser " + s19, 6);
    oapagecontext.writeDiagnostics(this, "BUG3926332 Security Violation : SessionId :" + oapagecontext.getSessionId(), 6);
    oapagecontext.writeDiagnostics(this, "BUG3926332 Security Violation : EncryptedActionContextId :" + s1, 6);
    oapagecontext.putTransactionValue("", "N");
    String s25 = oapagecontext.getMessage("PAY", "PAY_34977_NO_EMP_PAYSLIP_WEB", null);
    if(oarawtextbean != null)
    oarawtextbean.setText(s25);
    oarawtextbean.setRendered(true);
    if(oamessagechoicebean != null)
    oamessagechoicebean.setRendered(false);
    if(oatablelayoutbean != null)
    oatablelayoutbean.setRendered(false);
    throw OAException.wrapperException(new OAException("Not allowed to view payslip due to security violation"));
    PdfPayslip pdfpayslip = new PdfPayslip();
    if(flag)
    oapagecontext.writeDiagnostics(this, "Identifying payslip architecture ...", 1);
    String s17 = pdfpayslip.chooseArchitecture(oapagecontext, oaapplicationmodule, Integer.parseInt(s7), oapagecontext.getTransactionValue("EffectiveDate").toString(), s5);
    if(flag)
    oapagecontext.writeDiagnostics(this, "Payslip architecture -> " + s17, 1);
    if(s17.equals("PDF"))
    pdfpayslip.generate(oapagecontext, oaapplicationmodule, Integer.parseInt(s7), oapagecontext.getTransactionValue("pActionContextId").toString(), oapagecontext.getTransactionValue("EffectiveDate").toString(), s5);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    boolean flag = oapagecontext.isLoggingEnabled(1);
    if(flag)
    oapagecontext.writeDiagnostics(this, "-----ProcessFormRequest start\n", 1);
    super.processFormRequest(oapagecontext, oawebbean);
    if(oapagecontext.getParameter("HrGoButton") != null)
    if(flag)
    oapagecontext.writeDiagnostics(this, "****** Go Pressed\n", 1);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    dbTrans = oaapplicationmodule.getOADBTransaction();
    String s = dbTrans.decrypt(oapagecontext.getParameter("PayPayslipChoosePayslip").toString());
    if(flag)
    oapagecontext.writeDiagnostics(this, "Assignment_action_id = " + s, 1);
    oapagecontext.putTransactionValue("pActionContextId", s);
    OAViewObject oaviewobject = (OAViewObject)oaapplicationmodule.findViewObject("PayPayslipArchDataVO");
    oaviewobject.setWhereClauseParam(0, s);
    oaviewobject.executeQuery();
    OARow oarow = (OARow)oaviewobject.first();
    oapagecontext.putTransactionValue("EffectiveDate", oarow.getAttribute("EffectiveDate").toString());
    String s1 = buildURL(oapagecontext, s);
    if(flag)
    oapagecontext.writeDiagnostics(this, "redirecURL >> " + s1 + "\n", 1);
    oapagecontext.setRedirectURL(s1, true);
    public PayPayslipChoosePayslipCO()
    public static final String RCS_ID = "$Header: PayPayslipChoosePayslipCO.java 115.21 2006/04/20 04:04:30 sdahiya noship $";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header: PayPayslipChoosePayslipCO.java 115.21 2006/04/20 04:04:30 sdahiya noship $", "oracle.apps.pay.selfservice.payslip.US.webui");
    public static final String PROCESS_ASG_ACTION = "pActionContextId";
    public static final String DISPLAY_PAYSLIP = "";
    public static final String PAYSLIP_DATE = "payslipDateChk";
    public static final String CALLED_FROM_MGR = "";
    public static final String EnableTerms = "N";
    public OADBTransaction dbTrans;
    =====================================================
    HERE IS MY NEW CONTROLLER
    =====================================================
    package XXmizuho.oracle.apps.pay.selfservice.payslip.US.webui;
    import oracle.apps.pay.selfservice.payslip.US.webui.PayPayslipChoosePayslipCO;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.OARow;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    public class XXmizuhoPayPayslipChoosePayslipCO extends PayPayslipChoosePayslipCO
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    boolean flag = oapagecontext.isLoggingEnabled(1);
    if(flag)
    oapagecontext.writeDiagnostics(this, "-----ProcessFormRequest start\n", 1);
    super.processFormRequest(oapagecontext, oawebbean);
    if(oapagecontext.getParameter("HrGoButton") != null)
    if(flag)
    oapagecontext.writeDiagnostics(this, "****** Go Pressed\n", 1);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    dbTrans = oaapplicationmodule.getOADBTransaction();
    String s = dbTrans.decrypt(oapagecontext.getParameter("PayPayslipChoosePayslip").toString());
    if(flag)
    oapagecontext.writeDiagnostics(this, "Assignment_action_id = " + s, 1);
    oapagecontext.putTransactionValue("pActionContextId", s);
    OAViewObject oaviewobject = (OAViewObject)oaapplicationmodule.findViewObject("PayPayslipArchDataVO");
    oaviewobject.setWhereClauseParam(0, s);
    oaviewobject.executeQuery();
    OARow oarow = (OARow)oaviewobject.first();
    oapagecontext.putTransactionValue("EffectiveDate", oarow.getAttribute("EffectiveDate").toString());
    String s1 = buildURL(oapagecontext, s);
    if(flag)
    oapagecontext.writeDiagnostics(this, "redirecURL >> " + s1 + "\n", 1);
    oapagecontext.setRedirectURL(s1, true);
    oapagecontext.setForwardURL("testdb1.jsp",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    =================================================
    HERE ARE THE ERRORS WHEN I ACCESS THE PAGE
    ===================================================
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:597)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:102)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.ClassCastException
         at oracle.apps.pay.selfservice.payslip.US.webui.PayPayslipChoosePayslipCO.processRequest(PayPayslipChoosePayslipCO.java:177)
         at XXmizuho.oracle.apps.pay.selfservice.payslip.US.webui.XXmizuhoPayPayslipChoosePayslipCO.processRequest(XXmizuhoPayPayslipChoosePayslipCO.java:14)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:102)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.ClassCastException
         at oracle.apps.pay.selfservice.payslip.US.webui.PayPayslipChoosePayslipCO.processRequest(PayPayslipChoosePayslipCO.java:177)
         at XXmizuho.oracle.apps.pay.selfservice.payslip.US.webui.XXmizuhoPayPayslipChoosePayslipCO.processRequest(XXmizuhoPayPayslipChoosePayslipCO.java:14)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:102)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)

  • Create view and alter Session gets 0RA-01031

    I can't create a view after using ALTER SESSION set current_schema without using an explicit schema. I get ORA-01031. Is this a known bug? Here are the details:
    1. Log on as SYSTEM
    2. ALTER SESSION set current_schema=FRED;
    3. CREATE VIEW vFoo as select * from Foo;     -- ORA-01031: insufficient privileges
    4. CREATE VIEW FRED.vFoo as select * from Foo;     -- this works!
    I've read where some privileges need to be granted directly. In fact, if Fred grants select privilege on Foo to SYSTEM, the statement in #3 above works. However, something doesn't seem right because why does #4 succeed without the GRANT?
    In case you're wondering why I don't just use #4 above, which does work, it's because I've got a script that will be run by customers to create tables, views, etc. in an arbitrary schema and the schema is associated with a user with limited permissions. Hence, the use of the ALTER SESSION.

    See, You looged as SYSTEM (Scheme = SYSTEM)
    Now you alter your session to another schema FRED.
    Now if you want to access SCHEMA of FRED, You need to connect first.
    SQL > connect user/password@host
    Then
    SQL > CREATE VIEW vFoo as select * from Foo;
    View created.

  • Using alter user to change oracle password for logged in web user on XE

    Hi All
    I'm building an app using the pl/sql web toolkit on XE (installed on Win XP Pro SP2). (I'm not using the APEX front-end).
    I'm using basic authentication and oracle database user accounts, and when a user registers for the first time I create them an oracle user account with dynamic sql, followed by some initial setup stuff, and they then log in with it.
    All fine so far.
    However I want to allow the user to change their oracle password as part of maintaining their user details. I've done this in the past using the web toolkit and Oracle 9i and it has worked fine using dynamic sql.
    Unfortunately I can't get the same thing to work in XE.
    For example, if I create the following procedure in the schema aligned to the DAD which holds my application and then run it from a browser (IE or Firefox) then the
    Browser and the db just hangs - not even an error message:
    CREATE OR REPLACE PROCEDURE ut
    AS
    v_stmt varchar2(300);
    BEGIN
    HTP.htmlOpen;
    HTP.headOpen;
    HTP.title ('User Test');
    HTP.headClose;
    HTP.bodyOpen;
    v_stmt := 'alter user "'||user||'" identified by "BERT"';
    htp.print(v_stmt);
    EXECUTE IMMEDIATE v_stmt;
    htp.print('Done');
    HTP.bodyClose;
    HTP.htmlClose;
    END;
    If I run the same statement in SQL*plus it's fine, and if I run the same proc for a different user then it's fine too.
    I'm sure it's something to do with trying to change the credentials of the currently logged in user, but I would at least have expected an error message.
    I'd be grateful for any ideas.
    Thanks
    Steve

    Hi g.myers
    Thanks for your response.
    Sorry, yes, bad turn of phrase there. It's not the entire db that hangs. The web browser (either IE or FF) hangs, and if I look at v$session at this point, I can see that the user STATUS=ACTIVE and the STATE=WAITING.
    I should also point out that I am using standard Oracle users as users of the application, (e.g. create a new user account called TESTER1). These users are then granted the appropriate privileges on the owning schema in order to run the app, access the tables etc.
    Therefore it is the user account (e.g. TESTER1) that is running the password change procedure that is owned by the SYS schema. (However again, this is the exact code and method that I've used in the past and it has worked fine).
    If I leave the browser hanging long enough, it will eventually return with the following error:
    Proxy Error
    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request POST /h/hopapp.pwdmaint_do.
    Reason: Error reading from remote server
    cheers
    Steve

  • Alter Statement in Select

    Can we write an alter statement in Select Query?

    Dynamic sql
    SQL> create table t_al (al number(10));
    Table created.
    SQL>
    DECLARE
       v_al   VARCHAR2 (200);
    BEGIN
        select 'alter table t_al modify al varchar2(20)' into v_al from dual;
    execute immediate v_al;
    end;
    PL/SQL procedure successfully completed.
    SQL> desc t_al;
      AL  VARCHAR2(20 CHAR)

  • How to alter table in sql server2008

    Hi Friends, I have import one table and want to alter table. How do i do this

    Hi ,
    YOu need Alter Command for the same. but you have to specify what you want to Alter.
    For Reference
    To add a column in a table, use the following syntax:
    ALTER TABLE table_name
    ADD column_name datatype
    To delete a column in a table, use the following syntax (notice that some database systems don't allow deleting a column):
    ALTER TABLE table_name
    DROP COLUMN column_name
    To change the data type of a column in a table, use the following syntax:
    ALTER TABLE table_name
    ALTER COLUMN column_name datatype
    http://www.techonthenet.com/sql/tables/alter_table.php
    http://www.tutorialspoint.com/sql/sql-alter-command.htm
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem.

  • How do I alter the html in the simple form contact us so it will upload and function on Bluhost?

    All representatives are actively assisting other customers. Your estimated wait time is 7 minute(s) and 0 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 7 minute(s) and 0 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 30 second(s) or longer. Thank you for your patience.
    All representatives are actively assisting other customers. Your estimated wait time is 6 minute(s) and 0 second(s) or longer. Thank you for your patience.
    You are now chatting with 'Parikshit'
    Parikshit: Hello K.
    Parikshit: I read your issue description.
    Parikshit: The form doesn't upload there. Does the form work fine when you test it on your computer by previewing in browser from Muse?
    k: hello I am examining my page in developer ( source) in safari and I can see lines of tesst that say the server encountered and error.
    k: If I export to my desktop, I can see the form but it does not work. If I upload it does not appear at all, and that is in not what adobe says the form will do. Adobe says the form will APPEAR but not function. It does not appear OR function. I had tried the 3 versions of php.... now I need to see a working form to a usual, commercial host so that I can copy the relevant code.
    k: lines of text
    k: And no, it does not work when I preview in browser
    k: When I preview to browser it does turn red for a while.... but it doesn't do anything.
    Parikshit: Can you publish the site in BC one to check if it works, if it doesn't then there must be some issue with the form itself. It's code.
    k: no. I do not have a subscription and my client does not want BC used at all. I have the new CC muse which is supposed to finally work without having to upload to BC.
    k: I have several cloud subscriptions, when cloud ever starts to work....
    Parikshit: You don't need to work in BC or have it as your host. This is just to test if it works.
    Parikshit: Just a trial site.
    k: but my client refuses to have anythig to do with BC, and I don't blame them. They had bad experiences inthe past and do not want to do anything that involves BC.
    Parikshit: You won't have to pay for the site.
    k: I don't want to involve BC because I promised my client I would not go there. They were very insistant. We were finally going to use Muse because you no longer are required to use BC. BC was the big sticking point. But if I can't do this without using BC, then I am right back to where I was year ago. No better.
    k: I think I have a limited number of occasions when i can use BC, and I don't want to do it now for this simple contact form. What a cheat.
    k: What other functions in Adobe Muse CC won't work unless they are euphemistically " tested" on BC? Save me the time and dissappointment tryig to use this software.
    k: Adobe states that the form will appear when uploaded to a outside site, but not work. The form does not upload, and the form does not appear. I tried version 5.2,5.3, 5.4 and then put php back to version 5.3.
    Parikshit: There is nothing wrong with it. Did you change the code of the form?
    k: no. And there is plenty wrong with it, it does not appear. I did not change the code because I want to look at a sample that has been altered to make sure I alter it the correct way. Where can I find the page source of a page that has the simple contact form widget used and uploaded to a commercial hosting site, and the forem works.
    k: form works
    k: This was a bug that was described last year and the release of this version advertised it had been corrected. It is not corrected.
    Parikshit: It is corrected and several users are able to use it fine.
    k: Then send me a page from one of the ones that is working fine.
    k: who are those several users? Give me names.
    Parikshit: there is either something wrong on the host's end that this doesn't get uploaded. We've already had many users upload it to an external hosts. We don't keep user site URLs with us, and hence I won't be able to provide you with one. But the best method here would be to post this on our forums, and then all our forum members (including users who have successfully implemented this) will be able to see the post and reply to it.
    k: I've seen them all complaining that this still doesn't work. Perhaps you should encourage some of the successful uploaders to post to the forum. Send me a link. I had numerous tech support people at the host check this and there was nothing wrong with their PHP or the upload path.
    Sorry, our chat session has ended due to circumstances beyond our control. Please feel free to contact us again if you need further assistance.

    Can you supply a link?

  • Altering table degrade performance - Help needed?

    Hi,
    I have a table called test_case which has 60 million records.
    I got a requirement to add new column with not null constraint and default value as 0.
    When I try to add new column with the above said constraints the schema modification taking 40 minutes.
    Alter table test_case add tax number(5) not null default 0
    Is there any workaround to modiy the schema with less minutes?
    I would appreciate if anybody help on this.
    Regards
    SP

    You wanted a faster approach that’s why I suggested this approach.  To my understanding there isn't any other method faster than CTAS method.
    Something like this you need to do  ( If you are in a position to apply the changes ) –
    1.     Create a Tables using CTAS method I mentioned
    CREATE TABLE New_Table ( col1,
                                            Col2,
                                             tax number(5)  Not Null
    As Select col1
                    ,col2
                    ,0
    From  Original_Table;
    2.     Disable the constraints ( Original Table )
    3.     Rename the Original_Table to Original_Table_Bak
    4.     Rename the  New_Table  to the Original_Table
    5.     Enable back the constraints
    6.     Drop the Original_Table_Bak

Maybe you are looking for