reach a value of table regarding the APP_USER.

Hello

I want to extract the value of the Table regarding the APP_USER.

I use
SELECT ID,NAME,FILE_OBJ_ID,MIME_TYPE,DOC_SIZE,BLOB_CONTENT,DESCRIPTION,UPLOAD_DATE,'Download' FROM DUMY_FILE where CREATED_BY =:APP_USER;

Show me error 

failed to parse SQL query:
ORA-00911: invalid character
Thank you

Published by: 805629 on January 13, 2011 02:09

Hello

Try to remove the semicolon from the query end

Kind regards
Jari

Tags: Database

Similar Questions

  • Insert the value in table in the business object

    Hi all

    I want to send a request to a web service (via the SOAP component) which accepts the array as one of the input parameters.

    I am confused.i can set table in the subject of Bussiness, but she accepts no values.how can I insert value in it.

    can someone guide me?

    Thanks for providing the XSD.

    That I can tell that you are using Oracle BPM 12 c.  It's a good thing for you, because the insertion of new elements in an array in 11g is a little more difficult.  Ignore all my previous posts on this thread, because they are needed only for 11g.

    Here's an Oracle BPM 12 c project you can download that uses your XSD and fills the chart "to" inside her: https://drive.google.com/file/d/0Bwqetn0fpi74SE1TM2swR3VJMXM/view?usp=sharing

    Included is a video you can watch that goes through this, but the steps to add items to an XSD based table in Oracle BPM 12 c using Groovy script are:

    1 use your XSD in the thread above to create a new business object in the catalog (remove the '///it's table."comment in your XSD before doing so).

    2. Add a new object to process data in your process that uses this business object (a process known as "amin" in my process data object (I added).  Add another object to process of string data (I added one called "newItemToAdd").

    3. Add a Script of the activity in your process of-> right mouse click-> click on 'go to the Script.

    4 with the dialog script Groovy upward, to add a single element to your table add this Groovy script:

    "amin" and "newItemToAdd" are the objects of load data useful process added in step 2

    Amin.to.Add ("0" + newItemToAdd)

    5. to prove that multiple items can be added to the table at the same time, add this logic below.  The text in the square brackets could be a set separated by commas of string variables that would have been added to the table:

    for (int i = 1; i)< 5;="" i++)="">

    amin.to.addAll ([i + "" + newItemToAdd])

    }

    Hope this helps,

    Dan

  • Req. search criteria to find the values of table in the entire schema.

    Hello

    I have an obligation to identify the value of the particular column that is longer in a table in the schema.
    We have all the Tables system or any other source admin level?

    For example, I have customer id in 18 paintings in our scheme.

    I need like... I want to return to the table of names which are all contains the customer id = 15326.

    If the 7 of 18 table contains the value of the id of customer 15326, then that is my output required that he picks up.
    Don't we have any source to identify this requirement?

    More picture... Customer, CustomerB, ClientC clients client are the tables in the schema that contains the customer id column.

    Here, customer and ClientC contains the value of the identification of customer 15326 folder. So, I need produce the output as the Table names are customer, ClientC.

    I hope, you will understand my requirement.

    Please do the necessary help / advice on that.

    Thank you
    Orahar.

    Re: search string in DB

    Read the link.

    Concerning
    Asif Kabir

  • RandomGen elements, case structure nothing if it's false, while the loop passes iterations, can not get the values in table outside the structure of the case

    Hello!

    I tried to build a trigger that triggers a true value each 1000 milliseconds (from the first real);

    which real command structure box to a value of the randomNrGen of the sample and place it in a table.

    but I would like to USE this table and I can't do this beacause I can not get out of the structure of the case.

    AND:

    the while loop ignores samples; If you run the vi and look at the speed at which the table fills, ypu notice it is not periodic: the first few items are inserted at 1 second interval, but then it jumps one;

    would it be because of the wait time 1ms?

    1. How can I create a structure that does this:

    If set to True, it samples a value from Genesis at random and places it in the table

    OTHERWISE, it does NOTHING, without zeros sent to the table just waiting for the next true and only the values sampled at True remain in the table?

    2. How can I stop it pop samples (multiples of 1000 in my case)?

    In conclusion: I need to be able to take samples on the sample generator and store them in an array of 3d in a zig - zag (1.jpg) way, but able to think about it, we need to go beyond these two questions.

    Please ignore the meter.

    Please help me!

    TibiG wrote:

    Thanks, Crossrulz!

    This did not omit all values and it works fine.

    Is it possible to get information in a case without making use of the large loop?

    My program will become very complex (I need to synchronize a magnetometer and a stepper motor to make a 3d map of the magnetic field of the magnet) and I want to do everything as simple as possible.

    If there is a way to get information about a case structure, other tnan using registers with shift on the big loop, and you know it, please show me.

    Thank you!

    You could also use a Feedback node, just keep it out of the structure of the case.

  • [Insert values in table with the output values of the procedure]

    Hello

    I wrote the following procedure

    <>PROCEDURE
    create or replace procedure experience is
    cursor curexp is e.employee_id, trunc (months_between (jh.end_date, jh.start_date)) select exp, e.first_name, e.last_name, d.department_name, l.city, c.country_name, l.street_address
    e employees, job_history jh, departments d, places the country c
    where e.employee_id = jh.employee_id
    and e.department_id = d.department_id
    and d.location_id = l.location_id
    and l.country_id = c.country_id;

    v_result curexp % rowtype;

    Start
    Open curexp;
    loop
    extract the curexp in v_result;
    When the output curexp % notfound;
    dbms_output.put_line (v_result.employee_id |) ' '|| v_result.exp | ' '|| v_result.first_name | v_result.last_name);
    end loop;
    end;
    < / procedure >

    to get the values as below
    < output >
    101 NeenaKochhar 49
    101 NeenaKochhar 40
    102 66 LexDe Haan
    114 DenRaphaely 21
    122 PayamKaufling 11
    176 helenethibaut 9
    176 helenethibaut 11
    200 JenniferWhalen 69
    200 JenniferWhalen 53
    201 MichaelHartstein 46
    < / output >
    After that, I created a table as below
    < table >
    create table exp_recored (employee_id number, number of exp_mon, name varchar2 (20))
    < /table >
    Now I want to insert values in the table above

    I tried like below
    < Insert >
    Start
    insert into exp_recored (employe_id, exp_mon, name) values (experience);
    end;
    < / insetr >
    but I got error like below

    PL/SQL: ORA-00947: not enough values

    Could someone tell me please on the above point

    Thank you
    Thelak

    thelakbe wrote:
    Hello

    I tried too

    During this operation
    Start
    insert into exp_recored (employe_id, exp_mon, name) values (v_result.employee_id, v_result.exp, v_result.first_name | v_result.last_name);
    end;

    I got the below error

    PL/SQL: ORA-00984: column not allowed here

    You can try this?

    CREATE OR REPLACE
    PROCEDURE experience
    IS
      CURSOR curexp
      IS
        SELECT e.employee_id,
          TRUNC(months_between(jh.end_date,jh.start_date)) exp,
          e.first_name,
          e.last_name,
          d.department_name,
          l.city,
          c.country_name,
          l.street_address
        FROM employees e,
          job_history jh,
          departments d,
          locations l,
          countries c
        WHERE e.employee_id=jh.employee_id
        AND e.department_id=d.department_id
        AND d.location_id  =l.location_id
        AND l.country_id   =c.country_id;
      v_result curexp%rowtype;
    BEGIN
      OPEN curexp;
      LOOP
        FETCH CUREXP INTO V_RESULT;
        EXIT WHEN CUREXP% NOTFOUND;
    
        INSERT INTO EXP_RECORED (EMPLOYEE_ID,EXP_MON,NAME)
        VALUES (V_RESULT.EMPLOYEE_ID,V_RESULT.EXP,V_RESULT.FIRST_NAME||V_RESULT.LAST_NAME);
      END LOOP;
    
      COMMIT;
    END;
    
  • How to fix the value of table type defined on page of the ofa LOV

    Hello world
    There's a valueset created in the xx_ap_valueset to say front end which is of type table and created on a table xx_ap_table somewhere with cluase and stopped by the clause.

    Is there a way that we can reach this value a page of the OPS LOV? or is it just that I need to create a vo and reproduce the select statement used in the valueset.


    Help, please!

    Thank you
    Sunny

    Sunny,

    You can not attach the Valueset to the Lov directly. You must create a VO for this.

    Kind regards
    GYAN

  • How to get the values of the modified line of table of the ADF?

    JDev 11.

    I have a table that is filled with bean data.
    I need to save changes after the user makes changes in any table cell. InputText is defined for the table column component.
    I've defined ValueChangeListener for inputText field and AutoSubmit = true. So when the user change the value field inputText, the method is called:

    public void SaveMaterial (ValueChangeEvent valueChangeEvent) {}
    getSelectedRow();
    SaveMaterial (material);
    }

    This method must call getSelectedRow that take values of the selected table row and save them in object:

    private line {} getSelectedRow()

    Table richeTableau = this.getMaterialTable ();
    Selection of the iterator = table.getSelectedRowKeys () .iterator ();
    While (selection.hasNext ())
    {
    Key of the object = next ();
    table.setRowKey (key);
    Object o = table.getRowData ();
    material = o (HARDWARE);
    }
    System.out.println ("selected hardware Desc =" + material.getEnumb ());
    Returns a null value.
    }

    Problem is that getSelectedRow method is not new (edited) values, old values are still used.

    I tried to use ActiveButton with the same method and it works very well in this case. New values are inserted and active line in the object selected.

    JSF:

    < af:table var = 'row' rowSelection = "single" columnSelection = "unique."
    value = "#{ManageWO.Material}" binding = "#{ManageWO.materialTable}" > "

    < af:column sortable = "false" headerText = "E-number" >
    "< af:inputText value =" #{row.enumb} "valueChangeListener =" #{ManageWO.SaveMaterial} "autoSubmit ="true"/ >
    < / af:column >

    < af:column sortable = "false" headerText = "Description" >
    "< af:inputText value =" #{row.desc} "valueChangeListener =" #{ManageWO.SaveMaterial} "autoSubmit ="true"/ >
    < / af:column >
    ......
    < / af:table >

    < af:activeCommandToolbarButton text = "Save" action = "#{ManageWO.EditData}" / >


    What is a good place where Save method must be called to get the new values (edited) table of the ADF?

    Thank you.

    Have you looked into the valueChangeEvent?

    There oldValue and newValue attributes.

    public void SaveMaterial(ValueChangeEvent valueChangeEvent) {
    Object oldVal = valueChangeEvent.getOldValue();
    Object newVal = valueChangeEvent.getNewValue();
    // check if you see what you are looking for.....
    getSelectedRow();
    SaveMaterial(material);
    }
    

    Timo

  • Analysis.Math.Statistics fails when NaN values are included in the entry tables

    Hi all..

    With the help of Measurement Studio to Version 8.9 of .net. We need calculate statistics on a table that contains a double. NaN values. When I do this I get NaN as the result of any of the statistical methods (average, STDS etc.) ... Interestingly, the Math.ArrayOperations methods look like they work. Any ideas?

    Thank you

    gdssoftware

    Hi GDSSoftware,

    You see this behavior because the statistical functions with Measurement Studio ignore not input values NaN - that is why, they will return results NaN.  To work around this problem, you will need to filter these NaN values out of your input array before performing statistical analysis on this subject.

    If you're working with .NET 3.5 and later versions, you can do this by using the following:

    Double [] vals = new double [] {0d, 6 d, 10 d, 4 d, double. NaN};
    Double [] nanless_vals = vals. Where (d =>! double.) IsNaN (d)). ToArray();

    If you use an earlier version of the .NET framework, you will need to perform a loop on the table with the following (or something similar):

    Double [] vals = new double [] {0d, 6 d, 10 d, 4 d, double. NaN};
    List nanless_list As new List();
    for (int i = 0; i)< vals.length;="">
    If (! double.) IsNaN (vals [i]))
    nanless_list. Add (Vals [i]);
    Double [] nanless_vals is nanless_list. ToArray();

    I hope this helps!

    Kind regards

    Stephanie R.

    National Instruments

  • Obligation to fill the values in table advanced according to the selection of a value in another article of lov (not in the advanced table)

    Hi all

    We work in a custom oaf page subdivision. We have an obligation to fill the values in table advanced based on a value selection in an element of the lov (this LOV is not in the advanced table) .can share you it please me steps or examples of code to achieve this. Waiting for response.

    Kind regards

    I do not understand completely still. What do you mean by "default in the table values must be inserted".

    You can create a dummy VO with the same columns and fix the VO in the advanced table.

    In the normal scenario, when the user clicks on submit button, browse this VO, and copy the values to the validation according to VO and appeal EO. If values gets inserted into the database.

    When the user selects the number of PO, simply run the other VO and fill this dummy VO so that values are available in the advanced table. When you click on send, do not copy these values to the EO based VO, so these lines won't get inserted.

    It work?

    See you soon

    AJ

  • Change an attribute value in a table of the tree at all levels using the control button.

    Hi all

    I use JDeveloper Version 11.1.1.7.0.

    I have set up on my Table from the tree only when selected in the parent level also chooses the checkbox on the levels of the child associated with a checkbox, see my below base schema.

    My method to achieve this was to follow this guide... Andrejus Baranovskis Blog: box support in ADF tree Table different levels

    1. [Checkbox] status. Name | Employee ID

    -> 2 status [Checkbox] | Name | Employee ID | etc. | etc.

    -> 3 status [Checkbox] | Name | Employee ID | etc. | etc. | etc.

    What I want to do now, is once the box is checked at the parent level and all child nodes checkboxes are also selected, is on pressure of a command button, the value of my 'Status' column has changed through all the levels where the check box is checked.

    The default of my column 'State' is 'untrusted', it should be replaced by "Approved" once the Parent level checkbox is checked (which causes the child nodes also be checked) and you press a command button.

    I searched for some pointers on how to do so for some time,

    I was trying to think of a way to use the attribute of checkboxes that is a Boolean data type, there may be a way to create a method that checks if the Boolean attribute = true and where is the value of the Status column should be changed, the problem is to make it through all three levels of the table from the tree. But I can't understand it, any help would be greatly appreciated.

    Thank you

    Kind regards

    Jamie.

    Hi Jamie,

    I guess that you can apply the same idea that you used to update the Boolean attribute box of your iterator. This time you need to do is to iterate exactly same way but update the Status attribute. Have you tried to do this? So while the first course you'll hand over your boolean, check and update status accordingly.

    What keeps you from doing this?

    Concerning

  • A search criterion and the result as a table in the header. Wanted to bind the result table to bean to access the value of the key

    The search criteria and the result is displayed in the table in a group header.  I want to get the value of the selected row and analyze the value of Vo in the next page for a variable binding. So I need to manage the value biniding to the bean tbal, but there is no option to bind the table to a bean. So, how can I get the selected value.

    Kind regards

    K M Krishna.

    First tell us your version of jdev, please.

    to get to the selected line you need not to link the table to a managed bean. You can for example drag the necessary attributes of the VO on the page and drop them as components of a inputText. the framework then generated the attribute bindings and sets the values of the current row for them. As you do not really need the inputText elements switch to source view (! it is essential!), then remove them. This will eliminate the Visual component, but attribute bindings are stored.

    Know you can access the values through their EL or as you get the value of an attribute via it's mandatory.

    Timo

  • Would like to know which table in the repository contains the value of the operating system

    Hello

    I would like to know which table in the repository contains the value of "Owner operating system".

    Any ideas.

    Thank you
    Paul

    The following query should help you:

    SELECT t.target_name agent_name, cm.string_value mgmt_targets Os_User t, mgmt_metrics m.
    cm mgmt_current_metrics WHERE t.target_type = 'oracle_emd. '
    AND m.target_type = 'oracle_emd' AND t.target_guid = cm.target_guid AND cm.metric_guid = m.metric_guid
    AND m.metric_name = 'EMDIdentity' AND m.metric_column = 'username' AND m.type_meta_ver = t.type_meta_ver;

    Best regards
    Vincent

  • update to column values (false) in a copy of the same table with the correct values

    Database is 10gr 2 - had a situation last night where someone changed inadvertently values of column on a couple of hundred thousand records with an incorrect value first thing in the morning and never let me know later in the day. My undo retention was not large enough to create a copy of the table as it was 7 hours comes back with a "insert in table_2 select * from table_1 to timestamp...» "query, so I restored the backup previous nights to another machine and it picked up at 07:00 (just before the hour, he made the change), created a dblink since the production database and created a copy of the table of the restored database.

    My first thought was to simply update the table of production with the correct values of the correct copy, using something like this:


    Update mnt.workorders
    Set approvalstat = (select b.approvalstat
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi)
    where exists (select *)
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi)

    It wasn't the exact syntax, but you get the idea, I wanted to put the incorrect values in x columns in the tables of production with the correct values of the copy of the table of the restored backup. Anyway, it was (or seem to) works, but I look at the process through OEM it was estimated 100 + hours with full table scans, so I killed him. I found myself just inserting (copy) the lines added to the production since the table copy by doing a select statement of the production table where < col_with_datestamp > is > = 07:00, truncate the table of production, then re insert the rows from now to correct the copy.

    Do a post-mortem today, I replay the scenario on the copy that I restored, trying to figure out a cleaner, a quicker way to do it, if the need arise again. I went and randomly changed some values in a column number (called "comappstat") in a copy of the table of production, and then thought that I would try the following resets the values of the correct table:

    Update (select a.comappstat, b.comappstat
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi - this is a PK column
    and a.comappstat! = b.comappstat)
    Set b.comappstat = a.comappstat

    Although I thought that the syntax is correct, I get an "ORA-00904: 'A'. '. ' COMAPPSTAT': invalid identifier ' to run this, I was trying to guess where the syntax was wrong here, then thought that perhaps having the subquery returns a single line would be cleaner and faster anyway, so I gave up on that and instead tried this:

    Update mnt.workorders_copy
    Set comappstat = (select distinct)
    a.comappstat
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi
    and a.comappstat! = b.comappstat)
    where a.comappstat! = b.comappstat
    and a.workordersoi = b.workordersoi

    The subquery executed on its own returns a single value 9, which is the correct value of the column in the table of the prod, and I want to replace the incorrect a '12' (I've updated the copy to change the value of the column comappstat to 12 everywhere where it was 9) However when I run the query again I get this error :

    ERROR on line 8:
    ORA-00904: "B". "" WORKORDERSOI ": invalid identifier

    First of all, I don't see why the update statement does not work (it's probably obvious, but I'm not)

    Secondly, it is the best approach for updating a column (or columns) that are incorrect, with the columns in the same table which are correct, or is there a better way?

    I would sooner update the table rather than delete or truncate then re insert, as it was a trigger for insert/update I had to disable it on the notice re and truncate the table unusable a demand so I was re insert.

    Thank you

    Hello

    First of all, after post 79, you need to know how to format your code.

    Your last request reads as follows:

    UPDATE
      mnt.workorders_copy
    SET
      comappstat =
      (
        SELECT DISTINCT
          a.comappstat
        FROM
          mnt.workorders a
        , mnt.workorders_copy b
        WHERE
          a.workordersoi    = b.workordersoi
          AND a.comappstat != b.comappstat
      )
    WHERE
      a.comappstat      != b.comappstat
      AND a.workordersoi = b.workordersoi
    

    This will not work for several reasons:
    The sub query allows you to define a and b and outside the breakets you can't refer to a or b.
    There is no link between the mnt.workorders_copy and the the update and the request of void.

    If you do this you should have something like this:

    UPDATE
      mnt.workorders     A      -- THIS IS THE TABLE YOU WANT TO UPDATE
    SET
      A.comappstat =
      (
        SELECT
          B.comappstat
        FROM
          mnt.workorders_copy B   -- THIS IS THE TABLE WITH THE CORRECT (OLD) VALUES
        WHERE
          a.workordersoi    = b.workordersoi      -- THIS MUST BE THE KEY
          AND a.comappstat != b.comappstat
      )
    WHERE
      EXISTS
      (
        SELECT
          B.comappstat
        FROM
          mnt.workorders_copy B
        WHERE
          a.workordersoi    = b.workordersoi      -- THIS MUST BE THE KEY
          AND a.comappstat != b.comappstat
      )
    

    Speed is not so good that you run the query to sub for each row in mnt.workorders
    Note it is condition in where. You need other wise, you will update the unchanged to null values.

    I wouold do it like this:

    UPDATE
      (
        SELECT
          A.workordersoi
          ,A.comappstat
          ,B.comappstat           comappstat_OLD
    
        FROM
          mnt.workorders        A      -- THIS IS THE TABLE YOU WANT TO UPDATE
          ,mnt.workorders_copy  B      -- THIS IS THE TABLE WITH THE CORRECT (OLD) VALUES
    
        WHERE
          a.workordersoi    = b.workordersoi      -- THIS MUST BE THE KEY
          AND a.comappstat != b.comappstat
      ) C
    
    SET
      C.comappstat = comappstat_OLD
    ;
    

    This way you can test the subquery first and know exectly what will be updated.
    This was not a sub query that is executed for each line preformance should be better.

    Kind regards

    Peter

  • How to generate a value of 0 if the table does not value contain?

    Hello

    I have a nice select gives me these results:
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:01 36.6 01/2008
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:02 63.4 02/2008
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:03 73.2 03/2008
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:04 78.6 04/2008
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:05 98.8 05/2008
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:06 2008-06-30.4
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:07 23.8 07/2008
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:08 70.8 08/2008
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:09 14 2008-09
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:10 60.4 10/2008
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:11 46 11/2008

    You see, the month 12 is missing, because no data exists in the table. OK, that's normal.

    But I want to display the result 0 even if nothing in the table for the month 12. The result would be:
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:01 36.6 01/2008
    etc...
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:11 46 11/2008
    f? p =: 2::GET_DETAIL_REPORT:NO:P2_VALUE:12 0 2008-11

    I know that I have to generate a list of values for each month and join them.
    select add_months(to_date('01'||:P2_DATE_DEBUT, 'mm/yyyy'), level-1) dt from dual connect by level <= 12
    Could you please help me this?

    It's nice select I already have.
    SELECT 'f?p=&APP_ID.:2:&SESSION.:GET_DETAIL_REPORT:NO::P2_VALUE:' 
           || TO_CHAR(TRUNC(date1, 'MM'), 'MM') LINK, 
           To_CHAR(TRUNC(DATE1, 'MM'), 'MM/YYYY') valeur, 
           sum(valeur) "Cumul"
           FROM PL_MF_JOUR
    WHERE  cle = :P2_DEPT
    AND    DATE1
    BETWEEN to_date('01/01' || :P2_DATE_DEBUT || ' 00:00:00', 'DD/MM/YYYY HH24:MI:SS')
    AND     to_date('01/01' || :P2_DATE_DEBUT || ' 23:59:59', 'DD/MM/YYYY HH24:MI:SS') +364
    GROUP BY TRUNC(DATE1, 'MM')
    ORDER BY TRUNC(DATE1, 'MM')
    Kind regards

    Christian

    PS: your help is very appreciated every time, thank you.

    You need to generate your calendar of 12 months and then left outer join with it.

    Something like:

    WITH dts as (select to_date('01/'to_char(rownum,'fm99')||'/'||:P2_DATE_DEBUT,'DD/MM/YYYY') as dt
                 from dual connect by rownum <= 12)
    SELECT 'f?p=&APP_ID.:2:&SESSION.:GET_DETAIL_REPORT:NO::P2_VALUE:'
           || TO_CHAR(dt, 'MM') LINK,
           TO_CHAR(dt, 'MM/YYYY') valeur,
           sum(valeur) "Cumul"
    FROM dts LEFT OUTER JOIN PL_MF_JOUR ON (dt = TRUNC(DATE1,'MM')
                                       AND cle = :P2_DEPT
                                       AND DATE1
                                       BETWEEN to_date('01/01' || :P2_DATE_DEBUT || ' 00:00:00', 'DD/MM/YYYY HH24:MI:SS')
                                       AND     to_date('01/01' || :P2_DATE_DEBUT || ' 23:59:59', 'DD/MM/YYYY HH24:MI:SS')+364
                                       )
    GROUP BY dt
    ORDER BY dt
    

    NB. Untested (obviously)

  • At all indexes on tables of the same value in the structure of the event

    Hello

    I have a panel with the four bays and I use a structure of the event.

    Now, I want that change of the index of array_1 also affects the index of 3 other tables at the same index.

    But there is only a property "value Exchange" and no property 'index-change' in the properties of the table.

    So I read the 'index' property and write in the other table.

    But: It seems as if I have to do so within the period of waiting-section of the structure of the event.

    Is there another way to do this?

    Thanks for help

    You can use the mouse event on each table to detec the event (of course, that will attract not only a change of index, but I don't think you care too) and then use the 'values of the indices' property on all the table to set.

    See annex VI (LV2012), hope this helps

Maybe you are looking for