Timestamp indicating incorrectly in SQL history


Hello

SQL Developer version 4.0.0.13, the timestamp was not properly in the historic window of SQL

SQL for today - January 3, 14 shows with a timestamp of 1 March 14

Looks like that the day and month have been reversed when formatting.

Bugs of all sorts of fun it - they were processed for our next patch/version and the developer tells me, on the contrary, the product should be faster and more responsive in this area.

Tags: Database

Similar Questions

  • 2.1: SQL history ignore encoding

    Hello.

    I specified MS932 encoding in the environment preference tab.

    Developer SQl recorded history in the file named 'SqlHistory.xml' MS932 of encoding.

    I restart SQL Developer, history is broken.
    I guess that history file is read without taking into account the encoding setting.

    Should indicate something more?

    Is this the same thing reported in this 2.1: SQL history still not right... [Correction 2.1.1]?

    theFurryOne

  • Ai2 RC1 SQL-history does not

    Hello

    After SQL-Developer starting this morning (07/12/2009), SQL-history shows not all files even if the story (SqlHistory.xml) contains documents. Last record stored in the history file is dated 12/04/2009.

    I am running XP SP3

    Already registered:
    Bug 9156084 - RC1: HISTORY of SQL IS NOT LOADED ON STIMULUS SQLDEV

    -Turloch

  • SQL history Blocker

    Hello

    Oracle 10g.
    Lets say that I have lived a lock of database 2 hours ago and I want to find what sql statement was blocking others.

    I know that the sid of the blocker but I am unable to find the SQL of the inhibitor.
    Also, when I check higher activity of enterprise manager shows only the boy.

    I tried to run the queries at the bottom of the link, but it only shows information about the pending session.

    http://oraclue.com/2009/10/15/blocking-locks-history/


    How can I find the sql statement in the particular sid history?

    Hello

    If you can access the ASHES,
    SID-> ASH-> SQL_ID-> V$ SQL...

    Kind regards

  • Problem of timestamp indicating 1970 instead of 1988

    Hello

    I'm trying to set the default value in the DateField using the following statement

    DateField dateField = new DateField ("birthday:", 567993600, DateField.DATE |) DateField.FIELD_LEFT);

    but when I run my application it shows me on January 7, 1970 instead of 1 January 1988.

    I checked the time stamp on http://www.onlineconversion.com/unix_time.htm

    and it shows me the correct date expected, "Friday, January 1, 1988 00:00:00 GMT"

    I'm using the 8900 Simulator and my date time is correct the date of December 31, 2010 date time under folder options.

    Kind regards

    -gmuhammad

    found the solution:

    DateField dateField = new DateField ("birthday:", 567993600000L, DateField.DATE |) DateField.FIELD_LEFT);

    The DateField uses millisecs while most of the sites on the internet don't use milliseconds. So I add three zeros in the end make a correct timestamp.

  • SQL history

    Dear gurus,
    Is it possible to get the story of the SQLs executed in a particular schema?

    Thanks for reading this post
    * 009 *.

    try to query v$ sql

  • History of SQL do not sort by date; new format of TS v4?

    I was afraid that my history of SQL was not accumulating after upgrade, as it seemed not as I expected.


    I generally sort descending timestamp, but I find that hold since the installation of the version 4.0 production this different format of timestamp on the history of SQL took, ignoring the NLS settings that I put in my preferences (which were not those default to my territory and language, incidentally).

    I migrated all my settings from the previous installation, I had... .sqldev4 ea3.  previous migrations from v3 to v4 ea1 to v4 ai2 to v4 ea3 ever disturbed my history of SQL.

    Now my recent entries are buried in the history of SQL and show no longer on top, and sorting by date seems erratic, it is impossible to see a chronological order of the executed SQLs before and after migration.

    Y at - it shaped a command to put the SQL history timestamps or I have to go spelunking in the xml files to change a setting?

    Curiously,.

    Steve

    Toolmakers were the question ID and he set our next update.

  • History SQL - purged

    How SQL Developer to determine what records SQL history to retain or purge?

    Over time most of the history is purged. I do have a few records in the history of last spring.

    Why some old records history saved and other purged?

    I use the 3.0.04 version.

    Todd

    Hi Todd,

    So I guess that you already know and use tools | Preferences | Database | Worksheet | Limits of the history of SQL and your question applies only to the workings of the history limit. Depends actually extract of java.io.File.list () command the * history.xml file from (on WinXP) C:\Documents and Settings\\Application Data\SQL Developer\SqlHistory directory.

    If you have an ancient history... \SQL.xml to migrate, which could also be a factor.

    Whenever the limit should be exceeded by adding a new SQL (not already present in the list for the current connection), the entry at the end of the list is removed and the xml file associated with physically removed from the directory. The new SQL is inserted at the top of the list and an associated xml file stored in the directory. If you run enough new SQL in a session, all the old SQL will eventually get flushed out. So this means that, during a session, the replacement rule is LIFO on the history and then, if necessary, FIFO on new story.

    Other options to remove old SQL:
    (1) remove the old files only * history.xml (including any old SqlHistory.xml, if you have no pre - 3.0 version based always on it).
    (2) has a low value of the limit of the history of SQL, then, after a bit of history gets purged, back to the highest value.

    Kind regards
    Gary
    SQL development team

  • Getting milliseconds of DATETIME SQL database Labview

    Hello

    I am trying to extract a timestamp of my MS SQL database and I don't get the milliseconds when I retrieve the data. Does anyone know how to program sql or labview, so I can get the timestamp set. In SQL, I set as datetime2. I'll appreciate any help. Thank you

    It seems that it is a TEEN driver problem, not specific to LabVIEW.  If you use the query

    SELECT Convert(varchar,Start_Test_Time,21) FROM Engine_Tests

    You can retrieve data in a string and convert it into a timestamp.

    You can also use

    SELECT DATEPART (msStart_Test_Time) FROM Engine_Tests

    to get just the part ms.  More information about DATEPART can be found here:

    http://msdn.Microsoft.com/en-us/library/ms174420 (SQL.90) .aspx

  • How to capture sql statemnts that belong to other users?

    Hi all

    I want to capture SQL statements that belong to a specific (at a certain time or spent) user. Let's say I use the HR user. I want to learn sql history of SCOTT. So, what can I do?

    that has been locked because of the behavior not consistent with these forums.

    You don't know what people do! How is it, you can lock my thread? It's not fair. Who do you think you are!

    Do your job properly. Learn how to be IMPARTIAL and HONEST!

    Before locking the threads, show RESPECT to people!

  • Conversion problem of oracle.jbo.domain.Date in java.util.Calendar and oracle.jbo.domain.Timestamp to oracle.jbo.domain.Date

    Hello world

    Work with dates has been harder than I thought! Please take a look at the code; everything compiles, but it fails because I'm not cast properly. Any help would be appreciated.

    Imports are:

    import java.sql.SQLException;

    to import java.text.ParseException;

    import impossible;

    import java.util.Calendar;

    Import oracle.jbo.domain.Date;

    Import oracle.jbo.domain.Timestamp;

    Here is the method:

    public static Date (String sDate, int day, nextDay

    SimpleDateFormat String) {}

    Date result = null;

    java.util.Date date;

    If (sDate! = null) {}

    try {}

    System.out.println ("Try...");

    Calendar calendar = Calendar.GetInstance ();

    SimpleDateFormat dateFormat =

    new SimpleDateFormat (simpleDateFormat);

    calendar.setTime (dateFormat.parse (sDate));

    Calendar.Set (Calendar.DAY_OF_WEEK, date); day = Calendar.SUNDAY

    Calendar.Set (Calendar.HOUR_OF_DAY, 0);

    Calendar.Set (Calendar.MINUTE, 0);

    Calendar.Set (Calendar.SECOND, 0);

    Calendar.Add (Calendar.DATE, 7);

    dateFormat.format (calendar.getTime ());

    try {}

    System.out.println ("try (inside)... ») ;

    "System.out.println (" new Timestamp (calendar.getTime () .getTime ()) "):" +.

    new Timestamp (calendar.getTime () .getTime ()));

    result = new Date (Timestamp (calendar.getTime () .getTime ())) new; Code does not work here.

    return the result;

    } catch (SQLException e) {}

    System.out.println ("catch (SQLException e)... ») ;

    e.printStackTrace ();

    }

    Returns a null value.

    } catch (ParseException exception) e {}

    System.out.println ("catch exception e ParseException... ») ;

    e.printStackTrace ();

    }

    Returns a null value.

    }

    Returns a null value.

    }

    Here is the result:

    try...

    Try (inside)...

    new Timestamp (calendar.getTime () .getTime ())): 2013-12-29 00:00:00.0

    catch (SQLException e)...

    java.sql.SQLException: failed initialization

    to oracle.sql.DATE. < init > (DATE.java:237)

    to oracle.jbo.domain.Date. < init > (Date.java:378)

    James

    try to convert timestamp to jbo.date as

    java.sql.Timestamp datetime =newjava.sql.Timestamp(System.currentTimeMillis());

    oracle.jbo.domain.Date daTime =new  oracle.jbo.domain.Date(datetime);

  • Stuck in history

    Hello
    I seem to be stuck in the history. The window of spreadsheet got somehow replaced by history, so that the normal Editor shows just a query history. I am able to select different queries with ctrl + top and ctrl + down but I can't see all queries on a single page.
    Even closing and opening the script do not help.
    I want to be able to see all the lines in my journal once again, thank you for help.
    Sebastian

    Hi Sebastian,.

    If moving your mouse around the edges shutters of the worksheet calculation/history does not display the usual double-arrow (vertical or horizontal) that allows to adjust the coverage, you have to reset your preferences of positioning of the window. On my Windows 7, the latest version of SQL Developer system, those who are found in:

    C:\Users\\AppData\Roaming\SQL Developer\system3.2.20.09.87\o.ide.11.1.1.4.37.59.48\windowinglayout.xml

    Just exit SQL Developer, delete this file, and then reopen SQL Developer. You need to open the log and SQL history again in the menu view.

    Kind regards
    Gary
    SQL development team

  • How to increase the historical number of Sqls stored in SQL

    Hello

    Is it possible to increase the number of SQLs stored in history of the SQL SQL Developer?

    Thank you

    Hello

    Use the tools - preferences - data - sheet - SQL history limit.
    Change its value to what you want.
    Note: the greater value, as you put it, the SQL Dev more will maintain the size of the history.

    Kind regards

    Buntoro

  • SQL Developer Version 3.0.02 really slow to produce results

    Hello

    Hoping someone can point me in the right direction here as a SQL Developer on my machine is so slow, that it is virtually unusable (it was not as bad in previous versions but it is possible, that I also have a new JDK since). I open a connection to an Oracle database and the simple type:

    Select a_column a_table where a_column = 1

    and click on the green triangle (ctrl + enter). The green triangle and the icons of commit / rollback are going gray and I start counting the seconds rough. I arrive at 30 before the result is displayed and I can do anything and yet it says:

    All of the lines read: seconds 1 to 0.002

    In sqlplus the exact same query returns immediately. I added - J - Dsdev.insight = false to the command line (as it may slow down the Oracle SQL Developer) but this did not help. I'm running Linux Ubuntu 10.10 with
    3353400 KB of memory according to cat/proc/meminfo and my ~/sqldeveloper/jdk file contains:

    /usr/lib/JVM/Java-6-Sun-1.6.0.24

    quality shows:

    PID USER PR NOR VIRT RES SHR S % CPU % MEM TIME + COMMAND
    8143 martin 20 0 947 m 462 m 28 m S 6:39.68 2 14.1 java

    and this is the only java program I am running.

    Any ideas?

    Thank you

    Martin

    Yes, there were "dark ages" for the performance of the SQL Dev queries from 30EA1 and 30EA2 (3.0.02).
    He said that re-encoding on SQL history was to blame for this.
    Unfortunately, there is no satisfactory solution for these versions.
    Try at least 30EA3 and better to have production 3.0 a.

    Kind regards

    Buntoro

  • Insert job completion timestamp to another table

    Hi - I have a requirement where I need to insert timestamp end work to another table.

    I'm loading of data from oracle to Sql server table table. This job works well. Once this is done, I need to insert the timestamp on the completion of another table in Sql server.

    Here's what I did...

    (1) created a package with the interface that loads data from oracle to Sql server the table1 table.
    (2) created a refresh variable that gets the timestamp.

    I want to know if there are any ODI tool that loads this timestamp to another SQL server table once the data is loaded to the first SQL server table.

    Appreciate your comments.

    Thank you

    Simply create a procedure that inserts the timestamp to the relevant sql table by passing the variable as the value and call it as the last step of your package.

Maybe you are looking for

  • Virtual PC and XP mode

    Hello I want to use XP mode in Virtual PC but error message as your cpu is not taken care of virtuliziation, really need your help. I run Windows 7 64 bit Ultimate edition x

  • Power led turns off when I play games

    Hello When I play games, my AC adapter is plugged in, everything works well, but sometimes without any reason the power light turns off, but In DC is still on. I reconnect the adapter and all is normal for a few seconds ads it happen. What should do?

  • Windows Installer error saying that my drive's mbr, although it is really TPG.

    Hello I really hope you can help me with my problem. I have a retina of Macbook pro mid 2012 with a 256 GB ssd, installed with El captain. I am train via boot camp to make a partition with Windows 10. Windows setup via a San Disk 16 GB USB 3.0 purcha

  • What is the point of the current program of recovery iPhone?

    I just got the latest offering from resumption of Apple advertising up to €475 off a new iPhone and frankly think it's an absolute and misleading marketing effluent pot... I can sell my current for more iPhone double Apple are rewarding it and wonder

  • Want to retrieve an account that has been deleted

    Original title: How do I get back to the line who have requested to be due to the fact that my account has been hacked My account has been hacked and I asked to have the account close for awhile and you all did, NOW I would like TO THE REOPENED ACCOU