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

Similar Messages

  • Oracle8i to SQL Server Connectivity Errors

    I am having following error messages while setting up the ODBC connectivity between Oracle8i and SQL Server 7. I want to access SQL Server 7 tables from within Oracle8i. I have followed all the instruction of Oracle Generic Connectity document and have tested ODBC connection with ODBCPING as well as with TNSPING, these shows correct connectivity. I have also created Database Link within Oracle8i for SQL Server. After that when I access the SQL Server table from within Oracle I get the following error message.
    ORA-12500: TNS:listener failed to start a dedicated server process
    Could any body suggestion the solution please.
    Thanks and regards,
    Ghulam Mallah

    Following is the tnsnames.ora
    SPSLME =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 9adwea)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = SPSLME)
    FDMSQL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 9adwea)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = FDMSQL)
    (HS = OK)
    9adwea is the name of host while FDMSQL is the DSN.
    Following is the listener.ora file.
    # LISTENER.ORA Network Configuration File: C:\oracle\ora81\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 9adwea)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = SPSLME)
    (ORACLE_HOME = C:\oracle\ora81)
    (SID_NAME = SPSLME)
    (SID_DESC =
    (GLOBAL_DBNAME = FDMSQL)
    (ORACLE_HOME = C:\oracle\ora81)
    (SID_NAME = FDMSQL)
    While in oracle\ora81\hs\admin folder following are the names of files
    1. initfdmsql.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = FDMSQL
    HS_FDS_TRACE_LEVEL = ON
    # Environment variables required for the non-Oracle system
    set odbcini=C:\WINNT\odbc.ini
    LISTENER.ORA is :
    # This is a sample listener.ora that contains the NET8 parameters that are
    # needed to connect to an ODBC Agent
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=9adwea)(port=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=FDMSQL)
    (ORACLE_HOME=/private/app/oracle/product/8.1.6)
    (PROGRAM=FDMSQL)
    CONNECT_TIMEOUT_LISTENER = 0
    TNSNAME.ORA is the following:
    # This is a sample tnsnames.ora that contains the NET8 parameters that are
    # needed to connect to an ODBC Agent
    FDMSQL = (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=9adwea)(PORT=1521))
    (CONNECT_DATA=(SID=FDMSQL))
    Best regards,
    Ghulam Mallah

  • Does Create as table command  works in sql server

    Hi friends,
    does Create as table command works in sql server,if yes pls help me with syntax

    > does Create as table command works in sql server,if
    yes pls help me with syntax
    Just out of interest, what is it supposed to do? There is no "CREATE AS TABLE" command in Oracle.

  • SSMA for migrating table from oracle to Sql server

    Hi All,
    I wanted to replicate oracle huge table to sql server and i am using SSMA.its helpful and fast but can we replicate the table to different name using SSMA.for example i have a table TEST and i wanted to replicate it to SQL_TEST.Can it be possible
    using SSMA.
    Kindly help me out 

    Hi All,
    I wanted to replicate oracle huge table to sql server and i am using SSMA.its helpful and fast but can we replicate the table to different name using SSMA.for example i have a table TEST and i wanted to replicate it to SQL_TEST.Can it be possible
    using SSMA.
    Kindly help me out 
    Hello,
    Same question has  already been asked by you in below thead. Why you created duplicate thread ?  please avoid this practice or your thread will be marked ass Spam
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/abcdfb1b-c617-453f-828d-c8e4ec266c78/ssma-for-migrating-table-from-oracle-to-sql-server?forum=sqlintegrationservices
    Moderators plz merge this thread.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Forms 9i and SQL Server

    Hi Gurus,
    We have been asked by our customer to find out if it is possible to base a 9i form on a SQL Server db instead of an Oracle db as they believe that a SQL Server license will be much cheaper than an Oracle db license. Does anybody know if this is possible and if so how easy is it to achieve ?
    Thanks,
    M.

    use package EXEC_SQL or Oracle TRANSPARENT GATEWAY to do it, but first way will have performance issue, second way will not save you mony, but costs you more.

  • 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

  • Issue while importing table from oracle to sql server using import and export wizard

    Hi All,
    I am trying to populate oracle table to sql server using import export wizard  and i am getting the below error.the table is allready present in the database but still it throwing error like table doesn't exists.
    Could not connect source component.
    Error 0xc0202009: Source - JOB_ACTION_HISTORY [1]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    Error 0xc02020e8: Source - JOB_ACTION_HISTORY [1]: Opening a rowset for ""FLXUSER"."JOB_ACTION_HISTORY"" failed. Check that the object exists in the database.
     (SQL Server Import and Export Wizard)
    Kindly help me out
    Thanks in advance

    Hi Snehasis,
    Please check whether the table name in the Oracle database has lower case letters. The table name should be exactly correct. 
    In addition, the issue might be related to the Oracle driver. What provider/driver do you use? If you use Microsoft OLE DB Provider for Oracle, you can try the
    Oracle OLE DB Provider. If you use Enterprise or Developer edition of SSIS 2008 or higher, you can also try the
    Microsoft Connectors for Oracle by Attunity. The  Oracle OLE DB Provider and Microsoft Connectors for Oracle are proved to have better performance.
    Regards,
    Mike Yin
    TechNet Community Support

  • 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 share and Access DB (.accdb) with global tables that link to SQL Server tables without having to define ODBC connections on each client PC?

    I have an Access DB with quite a few Linked Tables that point to a SQL Server backend db.  Currently I am using an ODBC connection defined on my pc, but I want other users to be able to download the .accdb file from a share and run.  Will I have
    to define this odbc connection on each client's pc?  Is there a better way to do this without having to have each client manually set this up on their PC?

    I have an Access DB with quite a few Linked Tables that point to a SQL Server backend db.  Currently I am using an ODBC connection defined on my pc, but I want other users to be able to download the .accdb file from a share and run.  Will
    I have to define this odbc connection on each client's pc?  Is there a better way to do this without having to have each client manually set this up on their PC?
    Hi Jason,
    I think you can automate that process. In each application I use a one-record-table in the FE with a field Connected. Connected is default False.
    Starting a database in the development mode ignores this flag. Starting a database in production mode starts, if Not Connected, a procedure to RefreshLink the tables to the BE, and makes Connected = TRUE, so a next startup does not
    result in a new RefreshLink.
    Instead of a Boolean you could also use a string containing the path, or whatever you want.
    Imb.

  • Scheduler for Export Table utility using PL/SQL developer Tool

    Hi,
    Is there any way by which i can schedule manually export tables from a user using PL/SQL developer tool 'Export Tables' utility.
    As i have lot many schema a for each i have to manually exporting all tables using this utility.
    Please suggest.
    Thanks,

    Hello,
    do you mean PL/SQL developer from Allroundautomation? Then this is the wrong forum.
    Do you mean the export feature from SQL Developer, that you can invoke on right click in a result pane? You cannot automate it.
    But if you tell us more about your requirements we might be able to find a good solution for you. Yet this is a question for the {forum:id=75} forum. There is a FAQ {message:id=9360007}. This combined with dbms_scheduler or a scheduled job on your computer might solve the problem.
    Regards
    Marcus

  • 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

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

  • Oracle FORMS 6i over SQL Server

    Hi, I have an Oracle Forms 6i aplication over a Oracle Server 8i database. Is it possible to run it with SQL Server?

    Yes you can using OCA/ODBC - see the on line help (I also think there is an oca*.pdf file on the Forms install which
    will help).
    Regards
    Grant Ronald
    Forms Product Management

  • Scheduler for Export Table utility using PL/SQL developer

    Hi,
    Is there any way by which i can schdule manually export tables from a user using PL/SQL developer 'Export Tables' utility.
    As i have lot many schema a for each i have to manually exporting all tables using this utility.
    Please suggest.
    Thanks,

    My suggestion is you re-ask this question on the forums of the vendor of PL/SQL Developer, Allround automations, http://www.allroundautomations.com
    If you are asking about SQL Developer, it has it's own forum on OTN.
    Sybrand Bakker
    Senior Oracle DBA

  • Load table structure definition from Sql server and mirroring

    Hi, we have to replicate some tables from sql server
    into SAP dictionary.
    Is there a tool/transaction for import the table structure
    from a DBRMS like sql/oracle ?
    Adn is there some third part solution for replicate data
    from/to sql server and Sap ?
    Thanks in advance.
    Riccardo Galli.

    Hi,
    Dont know if there are any tools for this but onething is sure you will need to create the table thru SE11.
    I had done something similar, created a BDC to create table and it works.
    Provide the BDC with list of fields, datatype, len, key fields and the BDC will create the table.
    You will need to activate the table once its created, for some reason sap put the table in "partial active" status after creation .
    Good luck.
    Ravi

Maybe you are looking for