Export to csv gone in SQL Server queries in 2.1

In 1.5 I could save the output from SQL Server queries to a CSV or XLS file.
The entire option is now gone.
This is very important to our organization

Based on Re: How export result in sybase in SQL Developer 2.1 ? and Re: SQL Developer 2.1.0.63 - Export Data menu missing for SQL Server databases it looks like this was intentionally removed (for some reason not given) and will not be back in the short term (or longer, depending on what Barry meant by "this release" back in the time of 2.1's release candidate version). Short of using something like "select all in the results tab, copy, paste into Excel, save as CSV" (relatively painful and subject to Excel interpreting text as numbers or dates instead of text), the simplest would probably be to revert to 1.5.
theFurryOne

Similar Messages

  • Loading a CSV file to Sql Server

    Hi,
    How can i load a csv file, which is in a shared location itn osql using bods.
    Where can i create the data source pointing to csv file

    Hi,
    Use fileformat to load CSV file into SQL server, below the details
    A file format defines a connection to a file. Therefore, you use a file format to connect to source or target data when the data is stored in a file rather than a database table. The object library stores file format templates that you use to define specific file formats as sources and targets in data flows.
    To work with file formats, perform the following tasks:
    • Create a file format template that defines the structure for a file.
    • Create a specific source or target file format in a data flow. The source or target file format is based on a template and specifies connection information such as the file name.
    File format objects can describe files of the following types:
    • Delimited: Characters such as commas or tabs separate each field.
    • Fixed width: You specify the column width.
    • SAP transport: Use to define data transport objects in SAP application data flows.
    • Unstructured text: Use to read one or more files of unstructured text from a directory.
    • Unstructured binary: Use to read one or more binary documents from a directory.
    More details, refer the designer guide
    http://help.sap.com/businessobject/product_guides/sbods42/en/ds_42_designer_en.pdf

  • Best way to import csv file into sql server

    Hello DBAs
    always thankful for your help and one question, what is the best way to import a csv file into sql server ?

    and there is a
    Bulk Insert Task for the Control Flow.
    http://www.youtube.com/watch?v=ACuCU6IqO50
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Export to Excel Error in SQL Server 2014 Report Builder/Viewer

    Hi,
    I am using the 2014 version of ReportViewer in a WinForm to display an RDL report.
    The report was originally created in Report Builder 2.0 (SQL 2008 R2), but has since been edited in Report Builder 3.0 (SQL 2014).
    The report loads and displays OK, and even exports to Word and PDF. But when exporting to Excel and then opening the Excel document, the following error occurs:
    "We found a problem with some content in <filename>. Do you want us to try and recover as much as we can? If you trust the source of this workbook, click Yes."
    If you click Yes, then a second message appears:
    "Removed Part: /xl/styles.xml part.  (Styles)
    Repaired Records: Cell information from /xl/worksheets/sheet1.xml part"
    The Excel document then opens, and the data is there, but there is no formatting (no border columns, colours, bolds etc.)
    The three interesting things are:
    - When exported from SQL 2008 R2 Report Builder 3.0, which exports to .xsl instead of .xslx, it works
    - A brand new report created in 2014 Report Builder 3.0 exports to .xslx great
    - In Report Builder 2014, I stripped everything back and removed all rows and columns so the original table in the report only has one empty row and column it the export still errors - it is only by removing the original table and creating a brand new table
    that export works OK
    It appears to be a problem with the tablix, but ideally we don't want to have to recreate our reports from scratch to fix this issue.
    Has anyone come across an issue like this before, and know of any potential resolutions to it?
    Thank you.

    Hello,
    Based on your description, you render a report originally created in Report Builder 2.0 (SQL 2008 R2) and export the report to excel with format of Excel 2007-2010.
    Edit the report in Report Builder will not upgrader the report. In that case the report still with SSRS 2008 R2 RDL schema. Please try to upgrade the report by open the report in Report Designer in SQL Server Data Tools (SSDT) and then try again.
    If you don’t want to upgrade the report, please try to export the report
    with Excel 2003 rendering extension and check if the issue persists.
    The SQL Server 2014 and SQL Server 2012 Reporting Services Excel rendering extension renders a report to the native format of Microsoft Excel 2007-2010 with .xlsx as file extension. Only the Excel rendering extension is available by default.
    You must update the Reporting Services configuration files to make the Excel 2003 rendering extension available.
    For example, changing the value of Visible to
    true in the following line in the RSReportServer.config:
    <Extension Name="EXCEL" Type="Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering"
    Visible="true"/>
    Reference:Upgrade Reports
    Exporting to Microsoft Excel (Report Builder and SSRS)
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • How to export an image column from SQL server to an excel

    Hi team,
    Would like to know how can i get an Image column storeed in SQL Server database to get copied in Excel (Hard Drive).
    Requirement : Need to get Username, User email address and User photo in to an excel sheet from SQL server database.
    Fix: I can get Username and Useremail adress however could not find a way to export /Copy user Image.
    Please suggest
    Thanks,
    venkatesh

    This is an Oracle forum. Your question relates to SQL Server and Excel, neither of which are Oracle related.

  • Export tables form Oracle8 to SQL Server 7.0

    Hello
    I use Dts (data transformation service) to export tables/data form Oracle8 to SQL Server 7.0. It seems to work fine, but somehow escape charecters like carrige return and spaces,are presented as a '' sign in SQL Server. How can I avoid this during the export of data from Oracle.(I do want to use a trigger to remove them afterwards !)Please help
    Regards Ivan

    CORRECTION !
    Bottom line should read:
    (I do NOT want to use a trigger to remove them afterwards !)
    Ivan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Ivan Posselt ([email protected]):
    Hello
    I use Dts (data transformation service) to export tables/data form Oracle8 to SQL Server 7.0. It seems to work fine, but somehow escape charecters like carrige return and spaces,are presented as a '' sign in SQL Server. How can I avoid this during the export of data from Oracle.(I do want to use a trigger to remove them afterwards !)Please help
    Regards Ivan<HR></BLOCKQUOTE>
    null

  • 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

  • Export SharePoint List data to SQL Server 2005 Database

    Hello Everybody,
    I am presently working on a project which handles much larger amount of data. The architecture of the application demands extracting records from the SharePoint (WSS 3.0) and insert into a SQL Server 2005 database. I need to run this job as daily basis. I am thinking of using SSIS (SQL Server Integration Service) for this purpose. But I am new to this technology and I'd like to know how effective this idea to do the job.
    I'd also like to know more about SharePoint's ability to handle huge amount of data when it comes to Reporting.
    thank you,
    Arun

    For Reporting Services, There are web parts available which can be used to render a reporting service report in sharepoint. I have also used a reporting service report directly using Page Viewer Web Part so displaying a reporting services report in sharepoint is very simple task. Important part is to transfer data from Sharepoint list to SQL 2005. so if you want to use SSIS package and there is only one or two list then approach is to write a simple query based on your list id and extract information from sharepoint content database from UserData table, since it is a read only operation so it can work this way. Another way to do it is to write a Sharepoint Timer JOB which runs on a defined schedule and will read your list values and will transfer to your SQL 2005, Another way could be to write your custom web service and write code to transfer from list to SQL 2005. Custom code you will write inside timer or web service will be same code so it is just a different shell you can say. in case of web service, use it in some other application as a regular web service.  
    Let me know if you need further help, You did not mention how many list you have?
    Regards,
    BizWorld.

  • Exporting SQLServer Compact (*.sdf) to SQL Server Express 2012

     
    I'm using ErikEJ's SQL Server Compact Toolbox 4.0.0.1 in VS 2013 to attempt to upgrade an .sdf to an SQL Server Express database.  I go "Script Database for SQL Server", which generates a file.  The next instruction is to:
    You can now open the generated script in Management Studio and execute it against a SQL Server database.
    I'm missing something here - I can open it easily enough in SQL Server Management Studio ("File | Open") but how do I execute it?
    Thank - Tim

    Hi Tim,
    Quote: and execute it against a SQL Server database.
    We can execute the script with key F5 or by clicking on the "Execute" Icon in SSMS symbol bar as Olaf mentioned above. But there is one more thing we need to pay attention to. Before executing the script, we’d better create a new user database,
    then we can execute the script against our new user database (or other user database we have, but not any system database).
    How to execute the script against the database:
    Click the DropDownList box next to the "Execute" Icon in SSMS symbol bar and select the database, then click the "Execute" Icon.
    In addition, for more information about how to create a SQL Server database, please refer to the following article:
    http://msdn.microsoft.com/en-us/library/ms186312.aspx
    If you have any question, please feel free to let me know.
    Regards,
    Jerry Li

  • After installed SP1 for SQL Server 2012, can no longer export to csv

    After installing SP1 today via Windows Update, I am no longer able to export data to csv using the SQL Server Import and Export wizard. I get the following error message:
    "Column information for the source and the destination data could not be retrieved, or the data types of source columns were not mapped correctly to those available on the destination provider."
    "Column "col1": Source data type "200" was not found in the data type mapping file."...
    (The above line repeats for each column)
    The work-around I have to do is to manually map each column in the "Edit Mappings..." option from the "Configure Flat File Destination" page of the wizard. This is an extreme inconvenience to have to have to edit the mappings and change
    each column to "string [DT_STR]" type from "byte stream [DT_BYTES]" type each time I want to export to csv. I did not have to do this before installing SP1; it worked perfectly for months with hundreds of exports prior to this update and
    no need to modify mapping.

    I am running Windows 7 64-bit, SQL Server 2012 Express edition. Again, just yesterday from Windows Update, I installed SQL Server 2012 Service Pack 1 (KB2674319), followed by Update Rollup for SQL Server 2012 Service Pack 1 (KB2793634). This situation was
    not occurring before these updates were installed, and I noticed it immediately after they were installed (and of course I restarted my computer after the updates).
    In SSMS I just now created a test DB and table to provide a step-by-step with screenshots.
    Here is the code I ran to create the test DB and table:
    CREATE DATABASE testDB;
    GO
    USE testDB;
    GO
    CREATE TABLE testTable
    id int,
    lname varchar(50),
    fname varchar(50),
    address varchar(50),
    city varchar(50),
    state char(2),
    dob date
    GO
    INSERT INTO testTable VALUES
    (1,'Smith','Bob','123 Main St.','Los Angeles','CA','20080212'),
    (2,'Doe','John','555 Rainbow Ln.','Chicago','IL','19580530'),
    (3,'Jones','Jane','999 Somewhere Pl.','Washington','DC','19651201'),
    (4,'Jackson','George','111 Hello Cir.','Dallas','TX','20010718');
    GO
    SELECT * FROM testTable;
    Results look good:
    id    lname    fname    address    city    state    dob
    1    Smith    Bob    123 Main St.    Los Angeles    CA    2008-02-12
    2    Doe    John    555 Rainbow Ln.    Chicago    IL    1958-05-30
    3    Jones    Jane    999 Somewhere Pl.    Washington    DC    1965-12-01
    4    Jackson    George    111 Hello Cir.    Dallas    TX    2001-07-18
    In Object Explorer, I right-click on the [testDB] database, choose "Tasks", then "Export Data..." and the SQL Server Import and Export Wizard appears. I click Next to leave all settings as-is on the "Choose a Data Source" page, then on the "Choose a Destination"
    page, under the "Destination" drop-down I choose "Flat File Destination" then browse to the desktop and name the file "table_export.csv" then click Next. On the "Specify Table Copy or Query" page I choose "Write a query to specify the data to transfer" then
    click Next. I type the following SQL statement:
    SELECT * FROM testTable;
    When clicking the "Parse" button I get the message "This SQL statement is valid."
    On to the next page, "Configure Flat File Destination" I try leaving the defaults then click Next. This is where I am getting the error message (see screenshot below):
    Then going to the "Edit Mappings..." option on the "Configure Flat File Destination" page, I see that all columns which were defined as varchar in the table are showing as type "byte stream [DT_BYTES]", size "0", the state column which is defined as char(2)
    shows correctly however with type "string [DT_STR]", size "2" (see screenshow below):
    So what I have to do is change the type for the lname, fname, address and city columns to "string [DT_STR]", then I am able to proceed with the export successfully. Again, this just started happening after installing these updates. As you can imagine, this
    is very frustrating, as I do a lot of exports from many tables, with a lot more columns than this test table.
    Thanks for your help.

  • Export data to CSV in SQL Server

    Hi,
    I am trying to write a Java JDBC program exporting data
    from the database into CSV file using SQL Server 2005 DB.
    From that query:
    String="SELECT * into OUTFILE '"+filename+'" FIELDS TERMINATED BY ',' FROM table1";
    getting: "SQLException: Incorrect syntax near 'myfilename.csv'
    Yes, I put filename in single quotes. Same problem without them, but it strips out csv file extension.
    Using JTDS driver 1.2.4 on WinXP.
    Will later need to insert that into a batch process.
    What is a reason for that error? - I saw many many posts on the net, but no good explanations so far.
    So how do I fix that ?
    Is there a better way of doing it in SQL server ?
    I am a Java developer, not a DBA or Unix Sys Admin ;-)
    Please help !
    TIA,
    Oleg.

    Here is one way to do it in Java. You can customize as you like. Do a Google on how to get a DataSource (or DriverManager) connection for SqlServer. If you do not know how to get a PrintWriter, you do something like:
    PrintWriter writer = new PrintWriter(new FileOutputStream('results.csv");This will generate a generic CSV. It is probably not ideal, but should get you started.
        public final void serialize(final DataSource ds, final String sql, final PrintWriter writer)
            throws SQLException {
            Connection conn = null;
            PreparedStatement stmt = null;
            ResultSet results = null;
            try {
                conn = ds.getConnection();
                stmt = conn.prepareStatement(sql);
                results = stmt.executeQuery();
                ResultSetMetaData meta = results.getMetaData();
                int columnCount = meta.getColumnCount();
                while (results.next()) {
                    for (int current = 0; current < columnCount; current++) {
                        Object value = results.getObject(current + 1);
                        if (current > 0) {
                            writer.print(", ");
                        writer.print("\"" + (value == null ? "" : value.toString()) + "\"");
                    writer.println();
                writer.flush();
            finally {
                if (results != null) {
                    try {
                        results.close();
                    catch (SQLException e) {
                        e.printStackTrace();
                if (stmt != null) {
                    try {
                        stmt.close();
                    catch (SQLException e) {
                        e.printStackTrace();
                if (conn != null) {
                    try {
                        conn.close();
                    catch (SQLException e) {
                        e.printStackTrace();
        }My advice is to use BCP to start. The docs for the tool are here: [http://msdn.microsoft.com/en-us/library/aa174646(SQL.80).aspx]. You can manipulate the results in Access or Excel if you need to. Since it seems you are being thrown into an emergency and getting it fast is more important than you spending months learning additional Java API's.
    - Saish

  • Attunity connectors for Oracle in Import Export Wizard in SQL Server 2008 R2

    Is there a way we can see the Attunity connectors drivers in the Import/Export Wizard (64 bit) for SQL Server 2008 R2?
    Although I made it work for SSIS, I would need these drivers in the Import/Export wizard so as to automate it for numerous number of tables which I want to migrate.
    Can the Attunity connectors for Oracle be used in the Import/Export wizard? If so please let me know.
    Regards,
    Ashutosh.
    Ashutosh.

    I have 100 tables to migrate. Creating a data flow for each table is tedious and that's why I was looking out for a way to do it through import export wizard so that I don't have to create a separate data source and destination for each table in the Data
    flow Task.
    Is there a way to loop through all tables and transfer data in SSIS without having multiple sources and destinations created for each table? This also involves a bit of transformation as well.
    Regards,
    Ashutosh.

  • Loading data from SQL server to Oracle database

    i want to create one table in oracle db from table in sql server. Table is huge it got 97,456,789 records.
    I created db link (HS) in oracle database which is pointing to sql server. i can select that table from oracle thru db link.
    select * from "dbo"."t1@dblink;
    i fired below create table.
    create table t2 nologging parallel (degree=3) as select * from "dbo"."t1@dblink;
    and its taking long time.... but its running...
    is there any alternate method to do this and and populate table in oracle db faster.
    Please advise. thanks.

    vhiware wrote:
    create table t2 nologging parallel (degree=3) as select * from "dbo"."t1@dblink;
    and its taking long time.... but its running...I doubt that parallel processing will be used as this is unique to Oracle (using rowid ranges typically) and not SQL-Server.
    is there any alternate method to do this and and populate table in oracle db faster.Part of the performance overhead is pulling that data from SQL-Server to Oracle across the network link between them. This can be sped up by compressing the data first - and then transferring that across the network.
    For example: using +bcp+ to export the data on the SQL-Server box to a CSV file, compress/zip the file, scp/sftp the file to Oracle, and then unzipping it there. Parallel and direct load processing can now be done using SQL*Loader to load the CSV into Oracle.
    If this is a Linux/Unix base system, then the unzip/decompress process can be run in parallel with the SQL*Loader process by creating a pipe between the two - where the unzip process writes uncompressed data into the pipe and SQL*Loader reads and loads data as it becomes available via the pipe.
    Alternatively, you can do you own PQ processing. Let's say the data is date ranged. You can create a procedure on Oracle that looks something like this:
    {code}
    create or replace procedure CopyDay( day date ) is
    begin
    insert /*+ append */ into local_tab select * from remote_tab@remotedb where col_day = day;
    -- add logging info, commit, etc.
    end;
    {code}
    You can now start 10 or more of these for different days and run it in the background using DBMS_JOB.

  • Exporting to CSV adding NULL as last line

    I am having issue while exporting data to CSV file, i can see no data issue when running a select statement in query window. all 105 row comes back correct. but when i export to CSV field it add NULL 105 times as a row at the end.. i don't understand why
    and where it comes from

    I couldn't understand the issue. NULL values only at the last line?
    If you don't want NULL in your CSV, use ISNULL function in your query like ISNULL(Col, "") so that it will give blank
    Also you didn't mention how you are exporting to CSV? You have several ways here.
    Exporting SQL Server Data with Import and Export Wizard
    Creating CSV Files Using BCP and Stored Procedures
    SSMS: Export query result to .csv file in SQL Server 2008
    -Vaibhav Chaudhari

  • Create a visual web part which get data from excel sheet and import it into sql server database in sharepoint 2010 (development)

    Hi,
    I want to create a visual webpart which will read data from excel sheet and import it in to sql server database.(using sharepoint development)
    I want to do it using visual webpart.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi  Rajni,
    Microsoft.Office.Interop.Excel assembly provides class to read excel file data, in your web part solution, reference the assembly, and following blog contains samples about how to read the excel file data,
    and import it to SQL  database.
    1.Create a Visual Web Part Project:Create
    Visual Web Parts in SharePoint 2010
    2.Read the excel workbook by using SPFile class:
    http://alancejacob.blogspot.in/2012/06/read-data-from-excel-file-and-insert-in.html
    http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
    3.Export the excel workbook to SQL Server:
    http://www.c-sharpcorner.com/UploadFile/99bb20/import-excel-data-to-sql-server-in-Asp-Net/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for

  • How to restore iTunes after music files erased

    So, I accidentally erased all my music files which were stored on an external hard drive. (Bone headed move, don't ask). Thankfully, all the files were backed up. I restored the external hard drive with all the music files but am not sure what the ne

  • Error while importing SAP Router renew Certificate

    Hi Gurus, My sap router certificate got expired and got mail from SAP to renew, so I decided to renew it and followed link http://wiki.sdn.sap.com/wiki/display/Basis/HowtorenewtheSAPRouterlicense to renew saprouter certificate. All the steps were exe

  • External VIdeo and Sound Connection

    Not too sophisticated re computers and am still moving from XP to OSX 5.5/Macbookpro. Want to connect mac to 48" HDTV for movies, games. TV has HDMI port open and digital audio port available. Questions are re audio connection: 1. I have dvi to hdmi

  • How to upgrade the installed perl (5.10) to latest version (5.14).

    I have Mac OS X 10.6.8; the pre-installed version of perl is 5.10\.  I would like to upgrade this to the latest stable version of perl, which is 5.14 (iirc, 5.15 is a developmental release on the way to 5.16). Thanks, ed (aka swampyankee on perlmonks

  • Font on Facebook looks different on Firefox than IE?

    On IE, the font looks clearer, darker and smoother but on Firefox it looks bigger, fader and rigid. Why? I previously fixed this problem by tweaking the about:config on Firefox. Changed the value of gfx.font_rendering.cleartype_params.rendering_mode