Exported CSV files are locked by Oracle SQL Developer 2.1.0.63

Whenever I export my query result into a CSV file, the resulting file is always locked for editing by Oracle SQL Developer 2.1.0.63.
Have anybody encountered the same problem? Do you know how can I report this as a bug to Oracle?
Thanks,
Adrian Wijasa
Banner Programmer/Analyst
College of St. Benedict/St. John's University MN
[email protected]

I got it too if I left SQl Developer open then go to Excel to edit my CSV - got message 'table_export.csv is locked for editing by another user'. If I close SQL Developer then open the file, it works. Seems SQL Developer's holding onto the file after creation.
Bugs are being reported in this forum.
Evita
Edited by: Evita on Jan 8, 2010 12:53 PM

Similar Messages

  • Extract Siebel Tools sse_data.dbf file into Oracle Sql Developer.

    Hi All,
    I have Siebel tools installed on my machine and I need to export the sse_data.dbf file from tools to Oracle Sql Developer, how do I do that? Any help would be much appreciated. Thanks
    Edited by: user11919275 on May 17, 2010 4:20 AM

    Hi,
    There's a tool named dbisqlc.exe which comes with default Siebel Tools installation. You can execute DML statements by using this tools. Actually dbisqlc.exe and sqldeveloper are both client tools for executing SQL statements.
    What do you want to do by exporting the local dbf? Can you please explain your requirement?
    Regards
    Cuneyt

  • Oracle SQL Developer Data Modeler start up error

    Hi All,
    I just downloaded Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009] by selecting the option "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE)"
    After I installed the same and tried to run it by clicking datamodeler.exe, I get the following error message
    "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
    On the same machine I can successfuly run the Oracle SQL Develper with no errors. My machine is having Windows XP Professional SP3.
    Any ideas? If there was a problem with Java, than the Oracle SQL Developer should also not run. But as stated it runs with out any error but the Oracle SQL Developer Data Modeler gives the above error.
    Regards,
    JAA149

    1 - The above problem has nothing to do with the memmory. I tried on a 400 MB RAM, 900 MB RAM, 1.5 MB RAM & 2 MB RAM with the same arror.
    "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
    http://i30.tinypic.com/9vkwf6.jpg
    2 - There are two "datamodeler.exe: files
    One is at D:\datamodeler\datamodeler.exe
    2nd is at D:\datamodeler\bin\datamodeler.exe
    The same error occurs with both the files.
    3 - The Oracle SQL Developer Data Modeler version is "Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009]" and the file I downloaded is "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE) - (57M)"
    If I look in "D:\datamodeler\jdk\jre\README.txt" I find
    "Java(TM) Platform, Standard Edition Runtime Environment Version 6"
    If I run "D:\datamodeler\jdk\jre\bin\javacpl.exe" I get
    http://i30.tinypic.com/mt8ocn.jpg
    If I run "D:\datamodeler\jdk\jre\bin\jureg.exe" I get
    http://i28.tinypic.com/30boiyo.jpg
    If i check at the control panle add/remove program
    http://i30.tinypic.com/1428tba.jpg
    If I go to "http://www.java.com/en/download/manual.jsp" and download "jre-6u16-windows-i586-s.exe" and run it.
    If I go to "C:\Program Files\Java\jre6" I find the same files as in "D:\datamodeler\jdk\jre"
    I am able to run Oracle SQL Developer with out any kind of error let alone the above one. But with Oracle SQL Developer Data Modeler I get the above mentioned error no matter what I try.
    As the error states "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll". The file "jvm.dll" is located at two places. One at "D:\datamodeler\jdk\jre\bin\client\jvm.dll" and the second at "D:\datamodeler\jdk\jre\bin\server\jvm.dll"
    A similiar problem occurs with JDeveloper with the fllowing solution
    http://forums.oracle.com/forums/thread.jspa?threadID=506339&start=0&tstart=0
    Which states the following
    "hello!
    in the problem with JDeveloper i have a solution. The jdk have a file jvm.dll in the path: jdk/jre/bin/client/jvm.dll this is the problem ... now in the path:jdk/jre/bin/client/ojvm has a file with the same name if you copy and paste this file to the another path, now its works fine your Jdeveloper.
    Jdeveloper use two files to jvm.dll to work one in the folder /client and other in /server copy the same file to the two locations for precaution
    for me work fine thanks..."
    I tried to do the same (Copy from client folder to server folder)
    D:\datamodeler\jdk\jre\bin\client\jvm.dll
    COPIED THIS FILE TO
    D:\datamodeler\jdk\jre\bin\server\jvm.dll
    Nada. So I reversed it (copied from server folder to client folder)
    D:\datamodeler\jdk\jre\bin\server\jvm.dll
    COPIED THIS FILE TO
    D:\datamodeler\jdk\jre\bin\client\jvm.dll
    Does not work. So I tried another solution stated at the same forum entry
    "Well,
    i solved the problem by this way :
    <SQLDEVELOPER>/jdev/bin/ide.conf
    In this file, change this line :
    AddVMOption -Xmx512M
    by
    AddVMOption -Xmx256M
    Now, the executable is lauching correctly. No more errors with Java Virtual Machine.
    But is it a good thing to solve it like that ?"
    But the ide.conf file is only at "D:\sqldeveloper\ide\bin\ide.conf" which is for the SQL Developer and not the SQl Developer Data Modeler
    Correct me if I am wrong but
    JRE = Java Run Time Envoirment
    JDK = Java Development Kit
    And Oracle SQL Developer Data Modeler needs JRE and not JDK. In any case I download JDK
    jdk-6u14-javafx-1_2-windows-i586.exe (121,306 KB) and installed it but no succcess.
    I tried every thing except completely re-install my whole PC.
    Any help will be much appreciated.
    Cordially,
    Jawad

  • Version 2.1.0.63 - export data file is locked

    I followed the tutorial for Getting Started with Oracle SQL Developer - Adding Data to a Table
    After adding a total of 5 rows to the newly created table: DEPENDENTS I followed the instructions to export to a .csv by right clicking on a cell and exporting to a file e.g. C:\DEPENDENTS.csv
    Although I can find the file, I can't open it with Excel 2003 - I tried disconnecting from the User HR and SQLDeveloper appears to hold a lock on the file.
    If I quit SQLDeveloper I can open the file in Excel - otherwise I get a message file C:\DEPENDENTS.csv is locked for editing, by 'another user' e.g. SQLDeveloper.
    I would expect the file to be created and be available for immediate use.
    Kind regards
    Simon
    Edited by: user626089 on 18-Feb-2010 05:15

    Has been reported several times and will hopefully be fixed in the upcoming patch.
    Regards,
    K.

  • Urgent Help !!!  Export data into insert format (Oracle Sql developer)

    Hi all,
    Please help , when i try to export ms access table which have 400,000 over rows to insert format using oracle sql developer 1.5.5. After the export have done the exported file xxx.sql is empty.
    Is it because of too many rows? or what tool or function should i use for exporting table with many rows.
    It used to have exported successfully with
    Insert into table( ) values ();
    Insert into table( ) values ();
    Insert into table( ) values ();
    Insert into table( ) values ();
    ----- when i try to export table with over 10,000 row.
    Regard,
    Tun

    Another option is to export your file as Formatted text (space delimited). This will create a fixed format file. You can either create an external table to access the file or use sqlloader to load it. In your control file or access parameters you will specify the positions of the fields you are interested in. Your control file will look something like this:
    OPTIONS (BINDSIZE=50000,ERRORS=50,ROWS=200,READSIZE=65536)
    LOAD DATA
    CHARACTERSET US7ASCII
    INFILE '/home/FIXED_FORMAT.dat' "FIX 58"
    CONCATENATE 1
    INTO TABLE "EMP2"
    APPEND
    REENABLE DISABLED_CONSTRAINTS
    "ID" POSITION(1:2) INTEGER(2) ,
    "REGION" POSITION(3:3) INTEGER EXTERNAL(1) ,
    "DEPT" POSITION(4:6) INTEGER EXTERNAL(3) ,
    "HIRE_DATE" POSITION(7:14) DATE(8) "mmddyyyy" ,
    "SALARY" POSITION(15:19) DECIMAL(9,2) ,
    "NAME" POSITION(20:34) CHAR(15)
    SQLDeveloper does not currently provide an option to import fixed format files.

  • How to import *.dmp file Through Oracle SQL Developer (3.2.20.09)

    hi
    how to import *.dmp file Through Oracle SQL Developer (3.2.20.09) ?
    how to do it ?
    thanks

    You do not.
    .dmp files are created from our Export and Data Pump database utilities and are proprietary files. You use the corresponding Import (or Data Pump) utility to import the data.

  • Oracle SQL Developer freezes and locks up computer randomly

    I attempted to find a solution to this before posting. I looked through the first 40 pages of this forum and on Google, through the Developer documentation, etc. with no luck.
    The problem: while using Oracle SQL Developer, the computer randomly freezes. Things work, but it hangs too often and for too long to use. This is random - it can happen every 10 seconds or every 2 minutes. The mouse will lock up, and the keyboard buffer will get all messed up. For instance, if it happens to freeze while I'm hitting "backspace", it will delete many lines of text (I've lost a bit of work because of this in the past). The freezing will last about 2 to 20 seconds, and the only way out of it is to ctrl+alt+delete and kill SQL Developer.
    If SQL Developer is running, and I'm in a different window - it will freeze the other windows as well. Again, it's impossible to use unfortunately. My coworker doesn't have the same problem, and he's connecting to the same database with the same version using Windows Vista. It must be something on this computer. I reformatted about 1 month ago, so it's a pretty fresh install and I haven't installed much of anything yet.
    I'm using Windows Vista Enterprise 32-bit w/SP1.
    This was occurring with older versions of SQL Developer (1.2). I'm using the newest install that included the Java JDK. I've completely removed Java, my Oracle installs, and a host of other attempts to fix this, and nothing changes. I've tried running the .exe in the bin directory as administrator as well.
    Currently using Oracle Developer 1.5.1.54.40.
    Any ideas?

    I tried dumping the contents, but the java dump wasn't showing anything at all, and it would never freeze while I had the console window in focus, so it wasn't very helpful unfortunately.
    I fixed this issue by uninstalling the Java runtime on this machine and installing the Java JDK 6 Update 7 from java.sun.com/javase/downloads . I then downloaded the SQL Developer 1.5.1 version without the Java runtime included, and pointed it to the Update 7 .exe file upon first load.
    I was using JDK 6 Update 6 previously, and it must have been behind the errors. Note that the Update 7 has to be downloaded from that website as it's a new version that hasn't been posted on the regular java.com site yet.
    Message was edited by:
    user645599

  • SQL server 2014 and VS 2013 - Dataflow task, read CSV file and insert data to SQL table

    Hello everyone,
    I was assigned a work item wherein, I've a dataflow task on For Each Loop container at control flow of SSIS package. This For Each Loop container reads the CSV files from the specified location one by one, and populates a variable with current
    file name. Note, the tables where I would like to push the data from each CSV file are also having the same names as CSV file names.
    On the dataflow task, I've Flat File component as a source, this component uses the above variable to read the data of a particular file. Now, here my question comes, how can I move the data to destination, SQL table, using the same variable name?
    I've tried to setup the OLE DB destination component dynamically but it executes well only for first time. It does not change the mappings as per the columns of the second CSV file. There're around 50 CSV files, each has different set off columns
    in it. These files needs to be migrated to SQL tables using the optimum way.
    Does anybody know which is the best way to setup the Dataflow task for this requirement?
    Also, I cannot use Bulk insert task here as we would like to keep a log of corrupted rows.
    Any help would be much appreciated. It's very urgent.
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

    The standard Data Flow Task supports only static metadata defined during design time. I would recommend you check the commercial COZYROC
    Data Flow Task Plus. It is an extension of the standard Data Flow Task and it supports dynamic metadata at runtime. You can process all your input CSV files using a single Data Flow Task
    Plus. No programming skills are required.
    SSIS Tasks Components Scripts Services | http://www.cozyroc.com/

  • First Row Record is not inserted from CSV file while bulk insert in sql server

    Hi Everyone,
    I have a csv file that needs to be inserted in sql server. The csv file will be format will be like below.
    1,Mr,"x,y",4
    2,Mr,"a,b",5
    3,Ms,"v,b",6
    While Bulk insert it coniders the 2nd column as two values (comma separte) and makes two entries .So i used filelterminator.xml.  
    Now, the fields are entered into the column correctly. But now the problem is, the first row of the csv file is not reading in sql server. when i removed the  terminator,  i can get the all records. But i must use the above code terminator. If
    am using means, am not getting the first row record.
    Please suggests me some solution.
    Thanks,
    Selvam

    Hi,
    I have a csv file (comma(,) delimited) like this which is to be insert to sql server. The format of the file when open in notepad like below:
    Id,FirstName,LastName,FullName,Gender
    1,xx,yy,"xx,yy",M
    2,zz,cc,"zz,cc",F
    3,aa,vv,"aa,vv",F
    The below is the bulk insert query which is used for insert above records,
    EXEC(BULK INSERT EmployeeData FROM '''+@FilePath+'''WITH
    (formatfile=''d:\FieldTerminator.xml'',
    ROWTERMINATOR=''\n'',
    FIRSTROW=2)'
    Here, I have used format file for the "Fullname" which has comma(,) within the field. The format file is:
    The problem is , it skip the first record (1,xx,yy,"xx,yy",M) when i use the format file. When i remove the format file from the query, it takes all the records but the "fullName" field makes the problem because of comma(,) within the
    field. So i must use the format file to handle this. So please suggest me , why the first record skipped always when i use the above format file.
    If i give the "FirstRow=1" in bulk insert, it shows the "String or binary data would be truncated.
    The statement has been terminated." error. I have checked the datatype length.
    Please update me the solution.
    Regards,
    Selvam. M

  • Oracle SQL Developer - File, Open , File Name Not Accept UNC Path Form

    In Oracle SQL Developer, at least the File, Open (Dialog's), the File Name (if not all File / Directory Name) Text Box(es) is (are) not accepting, at least for me, the UNC Path Form of Folders on Network Servers. The same UNC Path (or UNC Paths in general) works in the File / Directory Name Text Box of every other Windows App I've tried (from Windows 95 to Windows 7). Is there a way to do this? If not, was it intentional and where can I suggest this as a fix / enhancement?
    I'm using Windows XP w/ SP3.

    DUH! I figured out what happened. In my first search, I searched (using "Actions", "Filter", "Column" option) for "Title Contains 'UNC'" which didn't find anything because the single-quotes were considered literals (which isn't consistent with the "Row" option or with the technical SQL syntax one would expect given technical operators like "!=", pffft, "!="??? Really???). Then, all subsequent searches returned nothing, because all previous searches are combined with implied "And" Operators until you select "Actions", "Reset" (which isn't consistent with any Web / Desktop App search feature I've ever seen). Don't get me wrong. The latter is a great feature. It just needs to be documented better.
    It probably wouldn't hurt to: a) include easily visible tips on whether single / double quotes are needed and b) show an "And" Operator in front of each previous search listed so people won't mistake it for simply a Search Criteria History vs. Current Search Criteria, oh and add a heading that labels it as, oh, IDK, "Current Search Criteria", maybe? IDK, call me crazy (or just another stupid user posing as a developer with 16 years experience ;).

  • How to insert data from *.dmp file to  oracle 11g using Oracle SQL Develope

    hi
    i backup my database using PL/SQL developer and made *.dmp file
    how to insert data from *.dmp file to oracle 11g using Oracle SQL Developer 2.1.1.64
    and how to make *.dmp file from sql*plus ?
    thanks in advance

    Pl/Sql developer has a config window, there you choose the exec to do the import/export.
    Find it and his home version, it may be exp or expdp, the home version is the version of the client where the exp executable is.
    Then use the same version of imp or impdp to execute the import, you do not need to use Oracle SQL Developer 2.1.1.64. If you want to use it, you must have the same version in the oracle home that exp/imp of sql developer use.

  • Oracle SQL Developer  error - "The file-based source procedure Name is not present in the database."

    I recently started working on the Oracle SQL developer. I have 'select' privileges on the QA schema and when tried to execute proc in QA. It is giving the error as 'The file-based source <procedure Name>  is not present in the database.  Was it compiled?'
    instead 'you do not have sufficient privileges to execute this procedure'. Did research on internet but with no luck.What configuration changes needed to be done to make it work.Guide me.

    Sounds like you do not have the correct privileges.  What should have been granted to you by the QA user, or some other user with appropriate privileges, is...
    grant EXECUTE on "QA"."<PROCEDURE_OF_INTEREST>" to "<YOUR_USERID>" ;
    Note that a grant of execute on a procedure has nothing to do with grants of select on some or all of QA's tables and views.
    So, as Vadim suggests, from your connection node in SQL Developer's Connections view, if you expand the Other Users node, then expand QA and look in the Procedures node, do you see the procedure of interest?  If not, you cannot expect to be able to execute it from your userid's connection. And even if you do see it, you may have some other privilege that permits viewing but not executing, like...
    The role SELECT_CATALOG_ROLE
    The system privilege SELECT ANY DICTIONARY
    And even if you do not see it there, then having certain other privileges granted to you could permit executing it in general, like...
    The role EXECUTE_CATALOG_ROLE
    The system privilege EXECUTE ANY PROCEDURE
    Also, note that the 3.0 release is a bit dated nowadays. Upgrading to 4.0.3 production or even the 4.1 EA2 (early adopter) release will, in general, give you a better experience.
    Best wishes,
    Gary

  • All files are locked, a new entry in permissions and more

    Following instructions from here on how to try to correct another issue, I was repair permissions and to boot in safe mode. Since then all kinds of things are messed up.
    I had to reset PRAM because the home and boot screens were were all stretched out of whack (this situation has occured once before shortly after getting this new machine)
    EVERY SINGLE DATA FILE created prior to this safe mode is now LOCKED. EVERY ONE!!!!!!  If I try to save any file so far I have tested, I am told the file is locked and I do not have permissions. My user mode didn't have administrative control before, but I changed that because unlocking everything to use it was more complicated having to enter the username and password. New files created are also locked. However, a new Pages file I have tested shows locked but it will save to the same file with a CMD-S.
    Having to unlock files to save work in them really slows work. Apple not allowing Save As on Apple apps is getting really tedious. I tried with a non-Apple app (PhotoShop) and its files are locked after creation. This means I have to unlock every stupid file before I can save it, then it relocks If I go into Get Info to unlock the file, as soon as i close that window, the file shows locked when I do a new Get Info. This is not a good user experience!!!!!!!!!!!!!! I have hundreds of thousands of files used in publishing, graphics, photos, and music. I tried to save an existing Photoshop file back to the Desktop and was told I could not save because was locked - that I needed to unlock the file or enclosing folders. When Photoshop closes it says can't save Preferences because file is locked.
    If I unlock the Sartup drive it relocks as soon as the Get Info window closes.
    In Sharing and Permissions the user called Everyone has a custom settings and some files even have two Everyone entries. Newly created files have had the User with Read & Write and Staff and Everyone with Read Only. My user folder Get Info shows locked with the user, staff and everyone with Read & Write permmissions. If I unlock in Get Info it reverts to locked after I close the Info window.
    Safari opens to the same page on this forum where another problem was discussed. I have reset selected items in Safari that I thought might have caused this, but no change.
    Pages keeps opening a page that was thrown in the trash and is not even on the computer (at least doesn't show in the finder),
    Numbers keeps opening a file that was opened and saved days ago.
    iDVD will open the same project each time, even if something else has been worked on since.
    I have cleared recent entries in these programs and the field keeps coming back when I open again.
    I unchecked  the Restore windows when quitting option in General Sys Prefs and when I open it again it is checked. I know that Lion will reopen a page if I quit without closing the window first. Now, at least with Apple apps, the same file opens now whether it exists or not as well as the new file I am opening by clicking on it.
    I have run permissions check in Disk Utility several times.
    It seems that it is affecting Apple apps that remember where there were last and the visiting history.
    Autosave on apps other than Apple can't save because the files are locked and I get error messages.
    iPhoto files saved on a firewire drive are also show locked but testing on a duplicate file, I found I can edit with PhotoShop and it will save the changes.
    With Finale, it has saved the files, even though locked. The odd thing is that in the finder it shows the correct creation and modifided dates, but it shows an old last opened date. Pages documents show all three with correct dates/times.
    I suspect there is at least one if not more Pref plist files that needs to be fixed, but I have now idea where to start.

    HI,
    Make sure you are logged in as the admin user.
    Right or control click the MacintoshHD icon then click: Get Info
    At the bottom of the Get Info window, click the gold padlock icon. You will be prompted for your admin password.
    Under Privilege where you see: Read & Write "toggle" the arrows to set your permissions for system / admin etc.
    Close the Get Info window.
    Carolyn

  • How to use Oracle SQL Developer 4.0 to connect to Ms Access file with .accdb extension

    Hi all,
    I am using Oracle SQL Developer 4.0 and Ms Access 2013 under Windows 7 (64 bits)
    After browsing and selecting MS Access file with accdb extention, I got  an error message  :[Microsoft] " Data source name not found and no default driver specified".
    On Administravitve Tools=> ODBC Data Source Administrator=>Drivers I have                                                File                                date
    Name :                                                                               Version
    Microsoft Acess Driver (*.mdb, *accdb)                                 12.00.4518.1014                                        ACEODBC.DLL                    26/10/2006
    Would you please advise?
    Thank you very much in advance

    That MS Access driver is 64-bit, I think.  If SQL Developer, or JDK is 32-bit you need to use the 32-bit driver.   You can see if you have a 32-bit driver installed using  c:\windows\system32\odbcadm32.exe

  • SQL server 2014 and VS 2013 - BuilInsert task - truncate a field data of a CSV file and insert it to SQL table.

    Hello everyone,
    To move data from roughly 50 CSV files in a loop to SQL tables (table per CSV file), I've used BulkInsert task in For each loop container.
    Please know, for all different columns of all CSV files, the filed length was specified as varchar(255).
    It worked well for the first 6 files but on 7th file, it has found the data in one of the columns of CSV file, which exceeds the limit of 255 characters. I would like to truncate the data and insert the remaining data for this column. In other words, I would
    like to insert first 255 characters into table for this field and let the package execute further.
    Also, if I would use SQLBulkCopy in Script task, will it be able to resolve this problem? I believe, I would face the similar problem over there too. Although, would like to get confirmation for the same from experts.
    Can you please advise how to get rid of this truncation error?
    Any help would be greatly appreciated.
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

    Hello! I suggest you add a derived column transformation between Source and Destination, use string functions to extract first 255 characters from the incoming field and send this output to destination field, that ways you can get rid of these sort of issues.
    Useful Links:
    http://sqlage.blogspot.in/2013/07/ssis-how-to-use-derived-column.html
    Good Luck!
    Please Mark This As Answer if it solved your issue.
    Please Vote This As Helpful if it helps to solve your issue

Maybe you are looking for

  • HI every body

    can anyone give step by step  instruction for configuring ALE/IDOC with the t-code 'SALE'

  • Stop billing(sales) for a particular storage location.

    Dear experts,           How can we stop billing to the customers completely for a particular storage location. please suggest... thanks in advance. Regards

  • Document is Blank After opening

    I have downloaded the trial version to use until I get a proper license. I switched from FM 10 to FM 11. However, opening a document in FM11 whether it is from a FM11 template or a previous document in FM 10 displays only a blank document. If I click

  • Installing windows 7 from USB to vaio VPCf13

    hi all, the HD of my vaio broke, so I replaced with a SSD and I was trying to install windows 7 from a USB. after the first step of the installation, I got this message: A required CD/DVD drive device driver is missing I tried several tricks suggeste

  • Update to Snow Leopard & Mavericks?

    Hi, so I own a 2007 iMac (Aluminum). It had 1GB if RAM i believe. It was upgraded to 2GB. I already ordered snow leopard from the apple store and should be here any day. I'm just wondering if its a good move. It is currently running 10.4.11 and some