Need to Create 2 Columns Data in CSS Without Table

Here is what I am trying to do without using a table layout
at all:
STATE TOTAL
AZ 1000
AL 2000
So can anyone point me to where I can learn this online or
any good tutorials on CSS and tabular data, etc. I came up with a
solution in CSS but the right side with the numbers were always one
level beneath where it should be and I could never get them to line
up properly...Thanks
Dante

Apply a repeat region to that can You?
Dave
"Malcolm N_" <[email protected]> wrote in message
news:[email protected]..
> On Mon, 24 Mar 2008 21:44:56 +0000 (UTC),
"Dante45Chicago"
> <[email protected]> wrote:
>
> >Here is what I am trying to do without using a table
layout at all:
> >
> > STATE TOTAL
> > -----------------------------------
> > AZ 1000
> > -----------------------------------
> > AL 2000
> > -----------------------------------
> >
> >
> > So can anyone point me to where I can learn this
online or any good
tutorials
> >on CSS and tabular data, etc. I came up with a
solution in CSS but the
right
> >side with the numbers were always one level beneath
where it should be
and I
> >could never get them to line up properly...Thanks
> >
> > Dante
>
>
> OK - always up for a challege :-)
>
> quick and dirty
>
> <style type="text/css">
> body {
> font-family: Geneva, Arial, Helvetica, sans-serif;
> font-size: 1em;
> }
> body {
> margin: 0; padding:o}
>
> p.box1 {
> width:5em;
> border-bottom:1px dashed;
> float:left;
> border-top-width: 1px;
> border-right-width: 1px;
> border-left-width: 1px; }
> .clearfloat {clear:both;}
> </style>
> </head>
> <body>
> <p class="box1">STATE</p>
> <p class="box1">TOTAL</p>
> <br class="clearfloat" />
> <p class="box1">AZ</p>
> <p class="box1">1000</p>
> <br class="clearfloat" />
> <p class="box1">AL</p>
> <p class="box1">2000</p>
>
> </body>
> </html>
> --
>
> ~Malcolm N....
> ~

