EID Studio 3.1 double problem with data type in view

I had a view work EID Studio 3.0 and it imported to the 3.1. The first thing I did was add the FROM clause, but I get validation errors. Questions (so far) seem to be defined as a mdex:double in my metadata fields. My definition of metadata for RESOURCE_QUANTITY is as follows:

RESOURCE_QUANTITY, quantity,mdex:double, COMP, default

The first question I have is in my WHERE clause:

RESOURCE_QUANTITY <>0.0 OR RESOURCE_AMOUNT <>0.0

gives the following error: a WHERE clause: can't compare mdex:double - set and mdex:double

I have remove the WHERE clause for the moment and try to validate and get this matter in my SELECT clause:

SELECT SUM (RESOURCE_QUANTITY) AS QuantitySum

gives the following error: in the computer attribute 'QuantitySum': 'SUM' is not a valid library on types (mdex:double - set) function

What is mdex:double - value and how this field get defined in this way?

Hi Lily,

I think we'll see a lot of variations on this issue in the next two weeks.  The attributes handling multiple assign has been totally redesigned OEID 3.1.  So, if you have an attribute that is listed as that can have multiple values, it is declared as a set of values (couble-set) rather than a single value (double)

For example, if RESOURCE_QUANTITY is really unique-assign (and it is declared as multi - attribute by mistake), you can just reload the data via a base line to solve the problem.  If it is in fact several entitlement, you must tell the engine in your application, how to treat the different missions that may be present for each record.

Hope that helps, I know a lot of people are going to get pop up by the present.

Patrick Rafferty

http://branchbird.com

Tags: Business Intelligence

