Return the string Date/time format incorrect output...

Here's a small sub - VI that I create out the day of the week, day of month, month and year in the form of a table of U16:

The Date/time string VI get is supposed to produce a string of date in the format "DD/MM/YY" when the enum 'short' is selected. Instead, I get this:

It seems that the VI is "broken" or documentation is incorrect. Someone at - it to another incountered?

I'm under LabView 2015 on Windows 7.

Much too complicated.

Tags: NI Software

Similar Questions

  • Date/time format not work server

    Hello


    I guess there is a lot of excitement with the recent release of Adobe Dreamweaver CS3 and I like many others have chosen this way to upgrade


    My problem - I don't seem to be able to use dynamic data successfully selectable formatting in CS3 (not fully) some of the formats as currency and number work very well formatted...


    Function DoDateTime (str, nNamedFormat, nLCID) function code is not transferred on the web page, with that I work or is the dynamic element encapsulated when I select a Date/time format.


    After having spent the last 6 months, build a planning (ASP VBScript Application) I came across many issues locale date, date of shaped and calculations etc. but for the life of me, I can't give a sense questions that I now have.

    I realized this problem on my two desktop Vista and XP - new own websites (for testing)
    I might add CS2 not presented no problems in this area - which indicates the problem persists with cs3 (Bug?)

    I would be very grateful for any input or advice help...

    Well Yes...

    ASPvb script

    Thanks for the control of Mr Adobe - it seems that someone in the development of the production misnamed the file source DateTime in the Formats.xml file.

    The formats.xml file is a reference to the source file as DateTime Date/time NOT

    Remove the slash in the file reference name and everything works fine...

    See the path of file-
    C:\Program Files\Adobe\Adobe Dreamweaver CS3\configuration\ServerFormats\ASP_Vbs\Formats.xml

    Now to return to developing countries... What Date/time/Frustration!

  • Date/time format and different regions

    I'm developing an application in this case to the United States on the English LV2009 software.  This application will be installed in many parts of the world, and I just discovered a problem with the date and time that I try to understand.  A screenshot of the application running on a Chinese computer is attached.  At the top right there is a 'results save location' which has a month and year added file name.  I use the date/time format with modifiers for the name of the month and the year in 4 digits (%B %Y).  On my PC, it displays in July 2010, but on Chinese computer it 7 01.  In addition, the reason that it says wrong serial number is that I compare the SN 2-digit year, and it seems to enter it correctly.

    On my PC, I tried to change my date settings in Windows and it doesn't seem to affect the production, as it does on Chinese computer.  I know there is a UTC Boolean selector which can be activated.  That will make a difference in the way that the date is displayed by this function?

    This is one of the few issues I encountered when developing a program for several regions, but it is currently the only one, I have not yet solved.

    I would expect month name to be specific langauge.

    For example, the word April in French is April and is abbreviated Apr. I would use a number instead of the name.

    The thai calendar + 543 years compared to the Western calendar, so a PC Thai could show a specific locale of 2553-07-13 date. Your computer may display 13/07/2010. I'm sure that the year of the Chinese calendar is different from that of the Western calendar.

    Using UTC should force LabVIEW to use the Gregorian calendar, based on the ISO-8601standard.

    Because your users work with technology and would probably recognize a Gregorian day/month/year combo I would stick with % Y_ m_ % d. % and UTC = TRUE.

    I contributed a VI to the community OR that you could use if you wish. It has many options and is based on ISO-8601

    .

    http://decibel.NI.com/content/docs/doc-7199

  • changing dynamic date/time format

    How can I set a Date/time format) of a textbox (behave like a phone number format, where the user enters only numbers, but it shows another way of my choice.)

    Download the new Date object
    var a = event.target.value;

    Kai var = util.scand ("YYYYMMDD", a);


    dd/mm/yyyy format
    xDate var = util.printd ("yyyy/mm/dd", anyway);

    Event.Target.Value = xDate;

    It does not work.

    Text type fields have scripts that control the key sequence, validation and formatting. You only play with the formatting.

    You could create a script to strike to allow the entry of the date with or without the "/" but you then have to write a script of presentation and validation. Posting date is not just month 1-12 and day 1-31, because some months have 28, 29, 30 or 31 days depending on the month and year combinations.

  • How the stamp date & time email with a photo

    I send a photo to prove I did not damage a rental car, but the stamp date & time are not displayed. How can I add them to the email please

    The recipient can also access the properties of the files you sent to them as well to confirm your screenshots.

    See you soon.

  • change the selection date & time in PSE 8 Mac/bridge

    OK, maybe it's the Jet lag. I downloaded all my vacation photos and realized that I had forgotten to adjust the camera date/time zone time. I remember that earlier versions of Windows PES had the ability to adjust the tour time batch, but I can't find it in CS4 Bridge or PSE 8 Mac. I really want to do it manually for a couple hundred pictures. Is the ability to hide in there somewhere? THX

    There are dozens of free utilities that will do, and I think you may even be able to do with automator. Here is an example of a free utility (have not used it myself, caught the first of dozens that came when I googled). I think that Graphic Converter can also do (it can batch change all kinds of EXIF, so I guess that the timestamps are included)

  • Can someone suggest how to store the date/time format just for restoration

    Hello
    I do the restore process, but this isn't the case because just my date format.
    I'm him giving like this: export NLS_DATE_FORMAT ='YYYY-MM - DD:hh24:mi:ss'
    then I give in RRS file date like this:

    auxiliary connection.
    run
    {
    until time to_date (July 22, 2011 11:20:13 ',' dd-mm-yyyy hh24:mi:ss');

    It gives me the error:

    Single and double quotes (' or "") are accepted for a quoted string.
    Quotes are not required, except if the string contains embedded spaces.
    ======================================
    I tried giving WD in this format:
    The VALUE up to THAT TIME "to_date('2010-12-15:11:21:56','YYYY-MM-DD:hh24:mi:ss')";

    Then
    "to_date (July 22, 2011 11:20:13 ',' dd-mm-yyyy hh24:mi:ss')"; "

    Nothing works
    -------------------
    The one you suggest please?
    RMAN> run {
    2> set until time "to_date('22-07-2011 11:20:13','dd-mm-yyyy hh24:mi:ss')";
    3> }
    
    executing command: SET until clause
    
    RMAN>
    
  • Series read returns the string with excess-need information to extract data from the middle of the string

    I read data from a STI flow meter using the base series writing and reading which used the VISA.  The read string begins with 'OK' or an error code, then a carriage return, then the data follows streaming rate temp pressure flow rate comma comma comma comma Temp... and so on. The string ends with a CR LF.  I need to pull the flow, temperature and pressure data out of the string and write it to a file.  I have difficulties to find a function that will retrieve the data for the string.  Any suggestions?  Thank you.

    Try the subset of string in the palette of the chain.

    Or match the model if you want a more direct control.

    Also a good way is the string analysis, but you must be willing to read oexactly, what happens or an error, pass the entrance.

  • Return the string "null" on Ora11

    Hi all

    I am migrating from a DB ORA11g DB ORA10g and I am currently facing a problem with the data in return.

    The thing is that I have a lot of packages in my DB with IN/PARAMETERS in many cases, returning an empty as string ". Below is an example of these packages:

    PROCEDURE Test1 (
          inVar                IN       VARCHAR2,   
          fixedOutVar        IN OUT   VARCHAR2,
          inVarOut           IN OUT   VARCHAR2
       )
       IS     
       BEGIN
          fixedOutVar := '';
          inVarOut := inVar;    
          RETURN;
       END Test1;
    
    

    I am currently using a .net application using the OracleDataAccess client to hit the database

    With my old db Ora10, I could capture the "with the right input/OUTPUT parameter, but now, after having migrated to Ora11, my .net application always obtains the string"null"(I get a string that contains the word"null", not a real null...)

    Why is this happening? When I used my old Ora10 DB/Client I was able to make it work properly and my .net application received a good empty string of the OUT parameter.

    Can I change/set something?

    Thank you!

    Exact history is somewhat unclear since 10g has been some time ago. .NET framework 2.0 introduced much more than support for all types of null data. ODP.NET introduces the ADO.NET 2.0 support in one of the last 10.2 release, but may not have introduced full support for .NET null immediately. This probably took place in a version 11.x ODP.NET.

    When ODP.NET introduced support for null .NET, he now had the ability to represent the values of data type as what most of PL/SQL programs intended to be returned as, which is zero.

  • convert string to time format

    I have a channel registered in a MM/DD/YYYY HH: mmS.XXXX format and I would like to convert it into a digital representation.  I read on the forums that it will be the number of seconds since AD 0, which I am fine with.  I just need to convert all of the channel in the number of seconds.

    I'm trying to process data with a funky random sampling rate, and I am trying to use the ChnMapLinCalc function to redistribute data on a sampling frequency that makes sense.

    Thank you!

    Steve

    Hi Steve,.

    If the data channel that you are talking about is already loaded in the data portal, and she already has a clock to the left of this symbol in the data portal, then all you need to do is change the display of the values of the layer.  Tiara time channels are regular DBL channels that have a display property set to display the data differently in DIAdem (such as a date/time string).  If you do not need to convert anything.  Locate the "Display Format" property in the data portal and change of 'Time' to 'digital '.  You may need to force a refresh by clicking in the VIEW, but this channel should display immediately in the form of double values.

    Brad Turpin
    Tiara Product Support Engineer
    National Instruments

  • Query Union returns the correct data x 2

    I have a union query that returns 2 identical lists of data. The data are correct, but I can't work on why it is duplicated. Can anyone help? Thank you.

    John
    ****************************
    set linesize 400
    set pagesize 9999
    NewPage Set 1
    wrap off Set
    break off Set
    Set of feedback on

    set the file name = CATS_TURBO_all_LiveT

    coil & filename

    Noprint today new_value DATEVAR COLUMN
    COLUMN case_id FORM 999999 TITLE 'fault '.
    COLUMN product_name FORMAT a10 HEADING 'node '.
    COLUMN priority_type_name format a4 POSITION "PRI."
    Report_date FORMAT of the COLUMN entitled date 'Date of Recvd'
    Restore_date FORMAT of the COLUMN date TOPIC "restored".
    Close_date FORMAT of the COLUMN date POSITION "closed".
    COLUMN assigned_tech_id FORMAT a10 TITLE "GENIUS".
    COLUMN status_type_name FORMAT a3 DIRECTION "FS".
    Header of COLUMN name format a4 'Type '.
    Header of COLUMN Champ_1 format a20 'Exchange '.
    COLUMN sla_name format a12 direction "platform".
    Format COLUMN header generic a4 "Gen."
    COLUMN question_text format a90 titled "Error Description".
    COLUMN note_text a90 format called 'progress '.

    TTITLE left 'report ' -.
    Center ' TURBO all flaws (& filename... SQL) "-"
    Jump STRAIGHT DATEVAR-
    Left ' wait > > ' jump 1

    Select distinct
    a.case_id "Fault."
    c.product_name
    , decode (f.priority_type_name, 'Low', '4', 'Medium', '3', 'High', '2', 'Urgent', '1') Pri
    , to_char (a.report_date, ' DD/MM/YYYY HH24') "received".
    , to_char (' a.restore_date, ' DD/MM/YYYY HH24 ")"restored ".
    , to_char (a.close_date, ' DD/MM/YYYY HH24') 'closed '.
    , decode (d.name, 'Software', from ", 'Hardware', 'H', 'Firmware', 'F', 'Unknown', 'U', 'General', 'Gen', 'Doc', 'Doc', 'n' and"No. Fault"") 'Type '.
    , decode (b.status_type_name, ' closed - resolved ', '02', 'Pending', '40', 'On Hold - waiting for approval', '41 ', 'pending', '41', 'Wait-Service restored', ' 41', 'lack of training', '44', 'Telesys survey fault', '44') FS
    g.field_1
    e.sla_name
    , decode (a.assigned_tech_id, '10', 'JSMITH', '09', 'MBROWN', '07', 'SCHATTER', '08', 'RSMEED' ', '12', ' SCHOYM') 'B '.
    , to_char (sysdate, 'DD-MON-YYYY HH24') today
    , to_char (translate (dbms_lob.substr(a.question_text,100), CHR (13) |)) CHR (10), CHR)
    question_text 32)))
    , null "Note".
    of oracledb.incident one
    oracledb.status_type b
    c oracledb.item_type
    oracledb.problem_type d
    e oracledb.sla
    oracledb.priority_type f
    oracledb.item g
    oracledb.incident_note h
    where (a.status_type_id = b.status_type_id)
    and (a.product_id = c.product_id)
    and (a.problem_type_id = d.problem_type_id)
    and (a.sla_id = e.sla_id)
    and (a.priority_type_id = f.priority_type_id)
    and (a.product_id = g.product_id)
    and e.sla_name = "TURBO PÉI"
    and g.field_1 not in the (' SysCntl-1', ' SysCntl-2', "TURBO PÉI" "")
    and a.case_id = h.case_id (+)
    and not exists (select case_id from k oracledb.incident_note where k.case_id = a.case_id)
    and a.deleted <>' 1'
    Union
    Select distinct
    a.case_id "Fault."
    c.product_name
    , decode (f.priority_type_name, 'Low', '4', 'Medium', '3', 'High', '2', 'Urgent', '1') Pri
    , to_char (a.report_date, ' DD/MM/YYYY HH24') "received".
    , to_char (' a.restore_date, ' DD/MM/YYYY HH24 ")"restored ".
    , to_char (a.close_date, ' DD/MM/YYYY HH24') 'closed '.
    , decode (d.name, 'Software', from ", 'Hardware', 'H', 'Firmware', 'F', 'Unknown', 'U', 'General', 'Gen', 'Doc', 'Doc', 'n' and"No. Fault"") 'Type '.
    , decode (b.status_type_name, ' closed - resolved ', '02', 'Pending', '40', 'On Hold - waiting for approval', '41 ', 'pending', '41', 'Wait-Service restored', ' 41', 'lack of training', '44', 'Telesys survey fault', '44') FS
    g.field_1
    e.sla_name
    , decode (a.assigned_tech_id, '10', 'JSMITH', '09', 'MBROWN', '07', 'SCHATTER', '08', 'RSMEED' ', '12', ' SCHOYM') 'B '.
    , to_char (sysdate, 'DD-MON-YYYY HH24') today
    , to_char (translate (dbms_lob.substr(a.question_text,100), CHR (13) |)) Chr (10), Chr (32))) question_text
    , to_char (translate (dbms_lob.substr(h.note_text,100), CHR (13) |)) Chr (10), Chr (32))) note_text
    of oracledb.incident one
    oracledb.status_type b
    c oracledb.item_type
    oracledb.problem_type d
    e oracledb.sla
    oracledb.priority_type f
    oracledb.item g
    oracledb.incident_note h
    where (a.status_type_id = b.status_type_id)
    and (a.product_id = c.product_id)
    and (a.problem_type_id = d.problem_type_id)
    and (a.sla_id = e.sla_id)
    and (a.priority_type_id = f.priority_type_id)
    and (a.product_id = g.product_id)
    and e.sla_name = "TURBO PÉI"
    and g.field_1 not in the (' SysCntl-1', ' SysCntl-2', "TURBO PÉI" "")
    and a.case_id = h.case_id
    and h.note_id = (select max (i.note_id)
    oracledb.incident_note I have
    where a.case_id = i.case_id)
    and a.deleted <>' 1'
    order by 1;
    /
    SPOOL OFF
    Clear jump
    output

    Published by: user13388553 on 11/24/2010 14:59

    If your code is that you run in the production data splits because you're runnign queries twice.

    from oracledb.incident_note i
    where a.case_id = i.case_id)
    and a.deleted '1'
    order by 1;
    /
    SPOOL OFF
    

    The semicolon after that command by 1 causes the statement to be executed, the slash on the next line causes the reexecute being. Delete one of them.

    John

  • Date &amp; time format to_timestamp

    Hello

    I struggled for a while now with the time format. It seems to be interpreted as a date as well. I just want it to be like in the original (with the difference
    that date should be dd/mm/yyyy.


    -original format 0307 10/14/2009

    Select to_timestamp (substr (ALLTEXT, 84.14), ' YYYY/MM/DDHH24MI') AS DATEOFCRE
    of csv_euro
    WHERE
    substr (ALLTEXT, 6.2) = "HH." -HEADER

    -result 14 October 09 03.07.00.000000000

    You can see that the time becomes something weird like 03.07.00.000000000. that is not really what I'm looking for. I'm looking for 0307.

    can someone help me with this problem?

    If you want to insert it in a date field, you must convert it to a date

    INSERT INTO EUROHEADER(
    DATEOFCRE
    )
    select to_date(substr(ALLTEXT, 84,14) , 'YYYY/MM/DDHH24MI')
    from csv_euro
    WHERE
    substr(ALLTEXT, 6,2) = 'HH'; 
    

    You get errors in your example, because your database's default date format does not match the string that extract you from your csv_euro.

    Concerning
    Marcus

    Edited by: Marwim the 03.12.2009 13:50

  • How to set the string in spreadsheet format

    Hi all, I have what I hope, it's a simple question...  I am writing a data table in a spreadsheet and I want the first number, which is the clock (ms) to be written in decimal format, but the rest of the bytes to write to the spell.  I'm not coming with a format string that will do.  Any ideas?

    Thank you

    Jason

    Because the entry in the spreadsheet uses the table to a spreadsheet string, and there is one type of entry - the digital table in your case. If you want to write your own handwriting worksheet function, you can index each element of the array and use in the string instead of the table on the worksheet.

  • How is the best way to have the ' create date &amp; time ' to print a picture?

    I'vehas attempted to make a script to work, but since I don't know what I'm doing, without success.  I use CS2, and as if so I didn't update.  If I need to upgrade to get something to go, I'll do it.  Meta data.

    Any suggestions appreciated,

    You could get the date and time of the imformation exif... IE:

    This should add create Date and time into your open document.

    main();
    function main(){
    if(!documents.length) return;
    var exifArray =activeDocument.info.exif;
    for(var a in exifArray){
        if(exifArray[a][0].match(/^date time orig/i)){
            var dateTime = exifArray[a][1].toString();
            break;
            }
    }
    //Amend to suit
    var Percent = 50; //The text is the percentage of smallest side
    var blendmode = activeDocument.activeLayer.blendMode.toString().replace(/blendmode./i,'');
    var Opacity = parseInt(activeDocument.activeLayer.opacity);
    var TextInfo = dateTime;
    var Black = new SolidColor();
    Black.rgb.hexValue = '000000';
    var newTextLayer = activeDocument.artLayers.add();
    newTextLayer.kind = LayerKind.TEXT;
    newTextLayer.textItem.kind = TextType.POINTTEXT;
    newTextLayer.textItem.color = Black;
    newTextLayer.textItem.font = "Georgia";
    newTextLayer.textItem.size = 10;
    newTextLayer.textItem.contents = TextInfo;
    var startRulerUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    var myDoc = activeDocument;
    var LB = myDoc.activeLayer.bounds;
    var docHeight = myDoc.height;
    var docWidth = myDoc.width;
    var LHeight = Math.abs(LB[3].value) - Math.abs(LB[1].value);
    var LWidth = Math.abs(LB[2].value) - Math.abs(LB[0].value);
    var percentageHeight = ((docHeight/LWidth)*Percent);
    var percentageWidth = ((docWidth/LWidth)*Percent);
    if(docWidth < docHeight){
    myDoc.activeLayer.resize(percentageWidth,percentageWidth,AnchorPosition.MIDDLECENTER);
    }else{
      myDoc.activeLayer.resize(percentageHeight,percentageHeight,AnchorPosition.MIDDLECENTER);
      }
    align('AdCH'); align('AdBt');
    activeDocument.activeLayer.translate(0,-10);
    app.preferences.rulerUnits = startRulerUnits;
    }
    function align(method) {
    activeDocument.selection.selectAll();
       var desc = new ActionDescriptor();
               var ref = new ActionReference();
               ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
           desc.putReference( charIDToTypeID( "null" ), ref );
           desc.putEnumerated( charIDToTypeID( "Usng" ), charIDToTypeID( "ADSt" ), charIDToTypeID( method ) );
        try{
       executeAction( charIDToTypeID( "Algn" ), desc, DialogModes.NO );
       }catch(e){}
       activeDocument.selection.deselect();
    };
    
  • Return the latest data of the transaction, based on the transaction dates.

    Thank you I am a little dense here, and I've searched, read and tried out a few different solutions I've seen give around the place. However; I think I'm more fighting with the naming conventions and the logic of other persons requests you to mine understanding (hoping here!)

    I have a huge table that contains a record for each transaction that has an effect on our inventory (yup - LARGE table!)

    For a given transaction type "CHC" (fresh), I want to return the part code, the Transaction Date and the costs of Transaction for TWO LAST changes.

    Because its to be used for tracking updates to the cost of the materials and further for the calculation of the continuous effect of these, I just need the two for now.

    Thus,.

    The table is I50F

    The required columns are

    I50PART - [Code part | http://forums.oracle.com/forums/]
    I50TDAT - [Date of the Transaction | http://forums.oracle.com/forums/]
    I50UCOST - [price changed to | http://forums.oracle.com/forums/]
    I50TRNS - [Type of Transaction - we want just that CHC]

    Examples of data (including columns fair that we are interested in)
    I50PART              I50TDAT             I50UCOST         I50TRNS 
    
    BACCA001             08/03/2006 07:34:51 0.08829          CHC     
    BACCA001             25/07/2007 08:26:30 0.10329          CHC     
    BACCA001             10/04/2008 16:29:02 0.10639          CHC     
    BACCA003             20/06/2006 12:22:30 0.16814          CHC     
    BACCA003             25/07/2007 08:26:54 0.17024          CHC     
    BACCA003             10/04/2008 13:30:12 0.17535          CHC     
    BACCA004             28/08/2007 15:46:03 0.06486          CHC     
    BACCA004             28/08/2007 15:49:15 0.06328          CHC     
    BACCA004             30/10/2008 09:22:40 0.06952          CHC     
    BACCA004             13/01/2009 09:09:07 0.06867          CHC     
    BACCA005             25/07/2007 08:27:24 0.06715          CHC     
    BACCA005             10/04/2008 15:45:14 0.06916          CHC     
    BACCA005             30/10/2008 09:05:17 0.07453          CHC     
    BACCA005             13/01/2009 09:06:49 0.07275          CHC     
    Take a part in isolation, BACCA005;

    I am interested in two past reviews.

    It is logical that there are two records by part of output at this stage, as it is possible that the power decide they want the last 3 or 4 or whatever (I'm sure everyone has similar experiences with beancouters)

    Is this A) easy and B) relatively effective. There are 2.4 million records in the table.


    If I was stupid and not included is not enough information, you please poke me [metaphorically] in my eyes, and I'm going to pad a little.

    Thank you very much for reading - and even more so if you can help!

    See you soon

    J

    Analytical functions FTW!

    with I50F as (select 'BACCA001' I50PART, to_date('08/03/2006 07:34:51', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.08829 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA001' I50PART, to_date('25/07/2007 08:26:30', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.10329 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA001' I50PART, to_date('10/04/2008 16:29:02', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.10639 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA003' I50PART, to_date('20/06/2006 12:22:30', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.16814 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA003' I50PART, to_date('25/07/2007 08:26:54', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.17024 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA003' I50PART, to_date('10/04/2008 13:30:12', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.17535 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA004' I50PART, to_date('28/08/2007 15:46:03', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06486 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA004' I50PART, to_date('28/08/2007 15:49:15', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06328 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA004' I50PART, to_date('30/10/2008 09:22:40', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06952 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA004' I50PART, to_date('13/01/2009 09:09:07', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06867 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA005' I50PART, to_date('25/07/2007 08:27:24', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06715 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA005' I50PART, to_date('10/04/2008 15:45:14', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06916 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA005' I50PART, to_date('30/10/2008 09:05:17', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.07453 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA005' I50PART, to_date('13/01/2009 09:06:49', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.07275 I50UCOST, 'CHC' I50TRNS from dual)
    select I50PART, I50TDAT, I50UCOST, I50TRNS
    from   (select I50PART, I50TDAT, I50UCOST, I50TRNS, row_number() over (partition by I50PART order by I50TDAT desc) rn
            from   I50F
            where  I50TRNS = 'CHC')
    where  rn <= 2
    order by I50PART, I50TDAT desc;
    
    I50PART  I50TDAT               I50UCOST I50
    -------- ------------------- ---------- ---
    BACCA001 10/04/2008 16:29:02     .10639 CHC
    BACCA001 25/07/2007 08:26:30     .10329 CHC
    BACCA003 10/04/2008 13:30:12     .17535 CHC
    BACCA003 25/07/2007 08:26:54     .17024 CHC
    BACCA004 13/01/2009 09:09:07     .06867 CHC
    BACCA004 30/10/2008 09:22:40     .06952 CHC
    BACCA005 13/01/2009 09:06:49     .07275 CHC
    BACCA005 30/10/2008 09:05:17     .07453 CHC
    

Maybe you are looking for

  • conversion from pdf to the vCard

    Hey,. I lost all my contacts on my mac and all I have left is a PDF with the contact details... no idea how I can convert it into vCard format? Thanks in advance

  • Memory twin on U840-10U

    Hi all AFAIK the U840-10U has a 4 GB of DDR3 memory module memory (1600 MHz). It also has an extra plug for an additional memory module. Am I wrong? This model has dual-channel memory technology? I mean, if I add a new additional 4 GB of DDR3 (1600 M

  • Photosmart Premium C310a: Photosmart Premium C310a does not detect photo paper in the status bar

    Prints on plain paper e.g. A4, but does not recognize the 6 x 4 photo paper in the tray above, asks me to load paper in the tray.

  • z570 stops during boot

    Hello I have an IdeaPad z570 which stops unexpectedly. If I remove the battery and leave it overnight, then it will run for a shortwhile before turning off. Once he spent the best I get when you press the power button is a short burst when the power

  • Headset sbh60 Sony can connect to Windows wireless?

    I have a new Sony sbh60 bluetooth headset, and it works fine on my Sony Experia.  I also try to connect headphones to my Ipad or my Windows laptop, 8 via bluetooth, but Windows (and IOS) are not picking up the device. The device can work with other S