facebook

SQL Explorer Export Facility

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #214122 Reply

    i would liek a more robust export facility with the SQL Explorer. At a minimum, I would like to see the column headers as the first row of the “Copy to Clipboard” facility. Also, I would like to export either directly from the result pane to somethign like Excel or XML.

    #214134 Reply

    Riyad Kalla
    Member

    I will pass this along, thank you for the suggestion

    #214164 Reply

    bonevich
    Member

    By “more robust” can you give me more specifics. I will definitely add what you have here as an enhancement request and we will see what we can do – just would like as much detail as possible,

    #214180 Reply

    Although I like the “Copy to Clipboard” functionality, I need the ability to save it to a file as well. Also, when I perform either the the columns should be the first row of the data. If I had my druthers, either save it as an Excel type file [CSV or ; seperated like the Clipboard functionality] or XML so that I can read it into another app or in my case distribute it out.

    #214852 Reply

    support-jeff
    Member

    What do you know about that? The column header export is already there! You have to specifically enable it in the preference page. Go to Window -> Preferences -> MyEclipse -> Editors -> SQL and check the box that says “Export column names” and you are all set. I have left your other requests in bugzilla as enhancements. Maybe we will get to them, maybe not.

    #215195 Reply

    Thanks Jeff. This helps tremendously.

    #215813 Reply

    seade
    Member

    Just a few small enhancements to enable decent Excel style csv output would be great.
    – Support for a comma delimiter
    – If a column value contains the delimiter character then it should be surrounded by double quotes
    – If a column value contains double quotes then it should be surrounded by double quotes and double quotes within should be repeated (this might be Excel specific)
    – Formatting of dates (yyyy-mm-dd), booleans, etc. can be an issue

    Some great classes for dealing with CSV and Excel CSV files can be found at http://ostermiller.org/utils/CSV.html – I seem to recall an Apache commons component being not too far off being able to do this as well (most likely something in commons-lang).

    For xml (which I personally am less interested in) Apache Jakarta Torque provides a datadump (maven goal, ant target) for dumping data to xml (disclosure: I am a Torque committer) and I think db-unit might also do the same.

    Cheers,

    Scott

    #215903 Reply

    Ben Eng
    Member

    Jakarta POI works pretty well for writing Excel .xls files. The basic support seems to be there from what I’ve tried.

    #215905 Reply

    support-jeff
    Member

    Thanx for the pointers, folks!

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: SQL Explorer Export Facility

You must be logged in to post in the forum log in