Currency + sum if multiple currency -sql help

create table t1(curr varchar2(3), exchange number, amount number);
insert into t1 values('USD', 0.63, 140);
insert into t1 values('GBP', null, 1048);
insert into t1 values('USD', 0.65,5481);
insert into t1 values('GBP', null, 10);
I want to display total amount in other currency code than USD. so GBP (0.63 * 140 + 1* 1048 + 0.65*5481 + 1*10)
= GBP 4708.85 should be the result displayed.
thanks for the help.

Hi
Your not being very clear here. You can't hardcode GBP but you want all results in GBP? The example I gave said NOT equal to GBP, and therefore would include all other currencies for conversion - not just USD.
On a second note...
SELECT 'X'
FROM   v$reserved_words
WHERE  keyword  = 'EXCHANGE';You really shouldn't used reserved words for column names, it's very bad practice (I appreciate that you may have just provided dummy column names and data for the example though).
And a third point - would it be more prudent to have an exchange rates table and a function that accepts currency from, currency to, amount and date as parameters?
Cheers
Ben

Similar Messages

  • DIFFERENCE BETWEEN SUM AND COUNT IN SQL

    DIFFERENCE BETWEEN SUM AND COUNT IN SQL
    WHAT IS THE DIFFERENCE VERIFY IN DETAIL/

    21031980, I suggest you upgrade your computer sothat you can access google.
    lol.
    wtfpwnd.Google is also helpful for understanding the strange
    acronyms that show up around here lately (yes, I did
    find and understand this one). :-)Haha, sorry!
    It's the inner-gamer in me rearing its ugly head...
    :-)

  • How to calculate the individual sums of multiple columns in a single query

    Hello,
    Using Oracle 11gR2 on windows 7 client. I have a question on calculating sum() on multiple columns on different columns and store the results in a view. Unfortunately I could not post the problem here as it keeps on giving error "Sorry, this content is not allowed", without telling where or what it is! So I had to post it in the stack-overflow forum, here is the link: http://stackoverflow.com/questions/16529721/how-to-calculate-the-individual-sums-of-multiple-columns-in-a-single-query-ora
    Will appreciate any help or suggestion.
    Thanks

    user13667036 wrote:
    Hello,
    Using Oracle 11gR2 on windows 7 client. I have a question on calculating sum() on multiple columns on different columns and store the results in a view. Unfortunately I could not post the problem here as it keeps on giving error "Sorry, this content is not allowed", without telling where or what it is! So I had to post it in the stack-overflow forum, here is the link: http://stackoverflow.com/questions/16529721/how-to-calculate-the-individual-sums-of-multiple-columns-in-a-single-query-ora
    Will appreciate any help or suggestion.
    ThanksLooks like you want a simple group by.
    select
              yr
         ,      mnth
         ,      region
         ,     sum(handled_package)
         ,     sum(expected_missing_package)
         ,     sum(actual_missing_package)
    from test
    group by
         yr, mnth, region
    order by      
         yr, mnth, region;I wouldn't recommend storing your data for year / month in 2 columns like that unless you have a really good reason. I would store it as a date column and add a check constraint to ensure that the date is always the first of the month, then format it out as you wish to the client.
    CREATE TABLE test
         year_month                              date,
        Region                     VARCHAR2(50),
        CITY                       VARCHAR2(50),             
        Handled_Package            NUMBER,       
        Expected_Missing_Package   NUMBER,   
        Actual_Missing_Package     NUMBER
    alter table test add constraint firs_of_month check (year_month = trunc(year_month, 'mm'));
    ME_XE?Insert into TEST (year_month, REGION, CITY, HANDLED_PACKAGE, EXPECTED_MISSING_PACKAGE, ACTUAL_MISSING_PACKAGE)
      2  Values (to_date('2012-nov-12', 'yyyy-mon-dd'), 'Western', 'San Fransisco', 200, 10, 5);
    Insert into TEST (year_month, REGION, CITY, HANDLED_PACKAGE, EXPECTED_MISSING_PACKAGE, ACTUAL_MISSING_PACKAGE)
    ERROR at line 1:
    ORA-02290: check constraint (TUBBY.FIRS_OF_MONTH) violated
    Elapsed: 00:00:00.03
    ME_XE?Insert into TEST (year_month, REGION, CITY, HANDLED_PACKAGE, EXPECTED_MISSING_PACKAGE, ACTUAL_MISSING_PACKAGE)
      2  Values (to_date('2012-nov-01', 'yyyy-mon-dd'), 'Western', 'San Fransisco', 200, 10, 5);
    1 row created.
    Elapsed: 00:00:00.01
    ME_XE?select
      2        to_char(year_month, 'fmYYYY')    as year
      3     ,  to_char(year_month, 'fmMonth')   as month
      4     ,  Region
      5     ,  CITY
      6     ,  Handled_Package
      7     ,  Expected_Missing_Package
      8     ,  Actual_Missing_Package
      9  from test;
    YEAR         MONTH                REGION                         CITY                    HANDLED_PACKAGE EXPECTED_MISSING_PACKAGE ACTUAL_MISSING_PACKAGE
    2012         November             Western                        San Fransisco                       200                       10                      5
    1 row selected.
    Elapsed: 00:00:00.01
    ME_XE?Then you have nice a nice and easy validation that ensures you data integrity.
    Cheers,

  • PIVOT sql help

    Hi again
    I need some PIVOT sql help
    In this query:
    SELECT
    SUM([RATES]) as RATES
    ,SUM([CONVERSION])as CONVERSION
    FROM REPORTING
    outputs
    RATES CONVERSION
    23 234
    How would change this query to display a table like:
    Name Amount
    RATES 23
    CONVERSION 234
    Keep up the good work !

    nikos101 wrote:
    > How would change this query to display a table like:
    Do you *HAVE* to change the query... you could just display
    it in the
    desired format if that it the ultimate and only goal.
    <table>
    <tr>
    <td>name</td>
    <td>amount</td>
    </tr>
    <cfoutput query="sumQry">
    <tr><td>Rates</td><td>#rates#</td></tr>
    <tr><td>Conversion</td><td>#conversion#</td></tr>
    </cfoutput>
    </table>

  • How do I total across multiple Tables? Help!

    how do I total across multiple Tables? Help!
    I feel like a complete noob.

    Hi Marc,
    There is no function explicitly for that sort of array calculation in Numbers.
    My favorite way is to use a list of Table Names and the INDIRECT(ADDRESS) function combination to produce a SUM across tables. I'm making the assumption that you want to do something like adding up all the values in a particular cell of multiple tables.  For example "give me the total of all the A1 cells in tables T1, T2, T3 and T4".  For this I would use the formula:
    =INDIRECT(ADDRESS(1,1,1,,A))
    to grab the cell contents of the table names mentioned in column A of a summary table.  Once you have them collected in your summary table, add them up.
    Here's a screen shot...
    Hope that gives you an idea for approaching this problem.
    Jerry

  • Multiple pl/sql expressions for a conditonal process

    Can I put multiple pl/sql expressions in the expression one box? I want run a process on conditions that posts an update when the user has checked a box that was not previously checked.
    looks something like this:
    when
    (p1_checkbox1 = 'Y' or p1_checkbox2 = 'Y')
    and ((p1_checkbox1 =! p1_checkbox1_sav)
    or (p1_checkbox2 =! p1_checkbox2_sav))
    Is this possible or will I need to create multiple processes that do the same thing with different run conditions?

    Please tell us your first name and update your forum profile with it to help us. Thanks.
    The answer is no, you can only have one expression, for example:
    (:p1_checkbox1 = 'Y' or :p1_checkbox2 = 'Y')
      and ((:p1_checkbox1 =! :p1_checkbox1_sav)
      or (:p1_checkbox2 =! :p1_checkbox2_sav))Scott

  • Iterating through the result of a multiple row sql statement

    Hi all,
    I would like to access the results of a multiple row sql-statement. However I can't find out how to do this, can you help me here?
    I have tried using the "node-set" functions in xpath, but I can't seem to get it right.
    How should I approach this scenario?
    Sincerely
    Kim

    The jdbc service has the option of returning xml back to you ...if you do it this way then you can interogate the xml

  • HOW TO - Create new from clipboard and process multiple files - please help

    Need help - have new version of photoshop on trial only ATM...
    Want to know - HOW TO:
    1. Create new from clipbaord
    2. Process multiple files
    Please help.

    For clipboard copy, I start with File > New and the size will be set to what's in the clipboard. Then once the new file is opened, Edit > Paste will place the clipboard contents as a layer in the new document.
    You must remember to use the command Layer > Flatten Image of you want to save as jpeg or any other file format that doesn't support layers.
    For processing multiple files,
    File > Automate > Batch or
    File > Scripts > Image Processor...
    Check the User guide or google information for those commands if you have specific needs.
    Gene

  • How to sum a column in SQL server??

    How do I sum a column called 'expenditureamount' in a sql table 'expenditureform', such that I get the total expenditure amount displayed in a text box??

    You can sum it with the SQL SUM function, of course, but what that has to do with how your program display that sum, I don't know. IOW, how you display is not anything related to JDBC, and how you SUM it is not anything related to JDBC. The first one is SQL (check on an SQL forum or Google for it) and the second depends on how you want to display it, and there are more appropriate forums than the JDBC one, for that.

  • 많은 INLIST와 MULTIPLE OR 연산을 갖는 SQL의 OPTIMIZATION

    제품 : ORACLE SERVER
    작성날짜 : 2004-04-19
    많은 Inlist와 multiple OR 연산을 갖는 SQL의 Optimization
    =========================================================
    PURPOSE
    이 문서는 IN 연산 내의 많은 IN List와 많은 OR 연산자를 갖는
    경우에 CBO가 어떻게 처리하는가에 대한 자료이다.
    Explanation
    많은 개발자나 DBA들은 IN 연산자와 OR 연산자를 사용하는 SQL이
    과도한 Optimization time을 야기시키는 문제를 경험했을 것이다.
    이 문서에서는 CBO가 어떻게 IN list와 OR 연산자를 처리하는지
    설명하고자 한다.
    CBO가 IN list 연산을 만나면 다음과 같은 몇 가지 option을 가지고 판단한다.
    1. SQL 문장을 UNION ALL 이 들어간 문장의 연속으로 나눈다.
    SELECT empno FROM emp WHERE deptno IN (10,20,30);
    라는 문장을 살펴보자.
    이 문장은 다음과 같이 다시 쓰여질 수 있다.
    SELECT empno FROM emp WHERE deptno = 10
    UNION ALL
    SELECT empno FROM emp WHERE deptno = 20
    UNION ALL
    SELECT empno FROM emp WHERE deptno = 30
    만약 deptno column이 indexed된다면 index는 각 branch 단에서 loopup하기
    위해 사용될 수 있다.
    만약 split이 Cost Based Optimizer로 자동으로 발생하지 않는다면
    USE_CONCAT hint 를 사용함으로써 강제로 수행될 수 있다.
    이 내용에 대해서는 <Note:17214.1>을 참조하도록 한다.
    2. IN list를 list로 남겨 두고, filter로서 값을 사용한다.
    Oracle 7에서 이 옵션은 index를 사용할 수 없다.
    Oracle 8에서 이 옵션은 index를 사용할 수 있는 'inlist iterator' 라는
    것을 사용하여 제공된다.
    NO_EXPAND hint를 사용함으로써 expand가 일어나지 않도록 CBO 에게 지정할 수 있다.
    아주 긴 inlist는 CBO 환경에서 문제를 야기시킬 수 있다. 특히 inlist가 많은 수의
    UNION ALL 문장으로 expand될 때 그러하다. 왜냐하면 CBO가 expand된 문장들에
    대해서 Cost를 결정해야 하기 때문이다. 이러한 expand된 문장들은 많은 수의
    branch 때문에 time을 소모하는 문장들이다.
    RBO(Rule Based Optimizer) 환경에서는 이것은 cost 산정을 하지 않으므로 문제가
    되지 않는다.
    Workaround
    만약 아주 긴 inlist 때문에 parsing 문제가 있다면 workaround는 다음과 같다.
    1) NO_EXPAND hint를 사용하도록 한다. 이 힌트를 쓰면 Oracle 7에서는 index를
    사용하지 않고, Oracle 8에서는 index를 사용할 수 있다.
    2) RBO 를 사용하도록 한다.
    3) Query를 재작성한다. Inlist가 lookup table에 저장이 되도록 해서
    inlist를 사용하는 대신에 그 table에 join을 한다.
    주의) hint를 사용하게 되면 CBO로 동작하게 됨을 기억해야 한다.
    Example
    none
    Reference Documents
    <Note:62153.1>

  • SQL Server SUM of Multiple rows with where and group by

    I have a table Transaction that looks something like the following :
    TransactionID          
    Currency        
    Credit             
    Debit
    1                                USD                   
    500               0
    2                                Afcu                    
    6000             0
    3                                INR                     
    0                   200
    4                                Pfc                      
    7000             0
    5                                AUD                     
    0                  200
    6                                INR                     
    7000              0
    7                                USD                    
    1000              0
    I write query like this
    select SUM(credit)-SUM(Debit)as [Balance] ,Source from Transaction group by Source
    and it came like
    Balance
    Source           
    1500                        USD
    6000                        Afcu
    6800                        INR
    7000                        Pfc
    -200                         AUD
    But I also want to add  Afcu , Pfc with
    USD and  want output like
    Balance
    Source           
    14500                        USD
    6800                          INR
    -200                           AUD
    Any Idea?

    Here is how you can do it, but you 
    DECLARE @TransTable TABLE
    (TransactionID INT IDENTITY(1,1),
    Currency varchar(10),
    Credit DECIMAL,
    Debit DECIMAL)
    INSERT INTO @TransTable VALUES
    ('USD',500,0),('Afcu',6000,0),('INR',0,200),('Pfc',7000,0),('AUD',0,200),
    ('INR',7000,0),('USD',1000,0)
    SELECT Currency, SUM(credit)-SUM(Debit)as [Balance]
    FROM @TransTable
    WHERE Currency NOT IN ('Afcu', 'pfc','USD')
    GROUP BY Currency
    UNION
    SELECT 'USD', SUM(credit)-SUM(Debit)as [Balance]
    FROM @TransTable
    WHERE Currency IN ('Afcu', 'pfc','USD')
    SQL fiddler example
    Output:
    Hope this will help
    Glad to help! Please remember to accept the answer if you found it helpful. It will be useful for future readers having same issue.
    My Profile on Microsoft ASP.NET forum

  • Currency Converter Help

    Hey I am making a java program to convert from certian currency types to another. It reads from a file w the rates .. and all currency types are 2 words long.. such as Japanese Yen, American Dollar, and so on. Now heres the code.
    import java.io.*;
    import java.util.*;
    import java.text.*;
    public class CurrencyConverter{
        public static void main(String[] args) throws FileNotFoundException{
            try{
                // Importing file with rates
                Scanner console = new Scanner(new File("rates.txt"));
                String s = "y";
                while(s.equalsIgnoreCase("y") || s.equalsIgnoreCase("yes")){
                    // Declaring variables
                    String[] currency = new String[6];
                    double[] rate = new double[6];
                    int i = 0;
                    // List currency types able to be converted
                    System.out.println("Currency types available for conversions:");
                    while(console.hasNextLine()){
                        String line = console.nextLine();
                        Scanner data = new Scanner(line);
                        currency[i] = data.next() + " " + data.next();
                        System.out.println(currency);
    rate[i] = data.nextDouble();
    i++;
    // Input currency type we are converting from and to
    System.out.println("Please enter the currency you wish to convert from:");
    Scanner input = new Scanner(System.in);
    String cfrom = input.nextLine();
    System.out.println("Please enter the currency you wish to convert to:");
    String cto = input.nextLine();
    // Input amount of currency
    System.out.println("And how much of " + cfrom + "s are we converting to " + cto + "s?");
    double amount = input.nextDouble();
    // Calculate
    int j = 0;
    while(! cfrom.equalsIgnoreCase(currency[j])){
    j++;
    int k = 0;
    while(! cto.equalsIgnoreCase(currency[k])){
    k++;
    double adollars = amount / rate[j];
    double total = adollars * rate[k];
    // format for numbers
    DecimalFormat df = new DecimalFormat("#.##");
    System.out.println((df.format(amount)) + " " + cfrom + "s equal " + (df.format(total)) + " " + cto + "s.");
    System.out.println();
    System.out.println("Would you like to make another converstion?");
    Scanner input2 = new Scanner(System.in);
    s = input2.nextLine();
    System.out.println();
    console.close();
    }catch (Exception e){
    System.out.println("Invalid Entry. Please make sure you are entering the correct currency and");
    System.out.println("and a numeric value for the amount.");
    The program just feels really wrong to me. What I really have problems with is using the Try/Catch .. I would really like to be able to have them re enter a currency type or amount instead of it going to the catch and ending the program if one is wrong. Also I am not 100% sure about my formating to double decimals on the output.
    Well thos are my 2 biggest concerns atm. Any advice even if its about something I didnt mention would be helpful. Just wanna polish this up a little and make it feel correct. Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    What I really have problems with is using the Try/Catch Yep.
    You "expect" that to happen.
    Thus it is not exceptional.
    Put the try catch around the parsing code only. On exit from there you will either have a valid value
    or you ask the user to try again.
    Also I am not 100% sure about my formating to double decimals on the output. Try it.
    Additionally note that generally (maybe always) you would not normally use a floating point type
    for money. Instead either use an integer type or the class BigDecimal.
    Floating point types can lose bits which in business represents real money.

  • Currency Calculations Help Please

    I have been searching for the past 2 days and have not found a usable solution.
    We are working with us currency, or example problem is $1350.50
    Text1 = 1350.50
    Text2 = (Text1*0.25)
    Which is 337.625 but displays with 2 decimal places 337.63
    Text3 = (Text1-Text2)
    Which is 1012.875 but displays with decimal places 1012.88
    of which the total now equals 1350.51
    We are using Acrobat 8 Professional, I am using the text field tool to populate data on the form, and simple calculations for my math.

    Rounding to 2 decimal places makes it only show that the total is 337.63, the actual total is 337.625 which is used in the math calculation.
    I have a form I am trying to ID 10 T proof, they put in one number and the pdf calculates the other 2.  The first calculated amount is 25% of the total amount, the second calculated amount is the difference of the number input and the 25%.
    The currency problem starts with TOTAL $1350.50
    Does that help?

  • T-SQL help require to construct a query to sum on varchar column

    Guys,
    I have a column varchar(400) wherein currency_amount is stored. I need to sum currencyamount however getting the error like  Arithmetic overflow error converting varchar to data type numeric.
    Any suggestion? it has some values  which are having 37 digits after decimal. Might be this is the possible reason.
    Few Ex. .240189558129349189976534590012169112856, .312064488126471335301440042584800148951
    This is the query i am trying
    select sum(convert(decimal(38,20),columnname))
    FROM tablename 

    Did you try converting to float? Also, why do you have such high number of digits if you're talking about currency amounts? Normally, 2 digits is enough for currency.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Error restoring row currency - Need Help

    Hi All,
    Can anyone explain me how can I control the row currency???????
    this is my situation:
    when I navigate from page1 (with one read-only table - tableEmployees) to page2 (with a read-only table - tableSelectEmployees, with this columns: ps, eps, obs, obs2, where ps, eps and obs are the primary keys), selecting the "create" button, I need to insert a new row in tableSelectEmployees (page2) with this values (ps=2, eps=2, obs=null, obs2=null). -----> Until here everything works Fine :)
    The Big problem is when I need to navigate from page2 to page3 (with a read-only table - tableAddEmployees with this columns: DOM_ID, id, meaning, where Id is the primary key). The tableAddEmployees has a Query like this:
    SELECT *
    FROM tableAddEmployees
    WHERE NVL(tableAddEmployees.DOM_ID,0) = NVL(:1, 0)
    AND tableAddEmployees.ID NOT IN (
    SELECT obs
    FROM tableSelectEmployees
    WHERE Ps= :2
    AND Eps = :3
    AND NVL(obs, 0) = NVL(:4, 0))
    When I select the new row created (Ps=2, Eps=2, null, null) in page 2 and go to page3 I get this error messages from the log window:
    12:17:20 DEBUG (JhsActionServlet) -Request class: com.evermind.server.http.EvermindHttpServletRequest
    12:17:20 DEBUG (JhsActionServlet) -Request URI: /App_S2-ViewController-context-root/S2PopUpObstaculos.do
    12:17:20 DEBUG (JhsActionServlet) -Request Character Encoding: windows-1252
    12:17:20 DEBUG (JhsActionServlet) -Parameter searchText:
    12:17:20 DEBUG (JhsActionServlet) -Parameter event_Rollback:
    12:17:20 DEBUG (JhsActionServlet) -Parameter event:
    12:17:20 DEBUG (JhsActionServlet) -Parameter partial:
    12:17:20 DEBUG (JhsActionServlet) -Parameter source:
    12:17:20 DEBUG (JhsActionServlet) -Parameter eventValue:
    12:17:20 DEBUG (JhsActionServlet) -Parameter rowKeyStr:
    12:17:20 DEBUG (JhsActionServlet) -Parameter partialTargets:
    12:17:20 DEBUG (JhsDataAction) -Executing action /S2PopUpObstaculos
    12:17:20 DEBUG (JhsDataAction) -lastIssuedPageTimeStamp set to: 1156245440919
    12:17:20 DEBUG (JhsDataAction) -Found existing searchBean for S2AltaSociais2UIModel
    12:17:20 DEBUG (JhsDataAction) -Stored searchBean for S2AltaSociais2UIModel on request
    12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 0 has changed: old value=0 ,new value=
    12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 1 has changed: old value=0 ,new value=2
    12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 2 has changed: old value=0 ,new value=2
    12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 3 has changed: old value=0 ,new value=
    12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: executing query, bind parameter values have changed
    12:17:20 DEBUG (JhsDataAction) -executing onRollback
    12:17:20 DEBUG (JhsDataAction) -executing Rollback ActionBinding
    12:17:21 DEBUG (JhsDataAction) -Restoring row currencies
    12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
    12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
    12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosAssoc1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosAssoc1Iterator.
    12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
    12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
    12:17:21 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 0 has changed: old value= ,new value=278263
    12:17:21 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 3 has changed: old value= ,new value=278263
    12:17:21 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: executing query, bind parameter values have changed
    12:17:21 DEBUG (JhsDataAction) -Storing table binding factory under key jhsTableBindings on request
    12:17:21 DEBUG (JhsDataAction) -Forward set by parameter property returned: /WEB-INF/page/S2PopUpObstaculos.uix
    --->If I want this null values why is JDeveloper changing the row currency?
    When I select one row from page2 with values like this (2, 2, 278264, null) I get the correct response:
    12:19:41 DEBUG (JhsActionServlet) -Request class: com.evermind.server.http.EvermindHttpServletRequest
    12:19:41 DEBUG (JhsActionServlet) -Request URI: /App_S2-ViewController-context-root/S2PopUpObstaculos.do
    12:19:41 DEBUG (JhsActionServlet) -Request Character Encoding: windows-1252
    12:19:41 DEBUG (JhsActionServlet) -Parameter searchText:
    12:19:41 DEBUG (JhsActionServlet) -Parameter event_Rollback:
    12:19:41 DEBUG (JhsActionServlet) -Parameter event:
    12:19:41 DEBUG (JhsActionServlet) -Parameter partial:
    12:19:41 DEBUG (JhsActionServlet) -Parameter source:
    12:19:41 DEBUG (JhsActionServlet) -Parameter eventValue:
    12:19:41 DEBUG (JhsActionServlet) -Parameter rowKeyStr:
    12:19:41 DEBUG (JhsActionServlet) -Parameter partialTargets:
    12:19:41 DEBUG (JhsDataAction) -Executing action /S2PopUpObstaculos
    12:19:41 DEBUG (JhsDataAction) -lastIssuedPageTimeStamp set to: 1156245581741
    12:19:41 DEBUG (JhsDataAction) -Found existing searchBean for S2AltaSociais2UIModel
    12:19:41 DEBUG (JhsDataAction) -Stored searchBean for S2AltaSociais2UIModel on request
    12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 0 has changed: old value=0 ,new value=278264
    12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 1 has changed: old value=0 ,new value=2
    12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 2 has changed: old value=0 ,new value=2
    12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 3 has changed: old value=0 ,new value=278264
    12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: executing query, bind parameter values have changed
    12:19:41 DEBUG (JhsDataAction) -executing onRollback
    12:19:41 DEBUG (JhsDataAction) -executing Rollback ActionBinding
    12:19:41 DEBUG (JhsDataAction) -Restoring row currencies
    12:19:42 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: bind parameter values have not changed
    12:19:42 DEBUG (JhsDataAction) -Storing table binding factory under key jhsTableBindings on request
    12:19:42 DEBUG (JhsDataAction) -Forward set by parameter property returned: /WEB-INF/page/S2PopUpObstaculos.uix
    Can anyone help me with this problem, please?
    What can I do to solve this currency problem?
    Please, I really need help on this!!!
    I'm using JDeveloper10.1.2, struts, uix pages.
    Thanks,
    Atena

    Can anyone give some help here?

Maybe you are looking for

  • How is VISA resource name & COMport name mapping done?

    I want to give names like COM1 etc. on front panel. On diagram how to convert it to VISA resource name, in order to be able to give it as I/P to open VISA session vi.

  • Chart bean label skipping

    Has anyone been successful in controlling label skipping when using 'setSeriesAreRows(false)' with JDeveloper 9i? I have repeatedly tested using setO1LabelAutoSkip() to no avail. This method is supposed to accept either 0 (no skipping), 1 (skip every

  • Content deployment problem

    An incremental content deployment job that has been working for years between two SharePoint 2007 farms has stopped working. There seems to be a problem with one of the sub-sites, but excluding it from the deployment job does not solve the problem an

  • Re-Transport Clarification in BCS

    Hi All due to some Issues in Original Transport, I want to Create Manual Transport for Data Basis,Consolidation Area and Special Version. During Manual Transport on Data Basis( Right Click on DB and Select TRANSPORT) reached to the Following Options

  • Version 19 Release - Update Folio Builder panel

    Digital Publishing Suite released a mandatory update to the Folio Builder panel as well as a new version of the Folio Producer tools. You can view a list of new features here: What's new in this release. Should you update the Folio Builder panel? Yes