SQL Developer 3.1.07 SDO_GEOMETRY export insert statements bug

Export table data with SDO_GEOMETRY column as insert statments not working properly.
Generated script:
+...+
+Insert into EXPORT_TABLE (ID,GEOMETRY) values ('1',[MDSYS.SDO_GEOMETRY]);+
+Insert into EXPORT_TABLE (ID,GEOMETRY) values ('2',[MDSYS.SDO_GEOMETRY]);+
+Insert into EXPORT_TABLE (ID,GEOMETRY) values ('3',[MDSYS.SDO_GEOMETRY]);+
+...+

As noted by Brian Jeffries (as in, "Will be available in next release") in these two other threads:
Re: Problem with displaying sdo_geometry objects
Re: SQL Developer 3.0.04 - SDO_GEOM Issues
-Gary

Similar Messages

  • 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?
    rasberry

    When you select 'table' the comments are generated 'automatically'.
    This is what you want?

  • 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.

  • BUG: SQL Developer 1.5.3 CSV export column order broken

    There's a bug in the 1.5.3 release of SQL Developer regarding data export. This bug re-orders the column order in the data export to be alphabetically sorted. This produces mangled CSV files if used on a table or a view.
    This is a critical bug to me since I need to produce lots of ad-hoc data CSV export files. I'm staying with SQL Developer 1.5.0.53 (53.38) for now as it doesn't have this problem.
    This is the same bug as present in Jdeveloper 11.1 as described in my post here: BUG: Jdev 11.1.1.0.0 -- DB table data export column order is not preserved
    Quoted from that post:
    When I connect to Oracle database, get the table list, right click on the table and select 'Export Data'->csv. The dialog box opens with three tabs: Format, Columns, Where. The column order displayed in both tabs Columns and Where is alphabetic. Because alphabetic ordering re-arranges columns from their initial ordering in the table, this screws up CSV export because columns are not in their intended order. This same problem occurs when I try to export data from views to generate a CSV file with a particular column order.
    Please open/check bug report if it's already open.
    Thanks!

    This happens with all of the export options for tables or views if you right click from the connections tab table list. If I pull it up in the main window and go to the data tab, I can then right click and it will keep the column id order for some of the views and tables. But not all.
    I am running 1.5.3 Build Main 5783 on a Windows XP Professional Service Pack 3 platform

  • Problem with single quote when exporting insert statement

    Hi
    I'm using Oracle SQL Developer 2.1.1.64 on Ubuntu 10.04. I got some records which has single quote in it.
    For example,
    Let says Table '*TABLE_A*' has varchar2 column called '*COL_A*'.
    And there is only one record in the table and the value is:
    his friend's dog name is dog.
    When I export that table data to insert statement, i got this:
    Insert into TABLE_A (COL_A) VALUES ('his friend's dog name is dog.');
    As you can see friend's is wrong, it should be friend''s instead. (note the double single quotes).
    Anyone knows how to fix this please?

    Yes - that's a bug. But probably not what you're expecting.
    Mind you really can't use "normal" SQL on LOBs, because they're just too big to fit in the statements.
    You should export and import them through e.g. the DBMS_LOB package.
    I do remember some request on the SQL Developer Exchange to automate this, so go vote there to add weight for future implementation.
    So the bug is that the column's fields should all yield NULL inside the INSERTs.
    Regards,
    K.

  • SQL Developer Data Modeler  "Reports"  Duplicate Columns in Index- Bug

    I am using SQL Data Modeler of SQL Developer - 3.2.20.09
    Problem Description:
    In the "Indexes" section of report generated for a table, column appear twice.
    Steps to Reproduce:
    1. Create an Entity in Modeler: COMPANY, Add attributes COMP_ID and COMP_DESC to it, mark COMP_ID as PK
    2. Engineer it to Relational Model
    3. Go to 'File->Data Modeler->Reports'
    4. Select 'Available reports' = 'Table' and press 'Generate Report'
    5. View the report.
    Indexes shown for the table contains duplicate columns for COMP_ID
    Regards,

    Hi
    I've just tested with SQL Developer 3.2.20.09 and built in Data Modeler 3.1.4.710 with Data Modeler reports 11.2.0.09.87
    There is no duplicate columns for COMP_ID in the report.
    What are your versions? You can check them from Tools->Preferences->Extensions

  • SQL Developer 2.1 Disable Automatically Check for Updates bug?

    Unchecking the "Automatically Check for Updates" under Preferences -> Extensions in version 1.5.5 to disables the prompting for proxy ID and password at SQL Developer startup. Unfortunately I am trying version 2.1 on Windows XP and unchecking this option under Extensions is having no affect. It is still prompting for proxy ID and password every time I start SQL Developer. This is extremely annoying.
    Is this a known bug with 2.1?
    Mike

    I get that prompt for a Proxy as well. If I can download SQL Developer 2.1 without a Proxy then why am I prompted for one when I am checking for updates?!?
    I have to uncheck the Proxy and uncheck check for Automatic Updates.
    Even if I tried to use the default proxy it does not exist (I tried pinging emeacache.uk.oracle.com and it just times out and there is no DNS record either).
    I have been able to finally get a few updates but still have problems with getting the JTDS and MySQL updates. I am wondering if there is a problem with Oracle's websites that are trying to be contacted to download these updates. I think Oracle's Check for Updates Wizard still has bugs that need fixing. I have had these problems not just with this new 2.1 but with previous versions as well.
    I hope Oracle fixes their buggy Check for Updates Wizard or the web sites that are being contacted for the updates because this is very frustrating.

  • 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
    Dave

    Hi,
    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

  • SQL Developer 2.1 - Autotrace not only explain statement but executes it

    I need old behaviour when statement was only explained and not executed. I am optimizing sql updates, merges and inserts on tables with 50M rows and it gets me angry if SD executes the statement. I found a workaround by using explain plan for ..., but I think that such a tool as SD is should give me an option to configure the Autotrace functionality (I even tried to setup what should be returned as a result of auto trace in menu Tools/Preferences/Database/ Autotrace/Explain plan , but it always executes the statement).

    Don't know if I get what you're asking.
    Explain plan: F10, Autotrace: F6.
    Autotrace logically executes the statement (RTM), Explain doesn't.
    If you get other behaviour, please explain yourself better.
    Hope that helps,
    K.

  • How to import/export data in pl/sql developer

    how to import/export data,table script in pl/sql developer.
    By using the export functionality i am getting the dump file.I want a sql file.How do i do it?
    And i want the data in csv file and table script in a sep sql file.How do i do it?

    <li>run your query in "Query Builder"
    <li>Right-Click on the Query-Results
    <li>Click "Export"
    <li>Click on the "Drop-Down" in front of "Format" and choose "insert"
    <li>Provide the location and name of ther "sql" file.
    If you want output in CSV format, choose "csv" from the "format" drop-down.
    HTH

  • SQL Developer 2.1.0.63.73 exports DATE as TIMESTAMP

    I believe this is a bug. When I export a table to an XLS file, the values contained in DATE columns are saved as if they were TIMESTAMP:
    eg. 31-DEC-09 12:00:00 AM would export as 31-DEC-09 12.00.00.000000000 AM
    Not really a huge deal until you try to import it back in, in which case you can't import a TIMESTAMP into a DATE column. First, you'll get an error about the AM/A.M. or PM/P.M. missing. You can't explicitly specify the date format during the import either as Oracle rejects it since it's not supported. The proper way is to cast it back to a date, but you can't do that through the import function.
    Regardless, I think the export function should export DATEs according to the Date Format NLS settings but it is not.
    If it makes any difference, I'm using the 64-bit Windows version of SQL Developer on Windows 7 64-bit with the Oracle 64-bit client.

    Hi,
    Not sure if this is something related to my previous problem.
    My SQL Dev gives the correct date format on exporting to Excel, but fails on export INSERT statement
    Vasan, one of the sql dev's team member, gave this workaround which solved my problem
    >
    You can add the following in the sqldeveloper.conf to ensure that the driver doesn't report the column type of a DATE column as TIMESTAMP.
    AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
    >
    as suggested in this thread
    Re: 2.1 EA1: Problems on Date type columns
    Hope this help,
    Buntoro

  • SQL Developer not migrating Sybase data

    Hi,
    I am trying to migrate data using the SQL developer tool from a Sybase database to Oracle 11g. When using the Migration Repository, I am able to recreate the schema but am not able to export the database content. (i.e. Not able to do the Data Move). I tried doing a Offline migration but the generated datamove files does not have any content. Anyone aware of any issue with the data migration tool with SQL developer ?
    I have tied exporting data from the table directly to generate SQL inserts but even this is not helping. Any suggestions ?
    Regards,
    Nelson

    Hi Nelson,
        Could you detail the exact steps you followed and what options you chose at each of the panels in the migration steps ? this will help to see where you may be having problems.
    Regards,
    Mike

  • Just downloaded SQL Developer today, need help copy data

    How do I import data from Oracle XE to an Oracle server by using SQL Developer?

    Probably a better option would be use the export and import utilities provided with the database.
    From within SQL*Developer you can export data as either a csv file (and then use sql*loader to load it), or as insert statements which you can run in in either sql*developer or sql*plus.
    To export data in sql*developer, right-click on a table or a result set.
    Search for Export Table Data in the help system

  • GeoRaptor Release 2.1.1 (Build 3) Available for SQL Developer

    Folks,
    On 7th July the GeoRaptor development team released version 2.1.1 Build 3 into the public domain.
    It can be downloaded from:
    http://sourceforge.net/projects/georaptor
    This release has a very large list of functional additions and enhancements. A summary of these can be read at the GeoRaptor wiki:
    http://sourceforge.net/apps/mediawiki/georaptor/index.php?title=Main_Page
    For example, now you can run VALIDATE_GEOMETRY_WITH_CONTEXT and actually have GeoRaptor take you to the errors that are described in the error string that the Oracle function returns! There may be other tools that do this, but I do not know of them: just this functionality would justify the expense of buying GeoRaptor if you had to pay for it, but you don't!
    Please download the release from our central site and recommend it to other users of SQL Developer and Spatial.
    Also, if you find bugs (a bug in the handling of null geometries in the validate geometry menu has already been fixed - no patch is available as yet for this) or want to request enhancements please visit the GeoRaptor SourceForge page and enter your bug/enhancement request.
    Finally, GeoRaptor is an open source development project. If you want to join and help in any way (not just programming), just let us know.
    regards
    Simon

    Hi,
    The original GeoRaptor had some documentation but it has not been updated.
    It is a task on the development list but it has a low priority next to the developments we have planned for the next release. (The main ones being the ability to map the whole, or part, of a SELECT statement executed in a SQL Worksheet - including export to shapefile; the addition of multiple SRID-aware Views to enhance the current single, SRID-unaware view; length/area tools; line and polygon selection tools.)
    The attribute and geometry tabs in the pane in the lower half of the spatial view will appear when an "identify" operation is executed and selected data exists.
    The split into attribute and geometry tabs was done to better control the visualisation experience of a user. The original Geometry tab displayed a single geometry in a non-standard way and allowed a user to drag select ordinates which could then be mapped. The button should have been removed in build 3 but it wasn't. It will probably do nothing. Perhaps in the next release we might replace the button with an ability to select and individual geometry, highlight it and show its points or even show elements in a multi-element geometry eg show me inner ring 2 in the first outer-ring of a multi-polygon. Don't know. If anyone wants this type of functionality register an enhancement request on the sourceforge GeoRaptor website.
    Remember, GeoRaptor is an open source, community driven tool. If you want to help by writing documentation eg a simple one page wiki page on how to validate geometry etc (it doesn't have to be a whole manual), or contribute code, let us know. Or if you simply like the tool or want an enhancement, let us know.
    It is hard writing a tool in the vacuum of one's own experience (no matter how considerable that might be) in a land far, far away (I live in Hobart, Tasmania, Australia), to let us know how we are going......
    regards
    Simon

  • SQL Developer 3.0 EA1 - Query Result assumes keyboard focus

    In the Early Adopter 1 release of SQL Developer and noticed that after running a statement in a worksheet the focus for the keyboard is now in the query results pane. This change in behavior from version 2 is slightly disruptive and makes it harder to iteratively build queries or search for data without having to continuously keep moving the cursor back to the worksheet. I am using the linux version if it makes a difference and it happens both when click the run statement button or use the ctrl+enter shortcut key.
    I have been trying out the preview release and all around it looks good and has some very nice improvements. Just this and the missing export to clipboard are the only issues I've had so far.
    Edited by: user5490329 on Oct 14, 2010 9:06 AM

    I agree with the majority of people here that this is annoying and I'd also prefer to leave the input focus in the SQL Worksheet after I hit CTRL+ENTER, so I am looking forward to the fix.
    However, in some cases, it would come in handy if there was a shortcut key to quickly get to the query result tab, just like in TOAD, where F6 is used for this purpose. The same key is reserved for autotrace in SQL Developer, so another function key could be used.

Maybe you are looking for

  • Problem in customer correspondence request

    Hi All, For a customer, in FBL5N, I go to environment>Correspondence>Request. Then I go to Display. The form is displayed. When I want to come back, there are 2 errors FB815 - Possibly errors due to doc.reorg.in co.code XXX acct type D acct XXXXX ; c

  • Writing an ALSA Renderer for Linux

    Hi, I want to write an ALSA Renderer for Linux because I have problems with the JavaSoundRenderer in Linux and I really need a fast Audio Renderer for my app. What I need is a short tutorial for ALSA that shows how I can play sound with it. If you kn

  • HT1177 how to restore itunes library?

    after reinstalling computer's system i can not restore the itunes library. in the capsule i can find specific song or album but dont find the way to the library. any body?

  • Send to fcp

    When I send my grade back to fcp it sits the blacks up by about 10%, any ideas. I sent uncompressed rgb from fcp timeline, footage was sat up but this was graded out in colour. Checked the settings when it came back timeline still uncomped rgb. When

  • Just installed FF 4 in Win 7. Why does it take a full minute to open?

    This was also true for FF 3.17. Some times it doesn't open at all, and I have to open the Task Manager and stop the FF process to get it to open.