SQL Developer Cart Deployment Losing Time on Date Columns
I tried using the SQL Developer cart feature to migrate from AWS to Oracle Cloud and I found that the time element of any date attributes is not migrated. I checked the deployment file contents and found that both the SQL*Loader control file and the data file (ldr) do not account for any time information in a date table attribute.
Any one run into this issue and know how to get SQL Developer to pick up the time when it pulls date attribute values?
Hi,
There is no special preference controlling the date format in Database | Utilities | Cart, so the behavior either must be automatic or dependent on the NLS setting.
You might check if Tools | Preferences | Database | NLS | Date Format already contains a time format component. If the Cart deploy of dates does not work even with the correct NLS format, then this may need to be bugged. Perhaps an improvement has already been made for the next release. Please let us know. I will ping the developer on this.
Regards,
Gary
SQL Developer Team
Similar Messages
-
3.1 German translation of "SQL Developer Cart"
Hello,
the "SQL Developer Cart" is translated as "SQL Developer Einkaufskorb" (i.e. shopping cart). I don't think we are expected to go shopping?
If it is meant as a tool to collect objects to deploy them together it should be translated as "SQL Developer Korb".
At the moment I don't have a version 3.2 available, so I cannot test the naming there.
Regards
MarcusThanks,
I see it is fixed in 3.2.2
Best Regards
Marcus -
Force SQL Developer 1.5.4 to export data on 1 XLS workSheet
Hello.
I'm using SQL Developer 1.5.4 to export data into XLS format.
The exported file is about 40MB big.
During the export, I have noticed that SQL Developer splits the data into several worksheets, having about 64,001 rows each.
Please, is there any way I could force SQL Developer to have all of the data on a singke WorkSheet?
Thanks.I'm just guessing, but I suspect that the 64,000 row limit is so the resulting XLS file can be opened in Excel 2003 or earlier. Excel 2003 has a limit of ~65,536 (2^16) rows in a worksheet. Even if you were to export as a CSV or Text (tab-delimited) file and try loading it into Excel, it would choke and quit once the worksheet limit had been reached.
Ed. H. -
Will SQL Developer always be free? Evidently Data Modeling extension won't.
After learning the Data Modeling extension to SQL Developer was actually a for-pay product (only the Early Adopter release is free, evidently), I now wonder:
Will SQL Developer always be free, or is there a chance it will be converted into a for-pay product? I don't want to invest any more time learning the tool if there will be future license fees to pay.
I was sad to learn Data Modeling won't be free. Not knowing how much it might cost, I don't want to invest any time at all playing with it.
Thanks.
DanaThanks K. Hope to learn more about the Data Modeling extension pricing--not that I'll be able to afford it. Too bad--I see Oracle going in a great direction with SQL Developer being free. It's a shame Data Modeling won't be. Right now, I am stuck using Enterprise Architect--and that's very limited for database design. Evidently it can be modified to do a lot more, but I don't have the skills or time to turn it into something it should do out of the box.
What other free data modeling tools are out there? I liked Druid III, but that doesn't seem to be under active development. There's an Open Source tool called Power Architect, but it was rather buggy the last time I evaluted it:
http://www.sqlpower.ca/page/architect
Maybe it has improved since then (about a year ago). -
SQL Developer 3.0 Final Available with Data MIner
A new SQL Developer extension, Oracle Data Miner is the graphical user interface for Oracle Data Mining, an option to the Oracle Database Enterprise Edition. Oracle Data Mining provides in-database functionality that enables users to discover patterns and relationships hidden in their data to predict customer behavior, identify key factors, find new clusters and their profiles, anticipate and combat churn, detect anomalous behavior and solve a wide range of data-driven problems. For more information, visit Oracle Data Miner on OTN http://www.oracle.com/technetwork/database/options/odm/index.html
Hi Mikka,
Only simple PL/SQL Records are currently supported i.e. those that do not contain repeating or optional components and where all the components are themselves supported. This restriction is in place due to the fact that we use JDBC as the parameter passing mechanism which does not directly support the PL/SQL Record type.
ANYTYPE and ANYDATA are not currently supported as they have a dynamic value type and therefore must be programmatically set. In the future, it may be possible to support these through the dynamic value and and validation features.
This will remain so for the final version.
Regards,
Richard -
SQL Developer 3.0 error message on Data mining feature
Hello,
I have installed the 3.0 Oracle SQL Developer and am now getting the following error when I attempt to connect to an existing database connection:
Connection Error - Oracle XMLDB and Text Features are not installed.
Please install the Oracle XMLDB adn Text features, or see your database administrator for assistance.
We are on Oracle 11.2.0.1 with windows env.
I have installed this new released SQL dev 3.0 for data mining purpose, but I am not sure whether we need a licence for this or it is free.
Does anyone have any idea please share with me.
Thanks for your assistance.
Regards.This post can help you:
Connection Error - Oracle XMLDB and Text Features are not installed.
sql developer is free, not licence needed. -
SQL Developer tool sometimes does not display data with date type
run the following query using the sql developer tool -
select effective_date from table1 where id = 123;
(the effective_date is stored in the database as date.)
one record is returned with no date in the filed.
However, if I change the query to
select to_char(effective_date, 'mm/dd/yyyy') from table1 where id = 123;
one record is returned with effective date.
Why?
Thanks for your help.First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
Justin -
30EA2 - SQL-Developer 3.0.02 Another Table Data Sort Order Bug
Although the "30EA1 - SQL-Developer 3.0.02 Table Data Sort Order Bug" still exists in 30EA2, there is a new substantial mistake.
How to see it:
Open table1 (Preference "Automatically Freeze Object Viewer Windows" is set). Click data.
Open table2. Click data.
Go back to table1. Click Sort. => You see the columns of table2. The is no way to sort table1, before you close the table2 window (tab).
Edited by: oestreicher1 on 01.12.2010 04:54Logged Bug 10358797 - ea2: grid sorter shows wrong columns
-Raghu -
Version: Sql Developer v1.2.1 (32.13)
OS: Windows XP SP2
Database: Oracle 10g
Symptoms:
I have a table with a DATE field.
In a record of this field a have a value such as : 12/31/0003 (I know this is a strange date value) but the problem is that if I try to change this value using SqlDeveloper grid editor in 12/31/2003, it seems to not recognize the change without enabling the Commit Button and keeping the 0003 value !OK, I'm not understanding you exactly. It's not the formatting that you're having an issue with, but the editor. I have a date for a record that is 17-Feb-2006 and I want it to be 17-Feb-1996, so I invoke the date editor and highlight just the year and make the change. Just type in the new year and say OK. This then causes the Commit button to become available, because we have made a change and then I commit the record.
The record is committed correctly, with the correct years, regardless of whether I have the formatting as RR, RRRR, YY or YYYY.
Sue -
SQL Developer 4.0 Build MAIN-12.84 column width in data grid
A while ago I posted a thread about being unable to adjust the column width to "compress" everything on the screen to make the data more easily viewable. I just installed the latest build, and while it works slightly better, it still does not seem that there is any way of making the query results take up the least possible space. When you resize one column, it is affecting the size of other columns. Also, having to resize the columns for every query would be a massive hassle. Are there any plans to have an auto fit option that will fit to the least needed size that is necessary to display either the width of a heading and/or the data? The lack of this ability is why I am forced to stick to an old version of SQL Developer.
yup, already fixed for EA3 - you'll see the grids size to the space required, not to fill the screen. Just like you see in version 3.2.
-
Sql developer with compute function/ add total to column.
Hello experts i've been strugglin for a couple of hours on this. and im not sure if this is the forum i should be posting this but i could not found a forum directly related to sql developer.
I would like to use the compute function in sql developer but it does not appear to work can someone please point me in the right direction.
i followed this documentation
http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm
but it does not seem to do the trick. I basically just would like to add a total at the end of my query ?...
can someone throw me a bone on this one.
Miguelcolumn DUMMY NOPRINT
compute sum of aamt on DUMMY
break on dummy
select a_fa_idoc, b_fr_idoc, a_amt, b_amt, (a_amt-b_amt)
from
(SELECT a.fa_idoc a_fa_idoc, SUM(a.amt) a_amt from fwrinva a group by a.fa_idoc) fwarinva_summary
inner join
(SELECT b.fr_idoc b_fr_idoc, sum(b.amt) b_amt from fwrinvc b group by b.fr_idoc) fwrinvc_summary
on( fwarinva_summary.a_fa_idoc = fwrinvc_summary.b_fr_idoc)
where (a_amt - b_amt) = 0;here is my query but it does not put a total on the end? -
Database Export exporting data does not export time of date columns
Hi,
I'm trying to export some data using Database Export and for the date columns the resulting scripts truncates dates showing only the date part not the time one. If export from a query result the resulting script include all the information (date and time).
Does anyone has an idea on how to export all the date information using database export.
thanksYep, as Jim said, under Tools / Preferences / Database / NLS Parameters I changed Date Format to DD-MON-YYYY HH24:MI:SS
Seems to have done the trick. What's the significance of DD-MON-RR versus DD-MON-YY? -
SQL Developer 1.5.1 - Database Export - Exporting Column Comments
I have tried using the Database Export tool in SQL Developer 1.5.1 to export statements for "comment on column" but with no success. Is there a way to get these statements included in the DDL?
rasberryWhen you select 'table' the comments are generated 'automatically'.
This is what you want? -
Conversion mapping is losing time zone data during daylight saving time
We have a problem with conversion of Calendars to timestamp with timezone for the last hour of Daylight Saving Time (e.g. 01:00 EDT - 01:59 EDT) where it is being interpreted as Standard Time which is in reality 60 minutes later.
We've written a JUnit test case that runs directly against TopLink to avoid any issues with WAS and its connection pooling.
The Calendar theDateTime comes from an object called TimeEntry which is mapped to a TIMESTAMP WITH TIMEZONE field using conversion mapping with Data Type TIMESTAMPTZ (oracle.sql) and Attribute Type Calendar (java.util).
We are using:
Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build Patch for Bugs 5145690 and 5156075)
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
Oracle JDBC driver Version: 10.2.0.1.0
platform=>Oracle9Platform
Execute this Java:
SimpleDateFormat format = new SimpleDateFormat("MM/dd/yyyy HH:mm z");
TimeZone tzEasternRegion = TimeZone.getTimeZone("US/Eastern");
Calendar theDateTime = Calendar.getInstance(tzEasternRegion);
theDateTime.setTime(format.parse("10/29/2006 01:00 EDT"));
Persist to the database and execute this SQL:
SELECT the_date_time, EXTRACT(TIMEZONE_REGION FROM the_date_time), EXTRACT(TIMEZONE_ABBR FROM the_date_time), EXTRACT(TIMEZONE_HOUR FROM the_date_time)
FROM time_table WHERE time_table_id=1
This provides the following results:
THE_DATE_TIME EXTRACT(TIMEZONE_REGION FROM the_date_time) EXTRACT(TIMEZONE_ABBR FROM the_date_time) EXTRACT(TIMEZONE_HOUR FROM the_date_time)
29-OCT-06 01.00.00.000000 AM US/EASTERN US/Eastern EST -5
The wrong time zone is in the database. It should be EDT -4. Let's test the SQL that should be generated by TopLink. It should look like the following.
Execute this SQL:
UPDATE time_table SET the_date_time = TO_TIMESTAMP_TZ('10/29/2006 01:00 US/Eastern','mm/dd/yyyy HH24:MI TZR') WHERE (time_table_id=1)
SELECT the_date_time, EXTRACT(TIMEZONE_REGION FROM the_date_time), EXTRACT(TIMEZONE_ABBR FROM the_date_time), EXTRACT(TIMEZONE_HOUR FROM the_date_time)
FROM time_table WHERE time_table_id=1
This provides the same results:
THE_DATE_TIME EXTRACT(TIMEZONE_REGION FROM the_date_time) EXTRACT(TIMEZONE_ABBR FROM the_date_time) EXTRACT(TIMEZONE_HOUR FROM the_date_time)
29-OCT-06 01.00.00.000000 AM US/EASTERN US/Eastern EST -5
Now, execute this SQL:
UPDATE time_table SET the_date_time = TO_TIMESTAMP_TZ('10/29/2006 01:00 EDT US/Eastern','mm/dd/yyyy HH24:MI TZD TZR') WHERE (time_table_id=1)
SELECT the_date_time, EXTRACT(TIMEZONE_REGION FROM the_date_time), EXTRACT(TIMEZONE_ABBR FROM the_date_time), EXTRACT(TIMEZONE_HOUR FROM the_date_time)
FROM time_table WHERE time_table_id=1
This provides better results:
THE_DATE_TIME EXTRACT(TIMEZONE_REGION FROM the_date_time) EXTRACT(TIMEZONE_ABBR FROM the_date_time) EXTRACT(TIMEZONE_HOUR FROM the_date_time)
29-OCT-06 01.00.00.000000 AM US/EASTERN US/Eastern EDT -4
The correct time zone is now in the database. Let's test reading this with the following Java:
System.out.println("cal= " + theDateTime);
System.out.println("date= " + theDateTime.getTime());
System.out.println("millis= " + theDateTime.getTimeInMillis());
System.out.println("zone= " + theDateTime.getTimeZone());
This provides the following results:
cal= java.util.GregorianCalendar[...]
date= Sun Oct 29 01:00:00 EST 2006
millis= 1162101600000
zone= sun.util.calendar.ZoneInfo[id="US/Eastern",...]
The TimeZone object is correct since we are using the US/Eastern regional time zone, but the millis are wrong which makes the time EST instead of EDT. The millis should be 1162098000000.
The conversion from java.util.Calendar to TIMESTAMPTZ loses the actual offset when setting to a regional time zone. It can maintain this info by specifying it explicitly.
The conversion from TIMSTAMPTZ to java.util.Calendar also loses the actual offset even if the correct offset is in the database.
Has anyone else encountered this conversion problem? It appears to be a conversion problem in both directions. I know that the Calendar is lenient by default and will assume Standard Time if time is entered during the repeated 1 o'clock hour at the end of Daylight Saving Time, but the Calendars we are using are explicit in their time, so this would be classified as data corruption.
NikOpened an SR. Looks like there is a problem with conversion either in TopLink or in JDBC.
-
SQL Developer 2.1.0.63 - Export Data menu missing for SQL Server databases
Hi
The Export Data menu only appears for Oracle databases in this version, it does not appear for SQL server databases.
To demonstrate:
Press F9 to run query
Right click on Query Result data
For Oracle an Export Data sub menu appears
For SQL server no Export Data sub menu appears
This worked in previous versions.
Is this functionality going to reappear?
Thanks
DaveHi,
Looks like this is exactly the same problem for third party connections as I have the exact same issue for mySQL.
I had to apply 1.5.5 version to fix it.
Hope we're going to have this solved !
Thanks,
JP
Maybe you are looking for
-
How to allow only part of users in AD login sharepoint?
We have a SP2013 farm using windows authentication. On the AD there are 10,000 user accounts and we have no edit permission on AD. (Hence, I cannot setup any group there) As the Sharepoint admin I only have a list of 1,000 users allowed to access. Th
-
Display no longer wakes from sleep after latest updates
G4 Quicksilver 933, nVidia Ti, 1.5GB, 20in Cinema Display I applied the latest updates that were pushed out recently (10.5.2 and the "Leopard Graphics Update") and now my Apple display will not properly come up when I wake the box from suspend. That
-
Recovery in progress may need access to files error
Dear all, I was shown the below error when trying to drop a tablespace TBS1. DROP TABLESPACE TBS1 INCLUDING CONTENTS; DROP TABLESPACE TBS1 INCLUDING CONTENTS ERROR at line 1: ORA-01156: recovery in progress may need access to files i donot have any b
-
HP Photosmart C6180 All-in-One won't print magenta or light magenta, even with new cartridges
The printer suddenly stopped printing magenta and light magenta. I installed new cartridges from LD, which have always worked in the past, but none worked. No error messages.
-
Hi,, I am expecting that I must use a different user ID to log in to each of 'HP Enterprise Business Community' and 'Consumer Support Forums.' However, I am logged in to both with the same user id. Then, how to get to my subcriptions I posted in eac