Date string

Hello world

Is there anything to get the date string that is actually a day late from the effective date of the PC. I am using format string minus 1 away from the day and time. But the problem occurs when the real is '1 '. My program will not be able to decide if the watch is "30,31,28 or 29.Etc.."

Please help me

Concerning

Ray.

Tags: NI Software

Similar Questions

  • Date string between Dates

    Hello.  I came up with a method that seems to work fine.  Just thought it might be a more effective way to determine if a date string (must be from a string) is located between 2 other dates (of string).

    TimeZone clientZone = TimeZone.getDefault();
    
            String dateToCompare="2012-10-03";
            String dateBegin="2012-10-01";
            String dateEnd="2012-10-07";
    
            Date date1= new Date(HttpDateParser.parse(dateToCompare));
            Date date2= new Date(HttpDateParser.parse(dateBegin));
            Date date3= new Date(HttpDateParser.parse(dateEnd));
    
            Calendar calToCompare = Calendar.getInstance(clientZone);
            Calendar calBegin = Calendar.getInstance(clientZone);
            Calendar calEnd = Calendar.getInstance(clientZone);
    
            calToCompare.setTime(date1);
            calBegin.setTime(date2);
            calEnd.setTime(date3);
    
            if(calToCompare.after(calBegin) && calToCompare.before(calEnd)) {
                Dialog.alert("date is between");
            }
            else {
                Dialog.alert("date is NOT between");
            }
    

    Is there a better way to do this?  Thank you.

    Date date1 = new Date (HttpDateParser.parse (dateToCompare));
    Date2 = new Date (HttpDateParser.parse (dateBegin));
    Date date3 = new Date (HttpDateParser.parse (dateEnd));

    long compareDateLong = date1.getTime ();

    long beginDateLong = date2.getTime ();

    long endTimeLong = date3.getTime ();

    If (beginDateLong < comparedatelong="" )="" &&="" (="" endtimelong=""> compareDateLong) {}

    Dialog.Alert ("date is between");
    }
    else {}
    Dialog.Alert ("date is NOT between the two");
    }

  • Can I use data string Web App (image) in a CSS hover function?

    I'm developing a profile of employee of company "show and tell" using the Web application. I built my item in the list and details. Works very well. However, I have no hover function. So, I created a few css - one div id and added a background image then hover div with another image to hover. It worked. I moved the code of Dreamweaver in British Colombia - inside (the list template) Web application. I replaced the paths of the image with the data string Web App - image (e.g. {tag_employee photo}). Then I did the same thing to hover - I changed the image of the data string (e.g. {tag_employee photo2}). It does not work now.

    All CSS is written inside the body, so it's not pulling to the outside path. I thought that a path from the outside may not understand the data string.

    How can I get this to post a link with the chain of image data? Am I missing something?

    How can I create an image using CSS switch and function WITH the BC Web App data strings hover?

    Here's how I wrote the id of the DIV:


    # {List_photo

    height: 200px;

    Width: 200px;

    background-image: url("{tag_employee photo (200px)}" ");

    position: relative;

    margin-bottom: 10px;

    Display: block;

    }

    # {List_photo:hover

    height: 200px;

    Width: 200px;

    background-image: url("{tag_employee photo (hover)}" ");

    position: relative;

    margin-bottom: 10px;

    Display: block;

    }

    Thank you!

    Robert

    Hi Robert,.

    The concept of what you're doing works (as long as the)

  • Find problems with get week Date String

    Hi gurus,

    I need to get the number of week of a particular Date String. When I use the query below.

    SQL > select to_char (to_date('01-APRIL-2010','DD_MONTH-YYYY'), 'IW') 'date' double.

    Date
    ---------------------------------------------------------------------------
    13


    But it is false. It should be 14. When I try the same thing in SQLSERVER I get 14

    SELECT DATEPART (wk, April 1, 2010 "")


    Is someone can you please tell me where I'm wrong.

    Thank you and best regards,
    Vikas Krishna

    WW No. week of year (1-53), where week 1 starts on the first day of the year and continues until the seventh day of the year.

    January 1, 2010 was a Friday so for WW each week in 2010 starts Friday and ends on Thursday. 1 April 2010 Thursday was therefore still in the 13th week. but the week number changes on April 2, 2010, which is Friday.

    SQL> select to_char(to_date('02-APRIL-2010','DD-MONTH-YYYY'),'WW') "date" from dual;
    
    da
    --
    14
    

    I guess in SQL server for "wk" started the week from Sunday to Saturday any day was on 01 Jan.
    January 3, 2010 was that a Sunday to see what week number oracle gives us for this date:

    SQL> select to_char(to_date('03-JANUARY-2010','DD-MONTH-YYYY'),'WW') "date" from dual;
    
    da
    --
    01
    

    See what sqlserver gives you for it. I do not know that sql server will give weeknumber 2 for that date because SQL server starts next week on Sunday.

  • PL/SQL FUNCTION: Passage date &amp; string as parameter

    Hello

    I have a situation where I have to convert the ISO date format Date [YYYY-MM - DDTHH24:MI]

    Is function def. : FN_ISO (IN_DATE Varchar2, Varchar2 IN_TIME)

    Front-end for the date and time, I can enter in 3 different ways.

    Input 1. what date / time is completely known

    Date: 5 April 2015

    Time: 23:56

    Input 2. When the date is known, but the time is unclear (the hour is UNK)

    Date: 5 April 2015

    Time: UNK:56

    Entry 3. When the date and time are unknown (month is UNK)

    Date: 05-UNK-2015

    Time: UNK:56

    Here, I am facing the problem with the Time parameter. Please find below scenarios:

    Scenario 1: If the time is complete (as input 1) then I'll pass the data type Date in 2nd parameter (5 April 2015, which contains the time internally)

    Scenario 2: If the time is incomplete or partially known (as input 2) then I'll pass the Varchar2 data type in 2nd parameter (UNK:56 as string)

    Problem statement:

    Consider scenario 1; If date & time is over so I'm passing the data type Date (April 5, 2015 23:56) Varchar2, then time will be 5 April 2015 00:00, however I need to get the time (23:56)

    Note:

    -I can't use the overload of functions.

    -I can not change the way call function which I now call.

    -I can't do second parameter date because in scenario 2 I have to pass the string "UNK:56".

    Please suggest me, how I can address the issue. Your help would be very appreciated.

    Thanks in advance!

    create or replace function fun_iso (IN_DATE VARCHAR, IN_TIME VARCHAR2 )  return varchar2
    is
    V_ISO varchar2(20);
    begin
    SELECT 
        (case when 
                   regexp_like(IN_DATE,'(UNK|\d+)/(UNK|\d+)/(UNK|\d+)') THEN 
                   REGEXP_REPLACE((REGEXP_REPLACE(translate(in_date||' '||in_time,'/ ','-T'),'UNK|NUL','-')),'(:|-|T)+$')
                   WHEN regexp_like(IN_DATE,'\d+-(\w+|\d+)-(\d+)') then
                   REGEXP_REPLACE((REGEXP_REPLACE(translate(TO_char(to_date(IN_DATE,'DD-MM-YY'),'YYYY-MM-DD')||' '||
          /*for scenario 1*/    (CASE 
                             WHEN regexp_like(IN_TIME,'(\d+)-(\w+)-(\d+)') 
                             THEN DECODE(TO_CHAR((IN_TIME),'HH24:MI:SS'),'00:00:00', NULL,TO_CHAR(IN_TIME,'HH24:MI:SS'))  /* Here i need time if i will pass 05-Apr-2015*/
                             ELSE NULL
                                  END) 
                   ,'/ ','-T'),'UNK|NUL','-')),'(:|-|T)+$')
                   else '0'
         END)
         INTO V_ISO from dual;
         RETURN V_ISO;     
    end;
    /
    
    /* Use below table : line 35 is scenario 1 */
    
    select a.*, fun_iso(IN_DATE, IN_TIME)
    FROM 
    (
    (SELECT '2015-01-15T22:29:59 ' ISO_DATE_TIME, '2015/05/05' IN_DATE , '22:29:59' IN_TIME FROM DUAL UNION
    SELECT ' ' ISO_DATE_TIME, 'UNK/UNK/UNK' IN_DATE , '22:29:NUL' IN_TIME FROM DUAL UNION
    SELECT ' ' ISO_DATE_TIME, '01-Jan-15' IN_DATE , '22:UNK:NUL' IN_TIME FROM DUAL UNION
    SELECT ' ' ISO_DATE_TIME, '01-Jan-1948' IN_DATE , '22:29:NUL' IN_TIME FROM DUAL UNION
    SELECT ' ' ISO_DATE_TIME, '01-05-15' IN_DATE , '22:29:NUL' IN_TIME FROM DUAL UNION
    SELECT ' ' ISO_DATE_TIME, '25-05-2015' IN_DATE , '22:29:NUL' IN_TIME FROM DUAL UNION
    --SELECT ' ' ISO_DATE_TIME, '25-05-2015' IN_DATE , TO_CHAR(TO_DATE('01-AUG-14 23:56:00','DD-Mon-YY HH24:MI:SS')) IN_TIME FROM DUAL UNION
    SELECT '2009' ISO_DATE_TIME, '2009/UNK/UNK' IN_DATE , 'UNK:UNK:NUL' IN_TIME FROM DUAL UNION
    SELECT '2009---25' ISO_DATE_TIME, '2009/UNK/25' IN_DATE , 'UNK:UNK:NUL' IN_TIME FROM DUAL UNION
    SELECT '--03-25' ISO_DATE_TIME, 'UNK/03/25' IN_DATE , 'UNK:UNK:NUL' IN_TIME FROM DUAL UNION
    SELECT '--03--T-:15' ISO_DATE_TIME, 'UNK/03/UNK' IN_DATE , 'UNK:15:NUL' IN_TIME FROM DUAL UNION
    SELECT '2009-03 ' ISO_DATE_TIME, '2009/03/UNK' IN_DATE , 'UNK:UNK:NUL' IN_TIME FROM DUAL UNION
    SELECT '2009-03--T12' ISO_DATE_TIME, '2009/03/UNK' IN_DATE , '12:UNK:NUL' IN_TIME FROM DUAL )
     ) a;
    

    Hello

    Here's one way:

    FUNCTION to CREATE or REPLACE fun_iso

    (in_date in VARCHAR2

    in_time IN VARCHAR2

    )

    RETURN VARCHAR2

    DETERMINISTIC

    IS

    month_name VARCHAR2 (51): = ' JAN Feb MAR Apr MAY June July Aug SEP OCT NOV DEC UNK;

    month_num VARCHAR2 (50): = '01 02 03 04 05 06 07 08 09 10 11 12-';

    BEGIN

    RETURN SUBSTR (in_date,-4)

    || '-'

    || SUBSTR (month_num

    INSTR (month_name

    , SUBSTR (in_date, 4, 3)

    )

    2

    )

    || '-'

    || SUBSTR (in_date, 1, 2)

    || ' T '

    || CASE

    WHEN SUBSTR (in_time, 1, 3) = "UNK".

    THEN '-'

    Of OTHER SUBSTR (in_time, 1, 2)

    END

    || '-'

    || SUBSTR (in_time-2)

    ;

    END fun_iso;

    /

    If your needs are more complex, you can do this drill several assignments, where you build a string a little at a time, and RETURN this string at the end.

  • SQL * more wild returned data String - spaces (required) are abandoned in character data

    Does anyone know how to preserve the credibility of a string returned by using SQL * more variable substitution for use in a title column.

    I am under SQL * more script and the output of the securities. I need to find out the name of the company (in the text name of the legal entity). However, the substitution variable returns / outputs the data to the correct record, but corrupts the content of the returned string by spaces dropping (necessary)?

    In the script below, I tried several combinations to include using a technique of faking the output as a formula in Excel. It is very effective with the attack anywhere to Oracle/Microsoft problem at the output to Excel. For some varieties in solution, there are two methods to fill the Legal_Entity_Name which each produce the same corrupt result. I use method 2 because it's a little more friendly.

    The output is directed to a local directory C:... If you try to run this script... note the output in the script path is c:\Ora_scripts\Corrupt_Example.xls coil;

    In the database, EBS R12, the correct output should be: Industrias Selkirk of Mexico S de RL de CV . (IN THE SCRIPT, THE SAME SELECT STATEMENT IS USED AS THE MAIN QUERY - IT PRODUCES A CORRECT RESULT).

    However, data is corrupted to: IndustriasSelkirkdeMexico.

    Here's a testable script:

    --@C:\Ora_Scripts\Corrupt_String_Script.SQL

    trigger the echo

    went to CHECK

    moved the markup html off the coast of the coil

    Leave your COMMENTS

    Set trimspool on

    delete columns

    clear breaks

    clear the buffer

    Disable CALCULATED

    TOPIC on the value

    set PAGESIZE 50000

    Set LINESIZE 500

    NewPage 0 value

    set TERMOUT off

    -The variable definitions Section.

    Undefine g_Registration_Id

    Set g_Registration_Id = 12033;

    Cancel the Instance definition;

    Set the Instance = "XXXXXX";

    Undefine Time_Stamp;

    Define Time_Stamp = "DD-Mon-YYYY hh ';

    Undefine sv_Legal_Entity_Name

    Bnd_Legal_Entity_Name variable Char (75)

    Variable bnd_Registration_Id number

    --

    -Fill in the title and the title of the data items.

    -Company name get - method 1

    / * Start

    Select xrg. Alternate_Registered_Name in: bnd_Legal_Entity_Name

    of apps.xle_registrations xrg

    where xrg. Source_Table = "XLE_ENTITY_PROFILES."

    and xrg. Registration_Id = & g_Registration_Id;

    End;

    /

    -Transfer the value of the variable binding to the variable substitution

    Column sv_Var_1 sv_Legal_Entity_Name noprint new_value

    Select: bnd_Legal_Entity_Name double sv_Var_1;

    */

    --

    -Company name method retrieves 2

    Run: bnd_Registration_Id: = & g_Registration_Id;

    Column sv_Legal_Entity_Name sv_Legal_Entity_Name FORMAT A75 noprint new_value

    -Try in the form of Excel formula - no luck!

    -Select ' = ' ' | xRG. Alternate_Registered_Name | «"«as sv_Legal_Entity_Name»»»

    Select xrg. Alternate_Registered_Name as sv_Legal_Entity_Name

    of apps.xle_registrations xrg

    where xrg. Source_Table = "XLE_ENTITY_PROFILES."

    and xrg. Registration_Id =: bnd_Registration_Id;

    --

    Column Instance_Col by Instance NOPRINT new_value

    Select the name as Instance_COL in apps. Fnd_Apps_System;

    --

    Column Time_Stamp_Col new_value Time_Stamp NOPRINT

    Select to_char (sysdate, "Mon-DD-YYYY HH24:MI:SS) as Time_Stamp_Col

    From Dual;

    --

    the forage value off markup html on spool

    coil c:\Ora_scripts\Corrupt_Example.xls;

    TTITLE-

    Skip - 0

    'Arguments' left... »-

    Jump - 1

    Center & sv_Legal_Entity_Name-

    Jump - 1

    Right ' run: ' Time_Stamp-

    Center "it is a centered string constant;

    Jump - 2

    -Various declaration of Variables.

    the forage value off markup html on spool.

    HEAD ' < title > example string of corrupt < /title >.

    < style type = "text/css" >-

    table {background: white; do-size: 80% ;}} -

    Th {background: #ccc ;}} -

    TD {padding: 0px ;}} -

    < / style > '

    --                        Mainline query                                      --

    -REPLICATE THE SELECT USED TO DERIVE THE LEGAL_ENTITY_NAME TO THE TITLE

    Select xrg. Alternate_Registered_Name

    of apps.xle_registrations xrg

    where xrg. Source_Table = "XLE_ENTITY_PROFILES."

    and xrg. Registration_Id = & g_Registration_Id;

    -Liquidation of script.

    spool off;

    moved the html markup;

    Here is output (open in Excel):

    Arguments...
    IndustriasSelkirkdeMexico
    It is a centered string
    constant
    Run: 14 October 2014 10:10:45
    ALTERNATE_REGISTERED_NAME
    Industrias Selkirk of Mexico S of CV RL

    Hello

    Just use double quotes... First test: with x.sql container

    trigger the echo

    delete columns

    TOPIC on the value

    set PAGESIZE 50000

    Set LINESIZE 500

    NewPage 0 value

    set TERMOUT off

    -The variable definitions Section.

    Undefine sv_Legal_Entity_Name

    Column sv_Legal_Entity_Name sv_Legal_Entity_Name FORMAT A75 noprint new_value

    TTITLE-

    Skip - 0

    'Arguments' left... »-

    Jump - 1

    Centre '& sv_Legal_Entity_Name ' -.

    Skip 1

    SELECT 'test ttitle' FROM dual;

    running the script, providing a ttitle (slightly different from yours ;-), I have):

                                                                                                       Industrias Belgica ;-) Selkirk

    ' TESTINGTTITLE

    --------------

    test ttitle

    Best regards

    Bruno Vroman.

  • PLSQL - to_date coded for the American date strings regardless of the machine?

    I do a code to deal with some issues that originally come from an Excel... There are some fields being a string containing a date value. So my code is to take the string and turn it into a variable date so I can insert it into a date field Oracle. The format of the dates in Excel is like this: "DD/MONTH/YYYY" "MONTH" is written in American English.

    So, if I do something like this:

    Select to_date (April 1, 2013 ',' DD/MONTH/YYYY ')

    in: myDate

    OF THE DOUBLE

    ;

    It works fine when I run it on my own machine English/American.

    But... When I run the same on my client machine (which is in another country, Brazil)... I get an error "Invalid month.

    Of course, if I had to do this:

    Select to_date (' 01/ABR/2013 ',' MON/DD/YYYY "")

    in: myDate

    OF THE DOUBLE

    ;

    Then it works fine.

    And... It seems that even if their machine settings are Brazilian, they provide the date field in Excel (which they provide) in a USA-English format.

    Then... What is a good way I can interpret their date field (which is in English)? I hope for a command that completes the to_date function that also tells the Oracle "interpret this" DD/MONTH/YYYY"format, where the MONTH is written in American English" regardless of work on a non-English machine?

    Not sure it's what you're asking. Have you tried TO_DATE (April 1, 2013 ', ' DD/MONTH/YYYY', 'NLS_DATE_LANGUAGE = American') when inserting?

  • conversion of the date string

    Hello

    I've recently become involved with databases, and I hit a little snag.
    I have strings that represent a date, they are very oddly formatted and need to store them as dates. the format string looks like this:

    "Monday, May 13, 2001"

    How can I effectively convert DATE type?
    I hope it's more simple I think.
    Thanks in advance
    /* Formatted on 2012/06/26 04:31 (Formatter Plus v4.8.8) */
    SELECT TO_DATE (REGEXP_REPLACE ('SUNDAY,May the 13th of 2001', 'the|th|of',
                                    ''),
                    'DAY,MONTH DD RRRR'
                   )
      FROM DUAL;
    
  • Formatting: String &gt; Date &gt; String

    This is the best I could do, how to simplify this:
    value = new SimpleDateFormat("MMM dd, yyyy  HH:mm:ss").format((java.util.Date)new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(value.toString()));

    NKA says:
    >
    The idea behind exceptions, is that you assume each step will work, and just write the code as if it does. If the method I call returns null instead of throwing an exception on failure, then I have to explicitly check for null at this point, rather than simply move on to the next step. With some exceptions, I know that if I even got to that next step, then nothing was wrong.
    >

    What is this means that the calling code must know that there is an exception thrown from code that was called?

    Well, Yes, if you call a method, and something goes wrong, you want to know about it, right? Catch the exception does not solve anything. All that's happened is always false. You catch an exception because you plan to do something about this.

    What I understand from what you said that the operation should fill in some way by throwing an exception back to the caller, and then, the caller must decide what to do with it.

    Exactly. And often - most of the time, in fact - that the appellant made with it will just continue to throw on top of the stack to its calling.

    What I do is that logs the error in the file and show a popup error message to the user. It works as the operation has not completed, so got canceled due to the outbreak of the exception.

    If you are at a high enough level layer of your code, which may be appropriate. However, I prefer to see this:

    try {
      formatDate();
    }
    catch (SomeException e) {
      showErrorMessageDialog();
    }
    

    than that:

    String s = formatDate();
    if (s == null) {
      showErrorMessageDialog();
    }
    
  • Data string

    Hello

    I work with 6 different image labels have their own images of background on each, trying to scale and add an alpha animation in the background of the current label.

    In the bellows of code, I try to add an animation to a background image of "ContactBG_mc" name, which is located in the image tag "Contact."

    -----------------------------------------------------------------------

    var tgtLabel:String = currentLabel;

    var currentBG:String = tgtLabel + "BG_mc";

    -----------------------------------------------------------------------

    I could get the correct name of the MC target, but when I try as

    -----------------------------------------------------------------------

    currentBG.width = 500;

    -----------------------------------------------------------------------

    Then I get the error says "the string is not a dynamic class.
    Think of the content of currentBG is just a string and won't target MC itself, is it possible to get data from the real target?
    Any help would be appreciated, thanks.

    You really need to brush your understanding of the types of data. String is not anything butString - no movieslip etc.

    In your case, I guess, the code should be:

    var currentBG:String = tgtLabel + "BG_mc";
    This [currentBG] .width = 500;

  • Import date string. Need professional advice,

    Hi all
    First of all, let me say that I have exhausted my options to understand this. I thought I would ask some opinions here.
    I was ask to import data from a dat file in our CF server that has a string of Date / hour that I'm not familiar with. Has anyone ever seen this format or worked with it and don't have a clue how I can decipher. Here is an example.

    DTSTART:1175254200
    DTEND:1175270400

    That's what I know the date and time that precedes.

    The DTSTART:1175254200 is March 30, 2007 07:30

    I generated this me is what I know.
    Any help is appreciated.
    Thank you
    Brian

    BLXWebMaster wrote:
    > What you're watching is referred to a time value. Usually used on
    > Unix and refers to the number of milliseconds that have elapsed since the date
    > January 1, 1970.

    what you describe is offset from time of java, unix uses * seconds *, which
    These data seem to be.

    It's pretty simple to manage:


    startEpoch = createdate (1970,1,1); as it is said
    unixEpochOffset = 1175254200; seconds since the beginning of time
    x = dateAdd ("s", unixEpochOffset, startEpoch);
    WriteOutput (x);

  • Suspend the data string decoder

    Does anyone know how the data in the suspension data maps?
    Example: A00000000001000BY 7%

    I know that the first character is the last visited slide.
    Thanks, Dale

    I found my own answer. BTW on page 27 of the first character is a lowercase 'a', page 28 'b' what happens on page 53.

    Captivate doesn't use lesson_location to take you to the page where you were last on.

    Data just after the letter of the last page, is a string of Boolean variables, 0, the page has not been visited, 1 page. The first is the last page of the course. I am putting together this information on a website, I'll send it later.
    A00001000BBB
    On that last one - page, you were
    00001 - the number of pages visited 1 = 0 = not visited
    based on the above 5 pages in progress, only page 1 visted (the order is at the back of the order of the pages)

    Hope that help anyone.
    -Dale

  • GetDate / date string format time

    Hi all

    I needed some help understand why I can't use %p for A.m. and p.M on my screen of outut. When I run the application, I get time but not indicates am/pm.

    I have attached the image and the VI.

    The 12-hour clock used %I for the time being.

    The correct format string is % I: % h: %p %S

  • ttIsql connection loading Oracle data - string TT user is different from OracleUser

    Hello

    I work in an Exalytics with TimesTen project and we want to load some data from an Oracle to TimesTen database.

    The point is that the OracleUser (DEV_TAX) has a different name than the user TT (TAX)

    Example:

    ttIsql f /home/ora/ttscript/LoadData.sql "DSN = TT_TAX; UID = tax; PWD = tax; OraclePWD = devtax; OracleNetServiceName = devtax; »

    Here, I can't specify an OracleUID DEV_TAX

    any suggestions?

    Thank you very much

    Thorsten

    Hi Thorsten,

    Two possibilities:

    1. create a user in TimesTen with the same name as the user Oracle (DEV_TAX), grant CREATE SESSION user and on the relevant tables belonged to TT_TAX in TimesTen. Then connect to TimesTen as DEV_TAX and run the upload script.

    2. create a TT_TAX user in Oracle and GRANT SELECT to her for all tables to be loaded.

    TimesTen is currently limited to using the same UID for TT and Oracle when you use the cache or other features (such as ttLoadFromOracle in this case).

    Kind regards

    Chris

  • Comparison of date strings

    Hello

    I have a Varchar2 field in Oracle DB holding a time as 20120419130609883.

    I need to pass a parameter to a query via a DB adapter in SOA suite and get the records from the table with the dates after a certain date, for example get records after 20120415130609883.

    This is my query:
    SELECT ID, NAME, LASTUPDATETIME db.tablename WHERE LASTUPDATEDDATETIME >?

    So I have records in the table with datetime: '20120419130609883' (19 April)
    and I pass the parameter: '20120415130609883' (15 April)

    The query returns nothing. What I am doing wrong?
    I'm sure I'm not doing something very stupid as asking the wrong table.

    Thank you.

    JDeveloper 11.1.1.5

    Hi user,

    How to write the application in pure sql option? In addition, in the conversation above that I saw above, when you make a pure sql option, you usually get a possibility to choose the schema name, which will come only for other database operations.

    There are two things, you can check to confirm.

    1. check the data source of the database adapter and see with what schema is this data source created in the administration console. Now, check if the table you are querying is covered by the same schema (schema with which your data source has been created). If both the pattern is the same, it shouldn't be a warning when you write pure sql code in pure sql option.

    2. Furthermore, if the schema of the source data and the schema that contains the table aren't the same; what you can do is, in the pure option sql make sure you give the scheme name before the table, for example,

    --------

    Select * from schemaname.tablename

    -------

    also while doing the second option, make sure that the schemaname datasource should have privileges to access the tables under the schemaname where your actual table is there. Ask your DBA to assign privileges to the schema if you work with the 2nd option.

    It should work, let me know.

    Hope this helps,
    N

Maybe you are looking for