Similar Questions

  • Problem with data type 'Date' in Hyperion Planning V11.1.2.2

    Hello

    I created members with the date data type. However when I save the date, it disappears or comes up with a random date? One has encountered such a problem before?

    If so can you share the fix.

    Thanks in advance for your help.

    See you soon,.

    XXX

    Hello

    This problem is related to you not having is not a coherent framework for your type of date entry.

    So, go to the administration of the application and define the date format DD/MM/YYYY in the application settings and display options, under current default application settings. Then after doing that as a user, go to user preferences and display options and the date format, select the same. Or delete automatically detect them.

    I've seen this behavior if you detect automatically on the user's preferences

    Thank you

    Anthony

  • Problem with date settings

    Hi all. I have the problem with the Sub statement


    SELECT THE DOUBLE TO_DATE(:P_DATE,'DD/MM/YY')

    it get me ' 10 / 04/2012 '

    but I want 10/04/12 not as above.

    I saw that DD/MM/YY not like 'DD/MM/YYYY' still it gives me 10/04/2012 why can someone explain?

    Kind regards
    Uraja

    To_Date will always give you the output date format-based nls...

    Instead, you can try

    SELECT to_char (TO_DATE(:P_DATE,'DD/MM/YY'), ' DD/MM/YY') FROM DUAL;

    or replace nls_Date_format jj/mm/aa

  • Structure of the event: problem with data transfer

    Hello everyone,

    for three days I'm troubleshooting an issue in LabView with the event structures. I really hope someone can help here, because I can't find anything on the entire WEB.

    I had six groups of equal to a VI entry, each containing five checks enum (among others) where the user can specify some configuration of measurement data. I want the program to do is: to recognize if a any of these enum values has been changed and if yes, then submit the values containing the cluster in a subvi then calculates the wiring and affect the material of the ports. In addition, i need to submit the number of the enum element that was changed, so the program is able to clear the user input in the case of a breach (e.g. If the user sets two entries of enum control 1 meter and 2 Group 1 and then tries to set a third counter of entry to port 3, the program displays a message and deletes third entry as the number of entries of counter is limited to 2 per cluster).

    To resolve this problem, I used a structure of the event with 6 x 5 cases (change of enum value 1 Group 1 Group 1 enum value 2 change... and so on until the change in the value enum 5 Group 6).

    The problem is that if the user changes a value, the event structure reacts and performs the proper case; However VALUES of the cluster, the user changed are not subject to the SECOND time that an event occurs. It is a kind of a situation, "n-1". For example, if all five controls Enum of Group 1 are 'disabled' first and the user sets enum 3 of 'Meter entry', the structure of the event runs but submits the values previous to the Subvi (all enums 'Disabled'). When the user makes the second change, say that enum SWITCH1 to "Analog Input", the structure of the event is running again and passes the values of the FIRST user to the Subvi editing, then the Subvi gets data "enum 3 meter inlet and all other disabled enumerations.

    In easier words: if I have new values on my cluster "Kanal 1" (left side of the screenshot) and run the structure of the event, on the right side to "Kanal 1" indicator, I get the previous values (n-1).

    The structure of my event is in a while loop. If I create a timeout every 10 ms, and a loop of 250 ms the waiting time, I got the 80% chance that the recent changes are transferred to the Subvi correctly, in other cases I have a delay of the 1 step as described above. It seems to be directly based on the time that I specify the while to wait - but I can't explain it and I cannot accept a less than 100% chance to transfer the correct data, nor can I accept delays of a few seconds for each loop run. If I indicate timeout (infinite) get delayed 1-1 step values in all cases.

    When I specify cases of event to react on "all items value change" of the structure of the event behaves properly - but then I can't handle indicate which element has changed, as the CtlRef of output in case of a structure does not specify "enum 1, enum 2..." but only "Group 1".

    Does anyone have a solution to this? It is certainly a problem with the structure of the event, but I can't understand what to change.

    Thank you much in advance,

    Mr. Boiger

    This is because the terminal is read until the structure of the event runs.   Terminal is read, the event structure is waiting for an event.  The change in value.  Business events are running, but the value is the old value.

    Put the terminal inside the event.

    Or, you can display the connector called "New value" on the side left (stretching down from the border of the node 'CtrRef').  Use a wire one to come.

  • Problem with date and time

    HP Elite m9498d, Windows Vista 32-bit. Battery change, but the time and date again goes back to January 2002?

    Then, it might be a problem with the BIOS itself. Try to update the BIOS which for sure should solve the problem.

  • Problems with date calculation

    I have a java (and much more far vb) background and it seems that I'm really dependent functions for date calculations.  I'm trying to do a few things, but have not been able to accomplish them.

    I do not have

    Calendar.add()
    

    I briefly contemplated an add function by converting into long then do the calculation and returns a new calendar object, but the problems with this approach comes flourishes as soon as I started.  Just trying to find out if a date was yesterday was me banging my head against the wall.

    Any help please?

    I wrote this, but I don't know if there is a simpler method, go to this issue the wrong way, etc.

    public static boolean isYesterday(Calendar c) {
        Calendar today = Calendar.getInstance();
        int newDay = today.get(Calendar.DAY_OF_MONTH);
        if (newDay == 1) { //get last day of previous month
            int newMonth = today.get(Calendar.MONTH);
            int newYear = today.get(Calendar.YEAR);
            /* If jan 1, get dec of last year */
            if (newMonth == 0) { //Java Calendar.MONTH is zero-based
                newMonth = 11;
                newYear -= 1;
            today.set(Calendar.YEAR, newYear);
            }
            today.set(Calendar.MONTH, newMonth);
            newDay = DateTimeUtilities.getNumberOfDaysInMonth(newMonth, newYear);
        } else {
            newDay -= 1;
        }
        today.set(Calendar.DAY_OF_MONTH, newDay);
        return DateTimeUtilities.isSameDate(today.getTime().getTime(), c.getTime().getTime());
    }
    

    'convert to tz to the device.

    I recommend that stick you with using UTC for everything.  If you want to display to the user, then a DateField will convert the hour UTC to local time.  SImpleDateFormat.formatLocal will also print you long time UTC to local time.  So I recommend that you do not have to convert once at the local level.

    Remember that System.currentTimeMillis () is time not UTC/GMT.

    Of course, that's a good advice or not depends on your app.

    I'm not aware of any third-party code that helps, I reinvented wheels square to all my treatment to date.  But I never really looked at.

    About your code, assuming that c calendar uses the local time zone, so I think that the code works.

  • TO_CHAR fucntion problem with dates.

    Hi all

    I tested the following problem with 10g and 11g databases, and the problem is the same.

    create table aa (a date);
      insert into aa values('23-Mar-2014');
     commit;
    

    now the following query gives no results

    select count(*) from aa
    where to_char(a,'dd-Mon-yyyy') >='23-MAR-2014' and to_char(a,'dd-Mon-yyyy') <='23-Apr-2014';
    COUNT(*)
    ----------
     0
    

    and the following query gives the results

    select count(*) from aa
    where a>='23-Mar-2014' and a<='23-Apr-2014'
    
    COUNT(*)
    ----------
      1
    

    Why?

    We need the to_char working for our criteria of search dot net application.

    kindly guide us.

    Thank you

    You're hurting. Why convert a date into a string of characters and try to compare it to another string? This is false.

    Insert into aa values('23-Mar-2014');

    should be

    insert into aa values (to_date (March 23, 2014 ',' MON-DD-YYYY "");)

    and your selection should be:

    Select count (*) in aa

    where a > = to_date (March 23, 2014 ',' MON-DD-YYYY') and to_date (April 23, 2014 ',' MON-DD-YYYY "")

  • Problem with Date calc

    I am trying to get this FormCalc calculation to work:

    Date2Num (form1. Page1_SF. EffectDates.endDate, ' DD/MM/YYYY') - Date2Num (form1. Page1_SF. EffectDates.startDate, "DD/MM/YYYY")

    Evently, I will divide by 7 to get the number of weeks, but the initial calculation won't work after the dates entered.

    Can you tell me what the problem with my forumula?

    Thank you.

    Odd. Something strange on the Date2Num format. I changed them in the calculation for "YYYY-MM-DD" and it works. Note that this is the calculation of the number of days elapsed.

    If (HasValue (form1. Page1_SF. EffectDates.endDate) & HasValue (form1. Page1_SF. EffectDates.startDate)) then
    $.rawValue = Date2Num (form1. Page1_SF. EffectDates.endDate.rawValue, 'YYYY-MM-DD') - Date2Num (form1. Page1_SF. EffectDates.startDate.rawValue, "YYYY-MM-DD")
    on the other
    $.rawValue = null
    endif
    Steve
  • Problem with date comparison

    I have a problem with the TO_YMINTERVAL('10-00') function.


    Thank you
    Bachan.

    Published by: bah on March 23, 2010 14:47

    Please do not double post.
    Problem with TO_YMINTERVAL('10-00') function.

    Stick to your original thread, as others have already tried to help you.
    Start a new thread on the same topic is a waiste of time, as already provided entries are lost to other readers...

  • problems with DATE

    Hello

    I have the following plsql:
    DECLARE
       TYPE record_t
       IS
          RECORD (
             col_1    DATE,
             col_2   VARCHAR2 (7),
             col_3    VARCHAR2 (1)
          );
    
       l_record    record_t;
       l_ref_cur   dyn_fetch.ref_cur_t;
    BEGIN
       l_ref_cur := helper.ref_cur;
    
       LOOP
          FETCH l_ref_cur INTO   l_record;
    
          EXIT WHEN l_ref_cur%NOTFOUND;
    
          ELSIF (LOWER (l_record.col_3) = 'd')
          THEN
             DELETE FROM  table_new
                   WHERE   MY_DATE = TO_DATE (l_record.col_1);
    
             DBMS_OUTPUT.put_line ('here it is: ' || l_record.col_1);
          END IF;
       END LOOP;
    
       CLOSE l_ref_cur;
    END;
    So, the problem is, that 'L_RECORD. COL_1"returns dates in the form: jj. MM YY

    It works very well with most of the files, but it does not find the file with date = 15.08.1930. Then I l_record.col_1 = 15.08.30! Maybe the problem is that oracle is not sure if she should return * 1930 or 2030 *...

    So, how can I solve this problem, I want to return the l_record.col_1 * 15.08.1930 *, NOT 15.08.30!

    Should I change the definition of the record_t type?

    Thank you!

    Your record definition defines COL_1 as a date, so there is not need to convert a date value in this column.

    Remove the TO_DATE() function inside the loop.

  • Help with the problem of data type...

    Hi friends,

    I have a requirement. I have a warrant 2 guests (from and to). The data contained in the guests are like "Fall 2006", "spring 2006", "full of 2006", "Academic 2006"for a given year. " I have data from the year 2000 to 2008. The data type of the column duration in varchar. I have a report corresponding to this prompt. This report works well if it is not linked with the guests. If I have this tie with guests, its giving me results because in the report I gave filter as term is greater than or equal to ' fisrt_pv "(où first_pv est la variable de présentation j'ai utilisé pour mon d'invite de terme... comme second_pv sage est pour à terme rapide) and the term is less than or equal to"second_pv"."» So, if I put my guest (and) fall 2007 and (spring 2008 to) and run the report, its sends a fall 2007, Full 2000... Full2008, spring 2000... Spring 2008. It is because it is comparing the term based on letter of departure with all the other term. We know that the fall 2007 and spring 2008 are next to next semesters, is expected to see just a 2-column output. How do oracle know that?

    I have a term_number associated with this table numbered 1 to the spring of 2000, 2 Full, 3 for autumn 2000 2000, 4 for academic 2000... all the way up to academic 2008. I used this area to the command prompt to order because I want the guest to show as the spring of 2000, Full 2000, fall 2000 etc. instead of 2000 academic, University 2001... hope this field will be useful for you to analyze... I need your help to do this... If you need other info let me know... Thanks for your time n help...

    Kind regards...

    Yes. The problem is that your guests are CHAR, so the calculation "superior to" is done alphabetically rather than numerically. This digital keys.

    Create two columns to contain the term_number that match the values selected in your guests. Then the BETWEEN operator do not filter on numeric values. You can still view the CHAR values in your report, but now they will be in the range that you would expect.

  • Problem with Date for criteria

    I installed JDev 11.1.1.4 and I use JSF.
    In the Oracle database, I've defined a field as a DATE type. Entity object, I have the same field defined as oracle.jbo.domain.Date. 'View criteria' in "View object", I use this field to the "Point of criteria" with 2 "Bind Variables" for BETWEEN the SQL statement.
    'Bind' variable names startDate and endDate, and I have defined as oracle.jbo.domain.Date.

    < ViewCriteriaItem
    Name = "Vardatetime".
    ViewAttribute = "Vardatetime".
    Operator = "BETWEEN".
    Concert = 'AND '.
    Required 'Optional' = >
    < ViewCriteriaItemValue
    Name = "ViewCriteria_vcrow23_Vardatetime_vcval0".
    ' Value =': startDate '.
    IsBindVarValue = "true" / >
    < ViewCriteriaItemValue
    Name = "ViewCriteria_vcrow23_Vardatetime_vcval1".
    "Value =": endDate.
    IsBindVarValue = "true" / >
    < / ViewCriteriaItem >

    < variable
    Name = "startDate".
    Type = "viewcriteria.
    Type="Oracle.jbo.domain.date"/ >
    < variable
    < variable
    Name = "endDate".
    Type = "viewcriteria.
    Type="Oracle.jbo.domain.date"/ >
    < variable

    I dragged into index.jspx, 'Data controls', ADF group query with Table. When running index.jspx and I have all the fields, startDate and endDate to the current date for the two (23/03/2011) I get no back line, because the field in the database contains the DATE AND TIME and startDate and endDate are 23/03/2011-00:00:00. How can I fix?
    Thank you

    you define the entity object format mask?

  • Problem with data form

    Hi, in my form of data of the data type is not displayed

    Thank you

    If you have a member account (?) which is defined on the data type of percentage? Is this dimension in the order of evaluation.

    Otherwise, add to the evaluation order defining the evaluation order

    Concerning

    Celvin

    http://www.orahyplabs.com

  • Oracle <>- MS SQL server, problem with DATE

    HS current options are:

    HS_FDS_TRACE_LEVEL = 255

    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so

    HS_FDS_FETCH_ROWS = 1

    HS_FDS_SQLLEN_INTERPRETATION = 32

    The following image contains 2 screenshots.

    http://maslovd.no-IP.org/public/doc/date_problem.PNG

    1. selection of table of MS SQL server.

    2 selection in Oracle DB link.

    Any suggestions?

    I asked here, that is why the DateForm column are returned as data type-(9)SQL_WVARCHAR).

    Could you please post the SQL Server table definition?

    What's the FreeTDS version and on which platform did you configure DG4ODBC?

    - Klaus


  • Problem with the type of data in a view

    Hi all

    I have modified a view. For this reason my view passed to varchar2 column data type number automatically. But it should be only a number.

    Updated the view that changes the data type of column varchar2

    VIEW to CREATE or REPLACE v1
    AS
    SELECT Decode (Sign (mta.base_transaction_value), 0, Decode (Sign (mta.transaction_value), Decode (Sign (mta.primary_quantity),-1, NULL, 0))
    MTA.base_transaction_value),
    -1, NULL,
    Decode (Sign (mta.primary_quantity),-1, NULL, NULL
    MTA.base_transaction_value),
    (0)
    1, MTA.base_transaction_value,
    Col1 is NULL)
    Mtl_transaction_accounts MTA

    Old view that keeps this column under the number:

    VIEW to CREATE or REPLACE v1
    AS
    SELECT Decode (Decode (Sign (mta.base_transaction_value), 0, Decode (Sign (mta.transaction_value), 0, Decode (Sign (mta.primary_quantity), 1,0,))))
    0,0,
    (NULL),
    1.0,
    (NULL),
    1, MTA.base_transaction_value,
    Col1 NULL))
    Mtl_transaction_accounts MTA

    -> Create a note that the type of data of base_transaction_value, transaction_value, primary_quantity columns is number

    No help for making the data type of column 'col1' number using my first query?

    Thank you
    Srini

    The data type of an expression of DECODE() is determined by that of his first return value. Oracle has decided that a NULL value is a VARCHAR2 data type (because there must be something ).

    The changes to your code are extremely intertwined and twisted out and frankly too hard to work through. However, I think at some point the changes that you have implemented it had that effect.

    SQL> create or replace view v1
      2  as
      3  select decode(to_number(to_char(sysdate, 'dd')), 1, 0, 99) as col1
      4  from dual
      5  /
    
    View created.
    
    SQL> desc v1
     Name                                                  Null?    Type
     ----------------------------------------------------- -------- ----------------
     COL1                                                           NUMBER
    
    SQL> create or replace view v1
      2  as
      3  select decode(to_number(to_char(sysdate, 'dd')), 1, null, 99) as col1
      4  from dual
      5  /
    
    View created.
    
    SQL> desc v1
     Name                                                  Null?    Type
     ----------------------------------------------------- -------- ----------------
     COL1                                                           VARCHAR2(2)
    
    SQL>
    

    Cheers, APC

    blog: http://radiofreetooting.blogspot.com

Maybe you are looking for

  • Dell ins15 7537 processors

    This could be a dummy request but why "Task Manager" shows "Maximum speed" of 2.00 GHz when 'Device Manager' is displayed as below? Should the speed be 8,00 GHz? Please be gentle with me if it's the most stupid request to date!

  • Envy of HP dv7 - 7373ca: lack of device drivers Window 7 64

    I have leveled down Windows 8 for Windows 7 Professional with success and that you have downloaded all current Windows updates available at this time. I downloaded all the drivers from the HP support for this computer site (HP Envy dv7 - 7373 ca) suc

  • HP Pavilion DV4 laptop 3000: lost recovery disk and crashed for laptop

    Hello I am from the region of Asia from the South (India) and my laptop broke down and unfortunately I lost my recovery disc. As you browse the site, concluded that the cell matching has not been listed. Please guide me to get a new recovery disk. He

  • B key clings

    my key of B is not able to be pushed down. worse still the minute.

  • Emails are endangered

    My emails disappear from my inbox once they have been read.  Why?  This just started today.