Fixed_Date: Defaulting the systimestamp to a different value

Hi All,
In our Database we are using Systimestamp rather than sysdate as per Customers requirement. We need to default systimestamp to different value rather than the Current Date.
We tried Fixed_date but its working only for sysdate.
Can some one help me on this
Cheers

945381 wrote:
In our Database we are using Systimestamp rather than sysdate as per Customers requirement. We need to default systimestamp to different value rather than the Current Date.
We tried Fixed_date but its working only for sysdate.
Can some one help me on thisThis is off-topic for this forum. Post DB issues with no APEX dimension in the {forum:id=61} forum.

Similar Messages

  • Query parameters with the same name and different values

    According to HTTP, multiple query or post parameters with the
    same name and different values are permitted. They are transfered
    over the wire in the following format -
    name1=val1&name1=val2&name1=val3
    The problem is that I can't see anyway of assigning multiple
    parameters with the same name and different values to the request
    object of mx.rpc.http.HTTPService. I have tried using the
    flash.utils.Dictionary object as it does strict key comparison but
    that doesn't work too. I have tried setting an array of values to a
    property of the request object but that sends the request to the
    server in the following format -
    name1=val1,val2,val3
    The java servlet engines throw exceptions when they see this.
    Any help would be greatly appreciated.

    If you're not on 8.1.4 move there. 8.1.3 had limitations in the wsrp
    release.
    wrote:
    I have an html select box that contains several values, and multiple
    selection is enabled. When my code runs as a remote portlet, the
    following is showing up in the soap monitor when I select multiple
    values and submit the form:
    <urn:interactionParams>
    <urn:portletStateChange>cloneBeforeWrite</urn:portletStateChange>
    <urn:interactionState>_action=addEmployeesToGroup</urn:interactionState>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}OldValue">
    <urn:value>true</urn:value>
    </urn:formParameters>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}">
    <urn:value>beatest1</urn:value>
    </urn:formParameters>
    In this case, I selected beatest1 and beatest2, but only beatest1 comes
    through to the remote portlet. Is this a known bug, and, if so, is
    there a patch or workaround available?
    Thanks in advance,
    Andy

  • The table has total different value than what I inserted!

    Hi, I have a table named "cfg2" and the structure of the table is like this.
    Name Null? Typ
    UID NOT NULL VARCHAR2(30)
    S1 VARCHAR2(10)
    S2 VARCHAR2(10)
    UIDFLAG NOT NULL NUMBER(1)
    I inserted "UID" values from 1 to 100 with preparedstatement. The code looks like this.
    String query = "insert into cfg2 values (?,?,?,0)";
    ps = conn.prepareStatement(query);
    for (int i =1; i <=100; i++)
    String ii = String.valueOf(i);
    ps.setString(1, ii);
    ps.setString(2, "blaHi");
    ps.setString(3, "blaHa");
    ps.execute();
    conn.commit();
    The strange thing is that the value of "uid" is different from what I inserted. When I use "select * from cfg2", then it shows exactly the values which I inserted. Like this.
    UID S1 S2 UIDFLAG
    1 blahi blaha 0
    2 blahi blaha 0
    3 blahi blaha 0
    ..... Until the UID is 100.
    But I can't get any special line, using "select ...where uid like '3(for example)'". So I let only the UID values be shown, using "select uid from cfg2", and then the astonisching result came. All the uid values are 77, like this.
    UID
    77
    77
    77 .....
    I deleted the table and established another table with the same structure and tested again. The result was always same. No matter what I insert into "UID", the value which I got was always 77. Does anybody have same or similiar experience? Any help is welcome. Thanks.

    What is your source material? Is it H.264? FCP does not work correctly with that material.
    Click on a source clip in the FCP Browser, and once selected, type Command + 9 to see the item properties for the clip. Either report those properties, or take a screen shot of the item properties, and post that here.
    Next, click anywhere in your timeline, and then type Command + 0 {zero} to see your Sequence Settings. Either report those Sequence Settings, or take a screen shot of the Sequence Settings and post that here.
    MtD

  • PFCG, two roles with the same object but different values

    Hi, Can you help me?
    I need to know if it's possible have two roles like this:
    role A - Object werks = L001 and LIKP-LFART = LF
    role B - Object werks = L005 and LIKP-LFART = ZLF
    If the some user have role A and role B it's possible that he doesn't have authorization for werks = L005 and LIKP-LFART LF?
    Thanks
    Dora

    I guess you made fat figure on the words: "it's possible that he doesn't have authorization for werks = L005 and LIKP-LFART ZLF", right?
    If so, it is impossible.
    When SAP doing the authorization check, it call the function "authority_check", input the Object, the filed and the value to check.
    if some one have role A and B, SAP will check authority both in Role A and Role B.
    What you need to do should be separating the Object into a subrole and assign it separately.
    >
    Jorge Sousa wrote:
    > Hi, Can you help me?
    > I need to know if it's possible have two roles like this:
    > role A - Object werks = L001 and LIKP-LFART = LF
    > role B - Object werks = L005 and LIKP-LFART = ZLF
    > If the some user have role A and role B it's possible that he doesn't have authorization for werks = L005 and LIKP-LFART LF?
    >
    > Thanks
    >
    > Dora

  • Time Dimension Type allows different values in attributes - Bug or Feature?

    Not sure if this is a bug or a feature.
    But if one has multiple hierarchies on a Time dimension. You have the ability to specify different values for member attributes in different hierarchies.
    Example.
    Hierarchy A has MIN_ID for it's Member and uses MIN_END_DATE for it's END_DATE
    Hierarchy B has MIN_ID for it's Member and uses SESS_END_DATE for it's END_DATE
    As per this post and David Greenfield's comment:
    Dimension Sort issue when multiple mappings for different hierarchies
    "Are you attempting to map the same attribute, SORT, to different columns in the two hierarchies? Put another way, do you expect the same member to have different values for the attribute in the two different hierarchies? If so, then this is a problem since a member must have the same value for the attribute regardless of the hierarchy."
    Unlike a user dimension, a time dimension appears to allow this and it appears to work as intended. Is the behavior in this case intended to be different between a user and time dimension?

    I think that this is not a bug. There is an incompatibility in design which prevents you from using the same attribute differently for both hierarchies.
    NOTE: Unlike parent relationship which depends on <dimension, dimension hierarchy>, Dimension Attribute is dependent on <dimension> alone, not dependent on <dimension, dimension hierarchy> combination. Hence it can only take on 1 value for 1 dimension member.
    I think that the time dimension only appears to allow this. The key thing to check is for Time Dimension members which are common to both the hierarchies. Only one of the mappings will take effect (usually the hierarchy which is loaded last will remain in the aw/usable for queries, reports.. it would have over-written the earlier attribute value loaded as per the earlier hierarchy load).
    Visualize a dimension as a long list of members which are built up contiguously on a per hierarchy, per level process using the mapping information saved. Once a member is defined (created) via Hierarchy A, it wont be created once again while loading Hierarchy B but is instead updated or redefined based on Hierarchy B's mapping info.
    Assuming the dimension load attempts to load Hierarchy A first and then Hierarchy B,
    * Dimension load for Hierarchy A will define the various members using MIN_ID and set the END_DATE attribute to value=MIN_END_DATE
    * Dimension load for Hierarchy B will re-define the various members using MIN_ID and re-set or over-write the END_DATE attribute to value=SESS_END_DATE
    * In this case, it looks like all members are common for both hierarchies (as both members are mapped to same column MIN_ID) and you would end up with END_DATE=SESS_END_DATE.
    Actually whether all members are common to both hierarchies or not depends on the quality of data in your snowflake/star table: if parent level for Hierarchy A as well as Hierarchy B is setup fine then the members will be same set (overlapping in whole). If some rows for MIN_ID have parent column for Hierarchy A setup correctly but parent column for Hierarchy B =null or invalid value then that member will exist in Hierarchy A alone and would contain END_DATE=MIN_END_DATE as the corresponding update along Hierarchy B would fail due to hierarchy data quality issues (join from current level to parent level).
    As regards a solution to your problem, you should not use the same attribute "SORT" for dual purpose (both hierarchies). Instead define attributes SORT_A and SORT_B and make them enabled for Hierarchy A, Hierarchy B respectively and map/use them appropriately in your reports.
    HTH
    Shankar

  • :VARIABLE_NAME and v('VARIABLE_NAME') have different values

    A basic question ...
    I have the following ... (including some debug stuff) ...
    IF (:P3_PE_REQ_STATE = 'NEW') THEN
    :P3_PE_REQ_STATE := 'DRAFT';
    insert into debug_table values(null,v('P3_PE_REQ_STATE'));
    insert into debug_table values(null,:P3_PE_REQ_STATE);
    commit;
    END IF;
    The DEBUG_TABLE shows two different values ... with v('P3_PE_REQ_STATE') = 'NEW' and :P3_PE_REQ_STATE = 'DRAFT'
    Why would these be different?

    In ajc's block, v('P3_PE_REQ_STATE') obtains the value from the PL/SQL package state copy of session state in the database session. This is the pre-updated value. The assignment statement with :P3_PE_REQ_STATE on the left-hand side changes the value of the bind variable, which may be subsequently altered/referenced as a bind variable to the extent the name remains in scope for the duration of the dynamic execution of the block. At the end of the block, the final value of any bind variables corresponding to page or application items and whose pre- and post-execution values are different are written to the session state tables and committed (using the same code invoked by HTMLDB_UTIL.SET_SESSION_STATE). At that point the package-state copy of session state is also updated so that subsequent references using the v function will get the updated value.
    Scott

  • How do I default the value in an LOV?

    Dear experts,
    What I am trying to achieve is changing the default value in an LOV, based on the value of another field. I have an LOV that lists employee names. There is another field, an account number, which when selected is used to determine the default employee set against this account. This employee I want to use to add into the LOV as a default the value, before the user selects a value in the LOV. The user can still invoke the LOV and search for a different employee, but the functionality I am concered with is setting this default employee.
    I have modified the ProcessForm in the associated controller class. I have obtained the account number and using an SQL query I have obtained the default employer, but I can not seem to set this value in the LOV as a default. Does any one have any ideas?
    For the LOV there are two criteria values in the LOV mapping, the org id and the code combination id, both used in the query to get the default employee.
    Many thanks for your assistance in advance.
    Mark

    Hi,
    IF want use dependent lov ..then refer below link..
    http://oracleanil.blogspot.com/2010/12/dependent-lov-in-oaf.html
    Or
    IF u want set any default value in lov2 when value selecetd in lov1...
    Get the event of the lov1 on PFR..
    if("LOv1ID").equals(pageContext.getParameter(SOURCE_PARAM))
    && ("lovUpdate".equals(pageConext.getParameter(EVENT_PARAM))
    || "lovValidate".equals(pageConext.getParameter(EVENT_PARAM))))
    Here try set default value as given by Gyan...
    Pls check syntax errors...
    Regards
    Meher Irk

  • When saving downloads is there a way to instruct Firefox to save the download to a different folder other than the default?

    I downloaded a printer driver to Firefox's default downloads. I started the exe file and a window opened so I could install the driver. I selected run, and the window closed and nothing happened. I finally had to use MS IE in order to save the file to a different folder. I was then able to decompress the file and install it. Is there an option in Firefox to override the default downloads folder with a folder of my choosing? Running Win 7 Home Prem 64 bit, FF 5.0.1.

    This is the same issue that has plagued me for years. I always thought that this was a Flash plugin issue, but it does occur on HTML5 as well. A friend of mine verified that this does not occur in Linux, but only on Windows. It would be great to have this fixed, as it's honestly the only thing that's making me use Chrome all the time, as I don't want to have multiple browsers open.

  • Passing different values to the same servlet

    Hi,
    Is there a way to pass different values to the same servlet?
    Background:
    I have a database that I query to acquire a list of customers, then I show each customer as a link, that when clicked will show details of that customer. (The customer table is dynamic so I can't create a new page for each customer)
    When using JSP what I do is
    //Do query database
    while (rst.next())
         String cust = rst.getString ("cust");
            out.write("<a href = \"cust2.jsp?cust=" + cust + " \" >" + cust + "</a> ");
    }Then on the cust2.jsp. I will use
    String str = request.getParameter ("cust");to acquire the customer to get details of.
    Is there a way to do the same using servlets?
    I could swap to JSP when creating this particular part of the project but it won't look good and it would help me learn a few things when there is another way.

    I want to know if there is a way to pass a variable from a webpage link like in my JSP example using servlets.
    Here is what I wanted to do:
    I have a webpage that contains customer names and each name has a link to the same servlet (let's say the link is famia/servb). I want servb to show detailed information about the customer my visitor clicked in the webpage.
    The logic I was thinking is to pass a variable to this servlet, then I can use that variable to know which customer should I query in my database. So that I can show the details to my users.
    Here lies my problem, I don't know how I can pass this variable, or even know which customer my visitor clicked. I can't use a new servlet for each client since the customer is in a database and if my customer base grows then I would need to create a lot more web page that does the same thing.
    The JSP example I gave is how I will be coding it if I am using JSP, but now I am using servlets. So I was wodnering if there is a way to do this using servlet. Or should I stay with using JSP for this particular logic and just call servb after the JSP page acquired the variable.
    I'm trying not to use "<original URL> + ? + <variable> = <value>" (eg: http://www.famia.net/customer?cust=famia) as the means for passing the variable. (or in the example as a means of passing variable cust with value famia)

  • How to default the values in BP screen with BDT?

    Hi all,
             I am working in BDT enhancement for BP for Grants mangement. Therefore there are some screen fields in BP transaction should directly get saved in GMSPONSOR table.  I mean to say user would give some values in BP screen(One can get it at the runtime by calling the FM BUP_BUPA_BUT000_GET) and the relevant values will autometically goes to GMSPONSOR table if the BP is saved.
    As per my knowlwdge there are many events under BUPT transaction and there also I found the entry of GMSPONSOR table. Can anyone tell me in which event I have to default these screen values and redirect these to GMSPONSOR table?
    Thnaks & Regards
    Dibyendu.

    Dear Smita,
                    Thanks for your reply. The fact is that if I could default it in the screen text box then it would autometically goes to the corresponding table at save event.
    So could you help me to identify the event by which one can keep default values in screen.
    May be ISDAT or ISSTA event  to default the valuesfor BP.
    I have done to some extent for the fields belonging to BUT000 with the help of FM BUP_BUPA_FIELDVALUES_SET. I have placed a Z FM in ISDAT event. But the problem lies with the fields belonging to other tables.
    Waiting for your update.

  • How to default the KFF segment values based on other field's value

    Hi,
    I would need to reset the 5th segment value of "Liability Account" field on R12 Supplier Page under "Accounting" link.
    Condition: And it has to be based on some other value like "GLOBAL CONTEXT VALUE and TaxPayer ID Type" under "Organization" link.
    Right now; as per the seeded page it defaults the Liability Account to "BL-130-0000-2110-0000-0000" under accounting link; I need to change this default value to "BL-130-0000-2110-2641-0000" based on above condition.
    I have tried using the below code:
    OAKeyFlexBean oakeyflexbean = (OAKeyFlexBean)oawebbean.findIndexedChildRecursive("LiabilityFlex");
    oakeyflexbean.setText()
    But this one does not work.
    Can anyone suggest me some option to acheive this requirement.
    Thanks
    Edited by: 880860 on May 21, 2012 2:23 PM

    Hi everyone,
    Any thoughts? any help is appreciated...
    Thanks

  • Different values in a list box for each row of the table control...

    Dear Experts,
    Is it possible to populate different values for each row in a listbox inside a table control ?
    Example,
    Row 1 in the the table contains A, B & C
    Row 2 in the same table contains C, D & E
    If yes, How?
    yes i am using
      call function 'VRM_SET_VALUES'
        exporting
          id     = i_name
          values = i_list.
    Thank you .
    Message was edited by:
            Kokwei Wong
    Message was edited by:
            Kokwei Wong

    Hi Wong,
    this is code example for listbox
    TYPE-POOLS vrm .
    DATA: lt_vrm_values TYPE TABLE OF vrm_value.
    DATA: wa_vrm_values TYPE vrm_value.
    PARAMETER p_list AS LISTBOX VISIBLE LENGTH 10.
    INITIALIZATION.
      wa_vrm_values-key = 'Key1'.
      wa_vrm_values-text = 'Value1'.
      APPEND wa_vrm_values TO lt_vrm_values.
      wa_vrm_values-key = 'Key2'.
      wa_vrm_values-text = 'Value2'.
      APPEND wa_vrm_values TO lt_vrm_values.
      wa_vrm_values-key = 'Key3'.
      wa_vrm_values-text = 'Value3'.
      APPEND wa_vrm_values TO lt_vrm_values.
    AT SELECTION-SCREEN OUTPUT.
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id              = 'P_LIST'
                values          = lt_vrm_values
           EXCEPTIONS
                id_illegal_name = 1
                OTHERS          = 2.
      IF sy-subrc  0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    To fill it with data from DB, just do select in INITIALIZATION and put that values with same alghoritmus.
    Manas M.
    P.S.: This is very easy question, you should use search ...

  • [ora_hash] different value for the same input

    hi all,
    i'm using 2 different machine running the same version of oracle (11g).
    on those 2 db i have the same tables with the same datas.
    for the comparisson of the data i'm using the ora_hash function (both on numeric and string fields) and for some records i get different results.
    how is that possible?
    (by the way looking at the records that has different hashes the values calculated by the hash function are the same)
    thx

    You have posted in the wrong forum. As the forum title says this forum is for SQL Developer and not for SQL or PL/SQL questions.
    After reading the information provided at the end of this reply you should
    1. create a new thread in the SQL and PL/SQL forum
    PL/SQL
    2. Edit this current question to add a link to the new question and tell people to follow up in the other forum.
    3. Mark this current question ANSWERED so followup will be in the other forum.
    Thanks.
    When you post in the other forum provide information related to the following
    >
    for the comparisson of the data i'm using the ora_hash function (both on numeric and string fields) and for some records i get different results.
    >
    Please post your 4 digit Oracle versions - both versions (result of SELECT * FROM V$VERSION) and examples (i.e. actual code) of values that are giving different results.
    >
    (by the way looking at the records that has different hashes the values calculated by the hash function are the same)
    >
    What? there can't be 'different hashes' if the 'values calculated by the hash function' are the same. What are you saying here?
    Again - provide examples that show the differences. Should be something like
    SELECT ORA_HASH(12345) FROM DUAL;Since you say there are differences on the two machines provide the execution plan from each machine that shows what Oracle is actually doing. One machine may be applying a function to the data.

  • How to default the value in Parameter ?

    Hi all,
    How am I going to default the paramenter say I have the From Item >= '0' and To Item <= '99999999', I will like system to be defaulted back the value in the parameter everytime when the refresh is being pressed ?
    Currently, I have set the default value in the parameter, it work fine for the very first time, but after I have put the search value in the refresh button, the system still showing the old value which I have keyed in earlier. I want system to be defaulted the value that I keyed in the parameter. How to do that ?
    Rgds
    Lim

    Hi Lim
    Are you using Discoverer Plus?
    If so, there is a preference in pref.txt that controls whether the parameter values are saved with the workbook. It is called SaveLastUsedParamValue. This has two settings as follows:
    0 - Use the default value as set by the report writer
    1 - Save the value the user just entered and use that as the default the next time
    Best wishes
    Michael

  • Table control list box. different values in each row of the list box

    Hi all,
    i have a requirement to display text box in table control. Each row of list box should contain different values.
    i tried with the below code  but the values are not getting populated in list  box. please give your ideas.
    I tried with list box which is having same values in all rows, it is working fine.
    loop at itab.
    select vbeln from ZSD_PS_BLAWB into ZSD_PS_BLAWB-vbeln
    where BLAWBNO = itab-BLAWBNO and
    BLAWBDT = itab-BLAWBDT and
    CTRNO = itab-CTRNO.
    if sy-subrc = 0.
    index = 1.
    list3-key = index.
    list3-text = ZSD_PS_BLAWB-vbeln.
    append list3 to list2.
    index = index + 1.
    endif.
    endselect.
    clear index.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = 'ITAB-VBELN'
    VALUES = list2
    EXCEPTIONS
    ID_ILLEGAL_NAME = 1
    OTHERS = 2
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    modify itab.
    endloop.
    Thanks in advance.

    Hi,
    this is code example for listbox
    TYPE-POOLS vrm .
    DATA: lt_vrm_values TYPE TABLE OF vrm_value.
    DATA: wa_vrm_values TYPE vrm_value.
    PARAMETER p_list AS LISTBOX VISIBLE LENGTH 10.
    INITIALIZATION.
      wa_vrm_values-key = 'Key1'.
      wa_vrm_values-text = 'Value1'.
      APPEND wa_vrm_values TO lt_vrm_values.
      wa_vrm_values-key = 'Key2'.
      wa_vrm_values-text = 'Value2'.
      APPEND wa_vrm_values TO lt_vrm_values.
      wa_vrm_values-key = 'Key3'.
      wa_vrm_values-text = 'Value3'.
      APPEND wa_vrm_values TO lt_vrm_values.
    AT SELECTION-SCREEN OUTPUT.
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id              = 'P_LIST'
                values          = lt_vrm_values
           EXCEPTIONS
                id_illegal_name = 1
                OTHERS          = 2.
      IF sy-subrc  0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    To fill it with data from DB, just do select in INITIALIZATION and put that values with same alghoritmus.
    Manas M.
    P.S.: This is very easy question, you should use search ...

Maybe you are looking for

  • HP Pavillion: No Sound after System Recovery

    Due to problems with Norton Security, I had to do a complete system restore to factory defaults.  I then removed Norton Security, Installed Trend Micro, and restored by backup making sure not to include any Norton folders/files. While working on the

  • Logical client creation issue..

    Hi,        We had setup 2 clients 500 and 700 in QA System for our upgraded ECC system.. and would like to assign a logical systems to respective clients. But when I check the naming conventions IN SALE  it is in series like <SID>CLNT401,402,403 and

  • Passing Presentation variblae to the logical column in the rpd

    Hi, Can some one please tell me how to pass presentation variable to RPD logical column i am capturing a date from prompt and defining a status column based on the date user selects in the prompt, can some please tell me how to achieve this.. Thanks

  • I am receiving an error message unsupported parent parameter how can i fix it ?

    trying to log on to TM360.com which i have used from this computer before and now i receive an unsupported parent parameter check your container code

  • Error when loading data into Planning

    Unable to load data into planning 11.1.2.3.200 using ODI 11.1.1.7 Please find the errors from below logs: INFO  [SimpleAsyncTaskExecutor-2]: Oracle Data Integrator Adapter for Hyperion Planning INFO  [SimpleAsyncTaskExecutor-2]: Connecting to plannin