Similar Messages

  • Need to create a vertical view from horizontal table w/delimited column

    I would like to create a vertical view frm a table that has a colon delimited column.
    I can get a single row to work. I need the level to reset to 1 when the row changes.
    any Ideas? the key to the table is: sos,nr,prgm_cd,mth
    here is my select for a single row w/where clause removed:
    SELECT SOS,NR,PRGM_CD,trunc(sysdate-(30*LEVEL) , 'mm') MTH,
    ADD_MONTHS(trunc(sysdate,'q'),-3*LEVEL) QTR,
    SUBSTR(qty,
    INSTR(qty,':',1,LEVEL) +1,
    INSTR(qty,':',1,LEVEL+1) - INSTR(qty,':',1,LEVEL)-1) QTTY
    FROM (SELECT SRC_SUPL_CD SOS,APPL_PRGM_DESIG_NR,TYP_PRGM_CD,':'||PAST_PRGM_QY||':' qty from
    rssp_api_master )
    CONNECT BY LEVEL < LENGTH(qty) - LENGTH(REPLACE(qty,':'))
    ex. data
    sos nr prgm_cd qty
    aaa 3 xx 1:2:3:4:5:5
    bbb 3 xx 9:10:11:12:13
    need to look like this
    aaa 3 xx 1
    aaa 3 xx 2
    bbb 3 xx 9
    bbb 3 xx 10
    bbb 3 xx 11

    See this thread
    Re: rows into column
    Nicolas.

  • How to check  which column data differs from master table and archive table

    Hi All,
    i have two tables, table a (a1 number,a2 varchar2,a3 varchar2) and table b (b1 number,b2 varchar2,b3 varchar2).
    how to check the data in both the table are same( including all columns).
    data in a.a1 is same as b.b1 and a.a2 is same as b.b2 like that.
    if they not same , i need to know which field differs.
    Kindly Share ur ideas.

    887268 wrote:
    thanks Sven W. ,
    above reply clearly shows what my question is.
    one column must be primary key, based on that key i need to find out which are the fields having different data..
    im strugling with this, i tried the following already, but not able to get.
    select the columns from a MINUS select the columns from b.
    -- from this i can find whether the difference occurred or not.
    but i cant able to get which are the fields value changed.Good. Then you would match the rows using the PK column and need to compare the columns
    Instead of a MINUS + UNION ALL + MINUS we can now use a FULL OUTER JOIN
    It is a little task to write out all column names, but 40 columns can be handled.
    This statement would show you both tables with matching rows on the same line.
    select a.*, b.*
    from a
    FULL OUTER JOIN b on a.id = b.idNow filter/check for mismatches
    select case when a.col1 != b.col1 then 'COL1 value changed'
                    when a.col2 != b.col2 then 'COL2 value changed'
                    when a.col3 != b.col3 then 'COL3 value changed'
             end as compare_result
            ,a.*, b.*
    from a
    FULL OUTER JOIN b on a.id = b.id
    /* return only non matching columns */
    where (a.col1,a.col2,a.col3) != (b.col1,b.col2,b.col3) You might need to add nvls to take care of null values. Test this!
    Another way could be to group upon the primary key
    select *
    from (
      select id 
               ,count(distinct col1)-1 cnt_col1
               ,count(distinct col2)-1 cnt_col2
               ,count(distinct col3)-1 cnt_col3
       from
         select 'A' source, a.*
         from a
         UNION ALL
         select 'B' source, b.*
         from b)
       group by ID
    /* only records with differences */
    where 1 in (cnt_col1, cnt_col2, cnt_col3)
    ;The count columns will hold either 1 or 0. If it is 1 then this column has a difference.

  • How to find the Column data type changes in table

    Hi All,
    I need to find out the column data type changes where made recently in table .
    How do i check past changes in column data type. Any data dictionary are there to find out the data type changes in the column .
    Thanks in advance..

    <FONT FACE="Arial" size=2 color="2D0000">
    You have the answer on hand (user_arguments / all_arguments)!
    SQL> desc user_arguments
    Name                                      Null?    Typ
    OBJECT_NAME      VARCHAR2(30)
    PACKAGE_NAME     VARCHAR2(30)
    OBJECT_ID     NOT NULL NUMBER
    OVERLOAD       VARCHAR2(40)
    ARGUMENT_NAME  VARCHAR2(30)
    POSITION       NOT NULL NUMBER
    SEQUENCE       NOT NULL NUMBER
    DATA_LEVEL     NOT NULL NUMBER
    DATA_TYPE      VARCHAR2(30) --> Data Type
    DEFAULT_VALUE  LONG
    DEFAULT_LENGTH NUMBER
    IN_OUT         VARCHAR2(9) -->Argument direction (IN,OUT,or IN/OUT)
    DATA_LENGTH    NUMBER
    DATA_PRECISION NUMBER
    DATA_SCALE     NUMBER
    RADIX          NUMBER
    CHARACTER_SET_NAME VARCHAR2(44)
    TYPE_OWNER         VARCHAR2(30)
    TYPE_NAME          VARCHAR2(30)
    TYPE_SUBNAME       VARCHAR2(30)
    TYPE_LINK          VARCHAR2(128)
    PLS_TYPE           VARCHAR2(30)
    CHAR_LENGTH        NUMBER
    CHAR_USED          VARCHAR2(1)
    Look for Data_Type where IN_OUT say OUT. That will be the data type retruned by that function.
    Edited :
    or POSITION in argument list,or null for function return value
    -SK
    </FONT>

  • Need to create an ABAP query on 2 tables BSIK and BSAK

    Hi,
      I need to create an ABAP query which has the fields document no, doc date, amount in doc currency and some other fields from 2 tables BSIK and BSAK. Is it possible to write a single abap query to fetch the data from both the tables.
    The selection screen fields are doc number, date and doc type.
      I need to display invoices for open items and cleared items together.
      Please let me know if this is possible.
    Thanks and Regards,
    Ajith

    See if this is anything like what you need:
    REPORT ztest MESSAGE-ID 00.
    TABLES: bkpf, bseg.
    SELECT-OPTIONS: s_bukrs FOR bkpf-bukrs,
                    s_belnr FOR bkpf-belnr,
                    s_gjahr FOR bkpf-gjahr,
                    s_blart FOR bkpf-blart,
                    s_budat FOR bkpf-budat.
    DATA: BEGIN OF bkpf_int OCCURS 0.
            INCLUDE STRUCTURE bkpf.
    DATA: END   OF bkpf_int.
    DATA: BEGIN OF bseg_int OCCURS 0.
            INCLUDE STRUCTURE bseg.
    DATA: END   OF bseg_int.
    DATA: BEGIN OF bsik_int OCCURS 0.
            INCLUDE STRUCTURE bsik.
    DATA: END   OF bsik_int.
    SELECT  *
      FROM  bkpf
      INTO  TABLE bkpf_int
      WHERE bukrs  IN s_bukrs
        AND belnr  IN s_belnr
        AND gjahr  IN s_gjahr
        AND blart  IN s_blart
        AND bldat  IN s_budat.
    SORT bkpf_int BY bukrs belnr gjahr.
    SELECT  *
      FROM  bseg
      INTO  TABLE bseg_int
      FOR ALL ENTRIES IN bkpf_int
      WHERE bukrs = bkpf_int-bukrs
        AND belnr = bkpf_int-belnr
        AND gjahr = bkpf_int-gjahr
        AND koart = 'K'.
    SORT bseg_int BY bukrs belnr gjahr buzei.
    LOOP AT bseg_int.
      MOVE-CORRESPONDING bseg_int TO bsik_int.
      READ TABLE bkpf_int WITH KEY
        bukrs = bseg_int-bukrs
        belnr = bseg_int-belnr
        gjahr = bseg_int-gjahr
        BINARY SEARCH.
      IF sy-subrc = 0.
        MOVE-CORRESPONDING bkpf_int TO bsik_int.
        APPEND bsik_int.
      ELSE.
        MESSAGE e001 WITH 'Error during read'.
      ENDIF.
    ENDLOOP.
    Rob

  • Create a data source and database tables using WSAD

    Hi, guys:
    the following is from a tutorial:
    http://www-106.ibm.com/developerworks/websphere/techjournal/0306_wosnick/wosnick.html
    "To create the data source and Cloudscape database tables automatically, right click on the HelloWorldServer in the Servers view, and select the Create tables and data sources menu item. A dialog will then display showing that the data source and database tables were created successfully (Figure 5)."
    I am using WSAD 5.0 trial version. I cannot find Create tables and data sources menu item if I right click on the HelloWorldServer in the Servers view. I am wondering if this is because trial version does not have this feature?
    regards

    This question is a little off topic but you may get a reply. Please note this forum is about Sun's J2EE SDK and its related technologies. You may have better luck posting your question to an IBM specific resource.

  • Need to move the data to final internal Table

    Hi all,
    TYPES: BEGIN OF TY_MARA,
           MATNR       TYPE  MATNR,         " Material Number
           ZZBASE_CODE TYPE  ZBASE_CODE,    " Base Code
           END OF TY_MARA,
           BEGIN OF TY_MAKT,
           MAKTX       TYPE  MAKTX,         " Material Description
           END OF TY_MAKT,
           BEGIN OF TY_MARC,
           WERKS       TYPE  WERKS_D,      " Plant
           END OF TY_MARC,
           BEGIN OF TY_QMAT,
           ART           TYPE  QPART,         " Inspection Type
           END OF TY_QMAT,
           BEGIN OF TY_MAPL,
           MATNR        TYPE  MATNR,        " Material
           PLNTY        TYPE  PLNTY,        " Task List Type
           END OF TY_MAPL,
           BEGIN OF TY_PLKO,
           VERWE             TYPE     PLN_VERWE,     "     Task list usage
           END OF TY_PLKO,
          BEGIN OF TY_FINAL,
           MATNR          TYPE    MATNR,          " Material Number
           MAKTX          TYPE    MAKTX,          " Material Description
           ZZBASE_CODE    TYPE    ZBASE_CODE,     " Base Code
           WERKS          TYPE    WERKS_D,        " Plant
           CLASS          TYPE    KLASSE_D,       "     Class Number
           ART             TYPE    QPART,           " Inspection Type
           VERWE             TYPE    PLN_VERWE,       " Task list usage
         END OF TY_FINAL.
    DATA: I_MARA  TYPE  STANDARD TABLE OF TY_MARA  ,
          I_MAKT  TYPE  STANDARD TABLE OF TY_MAKT  ,
          I_MARC  TYPE  STANDARD TABLE OF TY_MARC  ,
          I_QMAT  TYPE  STANDARD TABLE OF TY_QMAT  ,
          I_MAPL  TYPE  STANDARD TABLE OF TY_MAPL  ,
          I_PLKO  TYPE  STANDARD TABLE OF TY_PLKO  ,
          I_KLAH  TYPE  STANDARD TABLE OF TY_KLAH  ,
          I_FINAL TYPE  STANDARD TABLE OF TY_FINAL ,
          WA_MARA  TYPE  TY_MARA,
          WA_MAKT  TYPE  TY_MAKT,
          WA_MARC  TYPE  TY_MARC,
          WA_QMAT  TYPE  TY_QMAT,
          WA_MAPL  TYPE  TY_MAPL,
          WA_PLKO  TYPE  TY_PLKO,
          WA_KLAH  TYPE  TY_KLAH,
         WA_FINAL TYPE  TY_FINAL.
    data: v_mtart         type    mara-mtart,
          v_matnr         type    mara-matnr,
          v_zzbase_code   type    mara-zzbase_code,
          v_werks         type    t001w-werks,
          v_beskz         type    marc-beskz.
    selection-screen skip 1.
    selection-screen begin of block b1 with frame title text-001.
    select-options: s_mtart    for v_mtart default 'halb' to 'zraw',
                    s_matnr    for v_matnr,
                    s_zzbase   for v_zzbase_code,
                    s_werks    for v_werks obligatory,
                    s_beskz    for v_beskz.
    selection-screen end of block b1.
    start-of-selection.
    select matnr
           zzbase_code
           from  mara into table i_mara
           where mtart in s_mtart       "Material Type
           and   matnr in s_matnr        "Material
           and   zzbase_code in s_zzbase."Base Code
    select maktx
           from makt into table i_makt for all entries in i_mara
           where matnr = i_mara-matnr.
    select werks
           from marc into table i_marc for all entries in i_mara
           where matnr = i_mara-matnr
           and werks in s_werks "plant
           and beskz in s_beskz."Procurement Type
    select art
           from qmat into table i_qmat for all entries in i_mara
           where matnr = i_mara-matnr
           and werks in s_werks.
    select matnr
           plnty from mapl into table i_mapl for all entries in i_mara
           where matnr = i_mara-matnr.
    select verwe
           from plko into table i_plko for all entries in i_mapl
           where plnty = i_mapl-plnty.
    this is my logic . i need to move this to final internal table i_final. how can do it. will anybody tell me with coding.
    Thanks,

    Hi,
    Include matnr field in all your type declaration and plnty in the ty_plko,  type declaration.
    loop at the internal table i_mara.
    read the other tables with read statement.
    assign the the required fields to the work area wa_final. Append it to i_final.
    start-of-selection.
      select matnr  zzbase_code
        from mara   into table i_mara
       where mtart in s_mtart "Material Type   and matnr in s_matnr "Material  and zzbase_code in s_zzbase. "Base Code
      select matnr  maktx        
        from makt   into table i_makt
         for all entries in i_mara   where matnr = i_mara-matnr.
      select matnr  werks
        from marc  into table i_marc
         for all entries in i_mara  where matnr = i_mara-matnr   and werks in s_werks "plant   and beskz in s_beskz."Procurement Type
      select matnr  art
        from qmat  into table i_qmat
         for all entries in i_mara where matnr = i_mara-matnr   and werks in s_werks.
      select matnr plnty
        from mapl into table i_mapl
        for all entries in i_mara  where matnr = i_mara-matnr.
      select plnty verwe
        from plko  into table i_plko
         for all entries in i_mapl  where plnty = i_mapl-plnty.
    Loop at i_mara into wa_mara.
    read table i_makt into wa_makt with key matnr = wa_mara-matnr.
    (do this for all the internal tables.)
    read table i_plko into wa_plko with key plnty = wa_mapl-plnty.
    wa_final-MATNR = wa_mara-matnr.
    wa_final-MAKTX = wa_makt-maktx.
    wa_final-ZZBASE_CODE = wa_mara-ZZBASE_CODE.
    wa_final-WERKS = wa_marc-werks.
    wa_final-ART = wa_qmat-art.
    wa_final-VERWE = wa_plko-verve.
    append i_final from wa_final.
    endloop.
    Hope this helps.
    Regards,
    Dhasarathy. K

  • Need to create backup of my phone without an encryption password

    I've completely forgotten my backup password for my iphone in iTunes, so I want to start from scratch and create a new backup. I've deleted the old backup. When I go to backup my phone, I deselect the 'encrypt' box, but it pops up asking for my password to unlock my backup.
    How can I backup my phone without needing to provide this info?
    I've got an iPhone 4s, with the most up to date iOS.

    Howdy Kate,
    Welcome to Apple Support Communities.
    It sounds like you want to disable the encrypted backup feature in iTunes, but you can’t remember the password that was used when it was enabled. You’ll have to restore the iPhone and set it up as a new device to disable the encrypted backup feature, as described in the excerpt article linked below.
    Create and delete iPhone, iPad, and iPod touch backups in iTunes - Apple Support
    Encrypted backups
    Protect your backup with a passcode using the Encrypt Backup option in the Summary tab.
    This option also backs up your Keychain, including your passwords for email accounts, Wi-Fi, websites, and some apps. If you restore this backup on a new device, your Keychain will transfer to the new device too. Learn how to create and restore from a backup.
    When your backup is encrypted, you'll need to enter the password when you enable or disable encryption or when you restore from the backup.
    Make sure that the password you use is one that you'll remember. If you encrypt an iPhone backup in iTunes and forget your password, you won't be able to restore from backup, and your data will be unrecoverable.
    If you can't remember the password and want to start again, you must perform a full software restore and choose set up as a new device when iTunes prompts you to select the backup from which to restore.
    Ciao,
    -Jason

  • Help needed in Sorting Columns (date sorts alphabetically)

    Hi All,
    I have a report query as follows:
    select to_date(period,'MON-YYYY') start_date
    ,exp_type
    ,id
    ,acct_ref
    ,dept_ref
    ,item_date
    ,amt
    from test;
    I need to display the report in the same order as select statement (start_date,exp_type,id etc). I have given default sort order in report attributes and user enabled sort on all columns. The report attributes look as shown below:
    column_name / sort / sort_seq
    start_date / yes / 3
    exp_type / yes / 1
    id / yes / -
    acct_ref / yes / -
    dept_ref / yes / 2
    item_date / yes / 4
    Now my problem is that the start date sorts alphabetically (as varchar) instead of chronologically (date wise). How can I resolve this?
    If I change my default sort order so that start_date is sorted 1st, it works perfectly fine. Is there any restriction for APEX sort that says the column displayed needs to be sorted in the same order? How do I overcome it? Or is it possible to overcome it?
    Any suggestions would be appreciated.
    Thanks,
    Sumana

    Hi,
    Thanks. But no I cannot change it to date, as there are many applications using it for displaying the period. But I found an equivalent date column for that period and tried using that. It was not working.
    I did further analysis and found that even to_char(period) works fine. The problem was something else. In my region query the select statement was
    select exp_type
    ,id
    ,amt
    ,to_date(period,'MON-YYYY')
    from test.
    I then had in region attributes used the arrows to change order of display, so that period appears first. That was the culprit. When I change my region query, to match the order in region attributes the date column as well as to_date(period) both work fine.
    I never knew that the order of select statement and that in region attributes should match each other!!! And hence when posting I did not give importance to the order of my select list. Sorry for that.
    The mystery is how was it working when i changed the sort order to say "period" 1st and then exp_type (2nd)
    Thanks everyone for you help.
    Thanks,
    Sumana

  • Need to Create a Date for Use in Filter

    I need to set a filter to the effect of Modified Date >= [CURRENT_YEAR] || '02-01' and can't seem to get the filter right to allow me to concat/insert the year to the '02-01' to just get MM/DD/YYYY = 02/01/[Current Year]. It keeps throwing SQL errors.
    Here is the text I used to get the string but I can't seem to get this into an actual date format. I've tried doing CAST as DATE and doing a DATE 'YYYY-MM-DD' format as well.
    CAST(VALUEOF(NQ_SESSION.CURRENT_YEAR) AS CHAR)) || '-02-01'

    Ok. I finally found something that will work no matter what month we are talking about. The goal was to find the first day of the prior month so I always look for the two months activities.
    So if current date is 06/08/2010 then I wanted all activities >= 05/01/2010. If the date were 01/12/2010 then I would want 12/01/2010 as my date to filter etc. It is the rollover that messes up most of the date logic when using date parts as filters.
    Here is what I came up with and it works great. You basically subtract a month from today's date and then subtract the number of days (minus one) to get back the first of the prior month.
    TIMESTAMPADD(SQL_TSI_DAY,
    ((DAY(TIMESTAMPADD(SQL_TSI_MONTH,-1,VALUEOF(NQ_SESSION.CURRENT_DT))) -1) * -1)
    TIMESTAMPADD(SQL_TSI_MONTH,-1,VALUEOF(NQ_SESSION.CURRENT_DT)) )

  • Problems creating physical data service to relational table

    Good morning.
    I am running AquaLogic Data Services Platform 3.2 on WebLogic 10.0 in a JRockit 1.5 Java VM on my PC (and it is not a clustered environment) under Windows XP SP3.
    I am trying to create access functionality to a table in a MS SQL 2005 database, but I am having trouble with the update map functionality. I can create and test the read function with no problems. When I try to edit the return structure, it gives me the following warning message
    Cannot narrow remote object ClusterableRemoteRef(-10913774038965890074S :127.0.0.1 :7102,7102,-1,-1,-1,-1,-1*:ESBDSP:AdminServer [(-10913774038965890074S :127.0.0.1 :*7102,7102,-1,-1,-1,-1,-1]:ESBDSP:AdminServer/320*)/320 to com.bea.dsp.ejb.ServerHome*
    (ESBDSP is the server domain, AdminServer is the WL server name, 7102 is the port)
    When I then try to alter a value and Submit, it gives me the following error message
    java.lang.NullPointerException
    ** at com.bea.dsp.ide.xquery.views.test.QueryExecutor.invokeUpdate(QueryExecutor.java:191)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.submitChanges(ResultPanel.java:1313)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.access$300(ResultPanel.java:111)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel$2.run(ResultPanel.java:1203)**
    ** at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)**
    ** at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)**
    ** at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)**
    ** at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:265)**
    ** at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1107)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.doSubmitImpl(ResultPanel.java:1210)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.access$200(ResultPanel.java:111)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel$1.run(ResultPanel.java:1189)**
    ** at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.doSubmit(ResultPanel.java:1193)**
    ** at com.bea.dsp.ide.xquery.views.test.ResultPanel.widgetSelected(ResultPanel.java:2779)**
    ** at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)**
    ** at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)**
    ** at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)**
    ** at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)**
    ** at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)**
    ** at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)**
    ** at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)**
    ** at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)**
    ** at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)**
    ** at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)**
    ** at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)**
    ** at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)**
    ** at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)**
    ** at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)**
    ** at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)**
    ** at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**
    ** at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)**
    ** at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)**
    ** at java.lang.reflect.Method.invoke(Method.java:585)**
    ** at org.eclipse.core.launcher.Main.invokeFramework(Main.java:339)**
    ** at org.eclipse.core.launcher.Main.basicRun(Main.java:283)**
    ** at org.eclipse.core.launcher.Main.run(Main.java:984)**
    ** at org.eclipse.core.launcher.Main.eclipse_main(Main.java:959)**
    ** at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)**
    ** at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)**
    ** at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)**
    ** at java.lang.reflect.Method.invoke(Method.java:585)**
    ** at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:39)**
    ** at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)**
    ** at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)**
    ** at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)**
    ** at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)**
    ** at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)**
    ** at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)**
    ** at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)**
    I have also tried to test the update function using the following data graph
    *&lt;sdo:datagraph xmlns:sdo="commonj.sdo"&gt;*
    *&lt;changeSummary&gt;*
    * &lt;per:Persistance sdo:ref="#/sdo:datagraph/per:Persistance" xmlns:per="http://www.example.org/Persistance"&gt;*
    * &lt;per:Value&gt;a different value&lt;/per:Value&gt;*
    * &lt;/per:Persistance&gt;*
    * &lt;/changeSummary&gt;*
    * &lt;per:Persistance xmlns:per="http://www.example.org/Persistance"&gt;*
    * &lt;per:ID&gt;1&lt;/per:ID&gt;*
    * &lt;/per:Persistance&gt;*
    *&lt;/sdo:datagraph&gt;*
    The error message I receive is the following
    *&lt;Error&gt; &lt;ALDSP&gt; &lt;PW130131&gt; &lt;AdminServer&gt; &lt;ACTIVE ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;weblogic&gt; &lt;&gt; &lt;&gt; &lt;1229102443940&gt; &lt;BEA-000000&gt; &lt;Test&gt; &lt;System error while executing the query: {ld:Physical/Persistance}updatePersistance:1*
    *weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_2d641b85a027a9ba:43f1e2cd:11e2800892f:-7fd2): com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0025: esb: [UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE (("ID" = ?) AND ("Value" = ?))]: [NULL, 1, a different value|http://forums.oracle.com/forums/]: Optimistic locking failure. Update count returned by database is 0, expected 1*
    at com.bea.ld.server.update.recovery.SagaRecovery.process(SagaRecovery.java:102)
    at com.bea.ld.server.update.recovery.DSPSagaManager.processSagaFailure(DSPSagaManager.java:219)
    at weblogic.xml.query.update.recovery.SagaState$2.afterCompletion(SagaState.java:83)
    at weblogic.xml.query.transaction.TransactionManager.afterCompletion(TransactionManager.java:133)
    at weblogic.transaction.internal.ServerSCInfo.doAfterCompletion(ServerSCInfo.java:1032)
    at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:1011)
    at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2946)
    at weblogic.transaction.internal.ServerTransactionImpl.afterRolledBackStateHousekeeping(ServerTransactionImpl.java:2827)
    at weblogic.transaction.internal.ServerTransactionImpl.setRolledBack(ServerTransactionImpl.java:2803)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRetryRollback(ServerTransactionImpl.java:3043)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRollback(ServerTransactionImpl.java:2793)
    at weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:397)
    at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:375)
    at weblogic.xml.query.transaction.TransactionHelper.rollback(TransactionHelper.java:102)
    at weblogic.xml.query.transaction.TransactionManager.teardownOnFailure(TransactionManager.java:262)
    at com.bea.ld.EJBRequestHandler.handleThrowable(EJBRequestHandler.java:810)
    at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:311)
    at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)
    at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)
    at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    *com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0025: esb: [UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE (("ID" = ?) AND ("Value" = ?))]: [NULL, 1, a different value|http://forums.oracle.com/forums/]: Optimistic locking failure. Update count returned by database is 0, expected 1*
    at com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException.create(RDBWrapperException.java:87)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:128)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:88)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:202)
    at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:188)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLUpdateInternal.raiseUpdateFailureException(ExecuteSQLUpdateInternal.java:19)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLUpdateDeleteBase.executeSQL(ExecuteSQLUpdateDeleteBase.java:31)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)
    at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)
    at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)
    at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)
    at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)
    at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)
    at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)
    at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)
    at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)
    at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)
    at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)
    at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)
    at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)
    at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)
    at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)
    at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)
    at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)
    at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)
    at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)
    at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)
    at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)
    at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)
    at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)
    at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)
    at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)
    at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)
    at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    One of the things I don't understand is why the SQL update seems to have the parameter values reversed and why it is using the Value column for it's wehere clause i.e
    *[UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE (("ID" = ?) AND ("Value" = ?))]: *[NULL, 1, a different value]
    when it should really be
    *[UPDATE "ESBdev"."dbo"."Persistance"*
    *SET "Value" = ?*
    *WHERE ("ID" = ?)]: *[a different value, 1
    I hope someone has an idea as to what is going on.
    Edited by: MarcP on Dec 12, 2008 12:30 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

    Thanks Mike, I changed the graph the way you explained and the update works.
    I still have a problem with the create function.
    The XSD for the table looks like this
    *&lt;xs:schema targetNamespace="ld:Physical/Persistance2" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;*
    * &lt;xs:element name="Persistance"&gt;*
    *&lt;xs:complexType&gt;*
    * &lt;xs:sequence&gt;*
    * &lt;xs:element name="ID" type="xs:int"/&gt;*
    * &lt;xs:element name="Project" type="xs:string"/&gt;*
    * &lt;xs:element name="Property" type="xs:string"/&gt;*
    * &lt;xs:element name="Value" type="xs:string" minOccurs="0"/&gt;*
    * &lt;xs:element name="TS" type="xs:hexBinary"/&gt;*
    * &lt;/xs:sequence&gt;*
    * &lt;/xs:complexType&gt;*
    * &lt;/xs:element&gt;*
    *&lt;/xs:schema&gt;*
    In the table, ID is an IDENTITY column, and TS is a timestamp column (therefore they should only be modified by the DB engine). How do I tell DSP to take these constraints into account when wuing the create function?
    When I test it with the following,
    *&lt;per:Persistance2 xmlns:per="ld:Physical/Persistance2"&gt;*
    * &lt;ID&gt;0&lt;/ID&gt;*
    *&lt;Project&gt;def&lt;/Project&gt;*
    *&lt;Property&gt;ghi&lt;/Property&gt;*
    *&lt;Value&gt;new string&lt;/Value&gt;*
    * &lt;TS&gt;0000000000000000&lt;/TS&gt;*
    *&lt;/per:Persistance2&gt;*
    it gives the follwiing error
    *&lt;Error&gt; &lt;ALDSP&gt; &lt;xxxxxxx&gt; &lt;AdminServer&gt; &lt;[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;weblogic&gt; &lt;&gt; &lt;&gt; &lt;1229106812568&gt; &lt;BEA-000000&gt; &lt;Test&gt; &lt;System error while executing the query: {ld:Physical/Persistance2}createPersistance2:1*
    *weblogic.xml.query.exceptions.XQuerySagaException: {bea-err}UPD003: Update failure: mixed outcome, update error dispatched (updateid=SAGA_2d641b85a027a9ba:43f1e2cd:11e2800892f:-7fcd): com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0004: [esb]: [INSERT INTO "ESBdev"."dbo"."Persistance" ("ID", "Project", "Property", "Value", "TS")*
    *VALUES (?, ?, ?, ?, ?)]: [0, def, ghi, new string, 0000000000000000]: Error executing SQL query: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column.*
    * at com.bea.ld.server.update.recovery.SagaRecovery.process(SagaRecovery.java:102)*
    * at com.bea.ld.server.update.recovery.DSPSagaManager.processSagaFailure(DSPSagaManager.java:219)*
    * at weblogic.xml.query.update.recovery.SagaState$2.afterCompletion(SagaState.java:83)*
    * at weblogic.xml.query.transaction.TransactionManager.afterCompletion(TransactionManager.java:133)*
    * at weblogic.transaction.internal.ServerSCInfo.doAfterCompletion(ServerSCInfo.java:1032)*
    * at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:1011)*
    * at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2946)*
    * at weblogic.transaction.internal.ServerTransactionImpl.afterRolledBackStateHousekeeping(ServerTransactionImpl.java:2827)*
    * at weblogic.transaction.internal.ServerTransactionImpl.setRolledBack(ServerTransactionImpl.java:2803)*
    * at weblogic.transaction.internal.ServerTransactionImpl.globalRetryRollback(ServerTransactionImpl.java:3043)*
    * at weblogic.transaction.internal.ServerTransactionImpl.globalRollback(ServerTransactionImpl.java:2793)*
    * at weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:397)*
    * at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:375)*
    * at weblogic.xml.query.transaction.TransactionHelper.rollback(TransactionHelper.java:102)*
    * at weblogic.xml.query.transaction.TransactionManager.teardownOnFailure(TransactionManager.java:262)*
    * at com.bea.ld.EJBRequestHandler.handleThrowable(EJBRequestHandler.java:810)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:311)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*
    *com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException: {bea-err}RDBW0004: [esb]: [INSERT INTO "ESBdev"."dbo"."Persistance" ("ID", "Project", "Property", "Value", "TS")*
    *VALUES (?, ?, ?, ?, ?)]: [0, def, ghi, new string, 0000000000000000]: Error executing SQL query: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column.*
    * at com.bea.dsp.wrappers.rdb.exceptions.RDBWrapperException.create(RDBWrapperException.java:87)*
    * at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:128)*
    * at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:176)*
    * at weblogic.xml.query.exceptions.XQueryException.create(XQueryException.java:163)*
    * at com.bea.dsp.wrappers.rdb.runtime.DBSession.executeUpdate(DBSession.java:151)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLInsertInternal.executeSQL(ExecuteSQLInsertInternal.java:110)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)*
    * at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)*
    * at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)*
    * at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)*
    * at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)*
    * at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*
    *java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert an explicit value into a timestamp column. Use INSERT with a column list to exclude the timestamp column, or insert a DEFAULT into the timestamp column.*
    * at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)*
    * at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)*
    * at weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)*
    * at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:125)*
    * at com.bea.dsp.wrappers.rdb.runtime.DBSession.executeUpdate(DBSession.java:144)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLInsertInternal.executeSQL(ExecuteSQLInsertInternal.java:110)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)*
    * at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)*
    * at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)*
    * at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)*
    * at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)*
    * at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*
    *java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Statement(s) could not be prepared.*
    * at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)*
    * at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)*
    * at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)*
    * at weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)*
    * at weblogic.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)*
    * at weblogic.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)*
    * at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:125)*
    * at com.bea.dsp.wrappers.rdb.runtime.DBSession.executeUpdate(DBSession.java:144)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLInsertInternal.executeSQL(ExecuteSQLInsertInternal.java:110)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)*
    * at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)*
    * at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)*
    * at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)*
    * at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)*
    * at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)*
    * at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)*
    * at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)*
    * at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)*
    * at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)*
    * at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)*
    * at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)*
    * at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)*
    * at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)*
    * at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)*
    * at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)*
    * at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)*
    * at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)*
    * at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)*
    * at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)*
    * at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)*
    * at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)*
    * at weblogic.security.service.SecurityManager.runAs(Unknown Source)*
    * at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)*
    * at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)*
    * at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)*
    * at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)*
    * at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)*

  • Help - Need to Get Max(Date) from An Unrelated Table in PowerPivot

    I have two tables in my Power Pivot model:
    Table A (a many table)
    Asset    
    SerialNumber                   
    User
    CTUT111                             
    YC112233                                            
    Bob
    CTUT222                             
    ZZ221144                                            
    Susy
    CTUT222                             
    ZZ221144                                            
    Larry
    CTUT333                             
    AB332244                                           
    Bob
    Table B (a many table, a CSV import from another system)
    Asset                    
    SerialNumber                                   
    CheckIn_Date
    CTUT111                             
    YC112233                                            
    6/15/2014
    CTUT111                             
    YC112233                                            
    6/20/2014
    CTUT222                             
    ZZ221144                                            
    6/18/2014
    CTUT333                             
    AB332244                                           
    6/20/2014
    I know it appears odd that Table B would have two entries for the same Asset (CTUT111), but it does.
    I know I could write a SQL query that gave me the MAX(CheckIn_Date), but I’m not staging these datasets in a SQL server first. 
    I’m pulling directly from CSV tables.
    I don’t want to have bridge tables either, if possible. 
    So, I’m left with a many-to-many situation in Power Pivot.
    I want to add a Calculated Column to Table A, called ‘Latest CheckIn Date’ – which I get from Table B, matching on Serial Number.
    So, when I’m done, I would expect the value for Asset=CTUT111 to be 6/20/2014 (since it’s the MAX of a value of dates)
    I’m trying this pattern from Marco Russo in which you don’t need to relate two tables to exchange information, but it doesn’t appear to be working.
    =CALCULATE (
    MAX ( VALUES ( TableB[CheckIn_Date] ) ),
    FILTER (
    TableB,
    'TableA'[SerialNumber]
    = TableB[SerialNumber]
    I’ve also tried to use LOOKUPVALUE, but I can’t seem to figure it out.
    Would appreciate the help.
    Thanks in advance.
    -Eric

    Hi Eric,
    Please, try this one formula:
    =CALCULATE (
                MAXX ( VALUES( TableB[CheckIn_Date] ); TableB[CheckIn_Date] );
                FILTER (
                    TableB;
                    'TableA'[SerialNumber] = TableB[SerialNumber]
    P.S. In my locale I use ";". According to your locale you should use ",".
    Truly yours,
    Paul

  • Need to extract the data from the CRM table : SCAPPTSEG

    Hi BW Experts,
    I want to extract the Data from CRM Table "SCAPPTSEG" to BW. The dates are stored in UTC Format.So for getting the date in CET format, we have used the Function Module "IB_CONVERT_FROM_TIMESTAMP".
    I want to create a datasource for extracting the data from "SCAPPTSEG" table and i need to use the function module for getting the date in CET Format.
    Can i achieve this action through Generic Extraction.
    please provide me the steps to achieve this.
    Thanks,
    Shahina.A

    not answered

  • Need suggestion to get data from change log table of ODS.

    Hello,
    There is a case where i am loading opportunity header data from header ODS and opportunity item data from item ODS in the opportunity cube.
    Status (1= OPEN, 2= WON ETC) of the opportunity are available only in header ODS and not in item ODS.
    While loading data from header ODS to cube, I am loading it directly but while loading data from item ODS to cube i am using active data table of header ODS as a lookup in the update rule from item ODS to cube. I am selecting status from the active data table of header ODS while loading data from item ODS to cube.
    Since active data table will have only after image records, there is some data mismatch in the report as i am selecting data from active data table of header ODS while loading data from item ODS to cube.
    I need to select data from Change log in order to get before image also instead of active data table in order to overcome this issue. Is there any way by which i can do selection from Change log instead of active data table as change logs are generated at run time.
    Please let me know if you have any suggestions.
    Regards,
    Sanjay Chaurasia.

    Hi,
    You can use the changelog table of the DSO.
    Right click manage the Header DSO, go to the contents tab and click Change Log table. There you can see the technical name of the Change Log table.
    In the update rule Routine, give the tech name of Change log table instead of Active table name.
    Hope it helps.
    Krishna

  • Need code for multi data insert..to table

    Hi All,
    I have input parameter data like ..
    [email protected],b.gamil.com,c.gamil.com ...
    and need to insert to table T_TABLE...LIKE
    NAME
    A
    B
    C
    Please let me know how to implement...

    anbarasan wrote:
    Hi All,
    I have input parameter data like ..
    [email protected],b.gamil.com,c.gamil.com ...
    and need to insert to table T_TABLE...LIKE
    NAME
    A
    B
    C
    Please let me know how to implement...Like this?
    SQL> ed
    Wrote file afiedt.buf
      1  with t as
      2   (select '[email protected],b.gamil.com,c.gamil.com ' txt from dual)
      3  select upper(regexp_replace(REGEXP_SUBSTR(txt, '[^,]+', 1, level), '[@.](.*)$')) replace_str
      4    from t
      5* connect by level <= length(regexp_replace(txt, '[^,]*')) + 1
    SQL> /
    REPLACE_STR
    A
    B
    CLogic for converting comma separated string to row borrowed from this post of Loknath Giri :
    {message:id=10028213}
    Edited by: Vivek L on 9 Mar, 2012 12:22 PM

Maybe you are looking for

  • What are the types of routines

    hi experts can some one give me clear idea on what are the types of routine we use in sap bi with scenarios? what is CMC? Please search the forum before posting a thread Edited by: Pravender on Apr 7, 2011 12:56 PM

  • Financial statement planning / Investment planning business content

    Dear all, Has anyone actually been able to make any of the standard business content for these areas work?  The content has been there for 6 years but still creates innumerable headaches.  I have managed to install the BC for e.g. financial statement

  • Creating new Material Group

    Hi SAP Gurus, How to Creating new Material Group? Regards,

  • N97 Phone Memory getting full

    Hi there, My Phone Memory is getting less and less everyday, and I don't know why! I have my messages being saved to my Mass Memory, all images, photos, videos, applications, and so on are also being saved there! I tried the file manager on the cellp

  • Data driven pages

    I am very new to SharePoint and have been researching for 2 weeks if it has the capability I am looking for but cannot seem to find an answer. What I am trying to do is to take a spreadsheet, or SharePoint list, with several pieces of information for