Importing SQL Server NTEXT into OWB (Warehouse Builder)

Hi all,
I'm having trouble using a SQL Server source in OWB. I need to import a NTEXT column and it casts to a LONG in Oracle, so I'm not able to select the imported data. Everything is working fine, except this NTEXT source values.
Has OWB any parameters to import such NTEXT values? How can I read SQL Server data that is assumed as LONG values?
Thanks in advance
Best regards
Jose

Let me add to this question: is there any way to control the way OWB casts data types from non-Oracle database sources? I am importing metadata from SQL Server databases that have one or more columns of type XML. OWB also casts these as LONG, and when I try to access the data I get the message "Invalid use of LONG data type". If I change the column data type in the object editor to XMLTYPE, I still get the error, and cannot view the data.

Similar Messages

  • How to import sql server database into oracle

    Hi,
    i have a backup of database(complete) from sql server, Is there any way to import that backup database into oracle environment.
    Please let me know the process
    Thanks
    Naren$

    No. You cannot simply import binary data files from a 3rd party database directly into Oracle.
    You can use bcp on SQL-Server to unload the data to CSV and then use Oracle's SQL*Loader to load it.
    You can run a SQL-Server database instance and an Oracle database instance, and use a heterogeneous database link from Oracle (working via ODBC) to connect to SQL-Server - and use SQL statements to pull object definitions and data from SQL-Server into Oracle.

  • Writing a stored procedure to import SQL Server table data into a Oracle table

    Hello,
    As a new DBA I have been tasked with writing a stored procedure to import SQL Server table data into an Oracle table. I have been given many suggestions on how to do it from SQL Server but I I just need to write a stored procedure to run it from the Oracle side. Suggestions/guidance on where to start would be greatly appreciated! Thank you!
    I started to write it based on what I have but I know this is not correct :/
    # Here is the select statement for the data source in SQL Server...
    SELECT COMPANY
    ,CUSTOMER
    ,TRANS_TYPE
    ,INVOICE
    ,TRANS_DATE
    ,STATUS
    ,TRAN_AMT
    ,CREDIT_AMT
    ,APPLD_AMT
    ,ADJ_AMT
    ,TRANS_USER1
    ,PROCESS_LEVEL
    ,DESCRIPTION
    ,DUE_DATE
    ,OUR_DATE
    ,OUR_TIME
    ,PROCESS_FLAG
    ,ERROR_DESCRIPTION
      FROM data_source_table_name
    #It loads data into the table in Oracle....   
    Insert into oracle_destination_table_name (
    COMPANY,
    CUSTOMER,
    TRANS_TYPE,
    INVOICE,
    TRANS_DATE,
    STATUS,
    TRANS_AMT,
    CREDIT_AMT,
    APPLD_AMT,
    ADJ_AMT,
    TRANS_USER1,
    PROCESS_LEVEL,
    DESCRIPTION,
    DUE_DATE,
    OUR_DATE,
    OUR_TIME,
    PROCESS_FLAG,
    ERROR_DESCRIPTION)
    END;

    CREATE TABLE statements would have been better as MS-SQL and Oracle don't have the same data types.
    OUR_DATE, OUR_TIME will (most likely) be ONE column in Oracle.
    DATABASE LINK
    Personally, I'd just load the data over a database link:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_table@mssql_db_link
    As far as creating the database link from Oracle to MS-SQL ... that is for somebody else to answer.
    (most likely you'll need to use an ODBC driver)
    EXTERNAL TABLE
    If the data from MS-SQL is in a CSV file, just use and external table.
    same concept:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_external_table
    MK

  • Convert SQL server database into SAP readable (encrypted) XML for SAP tool?

    Could anyone kindly let me know what is the procedure to convert SQL server database into SAP readable (encrypted) XML for SAP Authoring tool???

    So If I understood it correctly there an existing propriertory question bank with SQL server. You are looking at an option to migrate all the tests and questions from the existing system to the LSO system. Right ?
    I am still not clear on the xml conversion. Have you guys found a solution which could be achieved through a xml file ?
    am not aware of a way through which you could import only a xml file and create tests/questions. If you have a sample xml file then forward me so that I could do some testing on my end.As per my knowledge you could do one of the following. I
    1. Create the tests and questions manually in Authoring Environment. It will be a time consuming task. Based on the number of questions you have you might have to assemble a team of content developers to acheive this.
    2. Alternatively, you could create a Adobe Flash based assessment. The Flash component would be the front-end and will read from a xml file to display the questions and to drive the funcationality. This would be a easier and less time consuming than creating the assessments manually in authoring environment. However, you might miss out some of the functionality available in the Test Author of Authoring Environment unless you have all the functionality replicated inside Flash. This would require one time effort in creating the Flash template and the xml file structure. Once that is created you could create multiple assessments by just replacing the xml file. If you select this approach then you would have to ensure the data from SQL is converted in the desired xml format required by your Flash component.
    Please let me know if you require any further guidance or clarification regarding this.
    Regards,
    Ravi Sekhar

  • Connect SQL server source from OWB

    Hi,
    I have to connect to SQL Server source from OWB.
    I am using OWB 10.2 version and Owb is installed on UNIX platform.
    I have created system DSN, made respective entries in hs/admin and edited listener.ora file.
    In OWB Non-Oracle sorces trying to connect with ODBC connection to SQL server source.
    It is throwing erorr 'ORA-28545:error diagonised by Net8 agent when connecting to an agent Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from OWB-2339'
    How to check System DSN is setup properly on UNIX or not.
    Could anyone help out on this.

    Hi David,
    I have created db link and queried with select statement.
    It has thrown following error.
    " ORA-12537: TNS:connection closed".
    And, I don't know how to use "trace level gateway service configuration property in the service .ora file".
    I want to start from the first.
    Could you please give me the guidelines on, how to connect to a Sql server source(Which is on Remote Server) from OWB.
    What are the prerequisites and steps.
    Thanks for your help,
    Shaik.

  • How to create a SQL SERVER MODULE IN OWB

    Hello. Any body can help me with this. I need to access a SQL Server DataBase from OWB.
    Need your help.
    Thanks.

    Hi,
    Take a look at the main [ SQL Developer page on OTN|http://www.oracle.com/technology/products/database/sql_developer/index.html]. There is a link you should find useful, it's the Getting Started link under the Migration section. This explains how to download and setup the drivers you need to correct to non-Oracle databases. There are also links to online demonstrations on how to create connections to these databases. See how you go with that material.
    It should help.
    Sue

  • Converting SQL server database into SAP readable XML??

    Could anyone kindly let me know what is the procedure to convert SQL server database into SAP readable (encrypted) XML for SAP Authoring tool???

    Sorry you will need to be more specific, what is it exactly you want to do? What authoring tool do you mean.
    A bit more info and someone might be able to help you.
    BRgds,
    Simon

  • Geting an error trying to import a data file into OWB repository

    Hi,
    We're using OWB 11.1.0.7.0
    I'm trying to import a new data file and I'm getting an error.
    When I go to The Project/Files/ I right click on the module I want to add the files to,
    I get a 'Wizard' titled 'Welcome to the Import Metadata Wizard'.
    I click next.
    I get the 'Filter Information' screen that asks if I want to select 'All Data Files' or a specific file.
    I pick 'All Data Files' and click 'next'.
    I get the 'Object Selection' screen that has a left and right panel. The left side is titled 'Available' and the right side is titled Selected.
    The 'Available' panel had the directory in Linux (/etl/datafeeds/dev) where our data files are stored with a plus sign next to it.
    When I click the plus sign, I get an error message that says:
    API2836: Directory
    /etl/datafeeds/dev does not exist.Has anyone seen this? What is the work around? Is it a bug? How do I import a data file into OWB if this isn't the way to do it?
    Thanks,

    Hi, is there any obligation to use import wizard?
    can you use right click and import view/table?
    Ugur MIHCI
    www.ifslibrary.com

  • SQL Server PDW(Parallel Data Warehouse)

    Dear,
    There are several features which are unsupported at SQL Server PDW(Parallel Data Warehouse) version.
    Such as
    UDF(User Defined Function) / Extended Stored Procedure, CLR / Cursor / Trigger /
    @@SPID, @@SNAME_SUSER so on.
    I'm wondering when these features will be supported.
    Would you let me know approximate target date or road map?
    Thanks, Jungwon

    As far as I can tell , these features do not exist because the appliance purpose is to limit any components that can introduce a chance of performance degradation such as CLR and extended stored procedures beside also focusing on the core features for now.
     The word in the street is you have have your own CLR code in a business layer while PDW is for mass data analytics.
    for something like @@SPID , you should use the management web console & DMVs where they provides more rich information
    HTH
    Please click Vote As Helpful , Propose As Answer and/or Mark As Answer
    if you think this post helps!

  • Load SQL Server data with OWB 11.2

    Hi,
    We are using OWB 11.2 on Oracle Exadata Database Machine X2-2.
    We want to load data from multiple SQL Server tables in our DWH on Oracle 11.2 with OWB 11.2
    We want to load aprox. 100 million records a day.
    I've read some articles about this and the advise was to dump the data from SQL Server to files and load the files with OWB.
    We've tried to make a connection to SQL Server with OWB, this only works partially.
    In the OWB client I can import the database objects and sample the data from the SQL Server tables (all done on MS Windows client).
    From the server I am not able to run a very basic mapping which has a SQL Server source table and a Oracle target table without any difficult transformations.
    Is there another method/best practice to get the data over?
    I've read something about a database link from Oracle to SQL Server, but I don't know the details.
    Is there a tool that runs under Linux that can export data from SQL Server to a text file?
    Regards,
    Emile

    Hi Emile,
    regading extracting data from MSSQL with OWB on Unix platform (using Generic Connectivity):
    Re: SQLServer access from AIX Warehouse builder
    Re: OWB on Solaris Connectivity with SQL SERVER on Windows
    We want to load aprox. 100 million records a day.
    I've read some articles about this and the advise was to dump the data from SQL Server to files and load the files with OWB.100 million records per day is not a problem for daily extracting from MSSQL Server if you have 1-2 hour.
    In my opinion dumping to text file is a bad practice and is unnecessary if customer don't have special requirements (for example for security reason).
    SQL Server source table and a Oracle target table without any difficult transformationsIn my opninion the best way process data from MSSQL is to extract data to staging area (schema) on Oracle DB with mappings as simple as possible (ONLY filters, without any join), and most of data processing prefom in Staging area or during moving from staging to DWH.
    Also look at OWB user guide (how to use Generic Connectivity in OWB)
    http://download.oracle.com/docs/cd/E11882_01/owb.112/e10582/loading_ms_data.htm#i1064950
    Regards,
    Oleg
    Edited by: added link to OWB doc with description of using Generic Connectivity

  • Problem in import of MetaData file in Oracle Warehouse Builder 9.2

    My Problem is Related to Oracle WareHouse Builder.My system's configuration is following :-
    Machine : P4
    Operating System :Windows XP
    ORacle : Version 9.2
    Oracle WareHouse Builder 9.2
    Ram :1GB
    SGA Size :Approximately 650M
    I have 2 MetaData files which I have to import into OWB.
    First file's size is 9M.It got imported properly in 4 minutes without any error.
    2nd File's Size is 30M.when
    I start importing this MEtaData file.It goes upto 35% in Progress Bar.But after that it does not show any improvement.
    I have left the machine running with this option upto 24 hours.
    But nothing happened .It still shows only 35%.
    I have checked log file/Trace file/Alert log files ,but there is no error in these files.
    If any body have any solution about it,Please reply ASAP.I am stucked in this problem from last 7-8 days.
    Waiting for reply
    Thanks & Regards
    Harvinder Singh

    Thanks for your reply Igor.
    As posted the OWB 10.1.0 software is running against a 9.2.0.8.0. database, so OWB still uses DBMS_JOB instead of DBMS_SCHEDULER in this database. In addition I already tested scheduling a simple job to run an OS command as suggested in note 365539.1 , and job scheduling is working fine.
    There are no invalid objects in this database.
    Yasmin

  • CLR to get the SQL Server Data into .CSV File

    Hi,
    I transformed 10 columns 1000 rows from the source table to 1 column 1000 rows in the destination table by making the comma separated columns ( Just like ..
    Insert into DestinationTable
    SELECT col1+','+col2 ....
    FROM SourceTable
    Then I want to take this column into CSV file.
    I dont have the rights to command shell.
    I heard that we may use CLR procedure for this. Can someone throw light?

    using System;
    using System.IOM
    using System.Data;
    using System.Data.SqlClient;
    using System.Data.SqlTypes;
    using Microsoft.SqlServer.Server;
    public class ExportFileClass {
    [Microsoft.SqlServer.Server.SqlProcedure]
    public static void export_file()
    using (SqlConnection connection = new SqlConnection(
    "context connection=true"))
    connection.Open();
    // Operation to open file goes here.
    SqlCommand command = new SqlCommand("SELECT col FROM YourTable");
    // Consume result set and write rows.
    Build this from the command line:
    sn -k keypair.snk
    csc /target:library /keyfile:keypair.snk exportfile.cs
    Then run in SQL Server (assuming that the files are in C:\temp on the SQL
    Server machine:
    [sql]
    USE master
    go
    -- To be able to create an external-access assembly, we need to load
    -- the key, the assembly is signed with. The key needs a password, but we
    -- don't need to know the password.
    DECLARE @sql nvarchar(MAX),
            @password char(40)
    SELECT @password = convert(char(36), newid()) + 'Ab4?'
    SELECT @sql = 'CREATE ASYMMETRIC KEY slog_loopback FROM FILE = ' +
                  '''C:\temp\keypair.snk'' ' +
                  'ENCRYPTION BY PASSWORD = ''' + @password + ''''
    PRINT @sql
    EXEC(@sql)
    -- And then a login to carry the permission.
    CREATE LOGIN exportfile$asymkey FROM ASYMMETRIC KEY ExportFile
    GRANT EXTERNAL ACCESS ASSEMBLY TO exportfile$asymkey
    go
    -- Now we can go back to our regular database and create the assembly.
    USE youddatabase
    go
    CREATE ASSEMBLY ExportFile FROM 'C:\temp\exportfile.dll'
    WITH PERMISSION_SET = EXTERNAL_ACCESS
    go
    CREATE PROCEDURE ExportFile AS
    EXTERNAL NAME ExportFile.ExportFileClass.export_file
    [sql]
    It is likely that you will have to do ask your DBA to do things in the
    master database.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Data Modeler EA1:  Importing SQL Server Data Dictionary issue

    I am using the Data Dictionary Import Wizard to import the Schema of a SQL Server 2005 database (JDBC connection has "SQL Server 2005" as the Type) into the Oracle SQL Developer Data Modeler. In step 4 of the import, under the "Import to:" section, there is only SQL Server 2000 available in the drop down.

    Database Name: Microsoft SQL Server
    Database Version 10.00.2531
    I assumed that a SQL Server 2008 DB would be handled as a SQL Server 2005 DB (that is until 2008 is supported). Currently the db is not using any SQL Server 2008 specific features.
    In Oracle Developer Data Model 2, the tables with xml data type would not import. This time, those tables did import.

  • How to export sql server 2000 into oracle intergrally?

    1.environment:
    sql server 200 - character set: CHINESE_PRC_CI_AS
    tables :include ntext field (I think it equals clob)
    support english,simple chinese character.
    oracle 9i - character set :NLS_LANG=AMERICAN_AMERICA.US7ASCII
    2. aim
    export sql server objects(main is tables) into oracle intergrally
    3.question:
    3.1 the field which includes chinese data,after exporting,displays "????" code.
    3.2 how to export sql ntext field into oracle?
    thanks a lot

    You need to setup your Oracle Database use character set that support Chinesre Character. For example a unicode character set AL16UTF16.
    More information her
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14225/ch6unicode.htm#i1006691
    Also consider use Oracle Migration Workbench to transfer SQL Server Data
    http://www.oracle.com/technology/tech/migration/workbench/files/mig_rel10104.html

  • Error updating data source from SQL Server ODBC into SQL Native Client 10.0

    I am converting Crystal 8.5 reports into Crystal XI release 2. The data source was ODBC using SQL Server 2000 and pointing to a stored procedure. In the new server the data source has to be ODBC again, but it uses the SQL Native Client 10.0 Driver, because the new server is SQL Server 2008. I have copied the same old stored procedure on the new server and it works fine as a data source to a brand new Crystal XI report. But when I am opening an existing 8.5 version crystal report and updating the data source to the new location I get the error message "Some tables could not be replaced, as no match was found in the new data source".
    I thought I could tackle this error by creating a temporary data source using the standard ODBC SQL Driver linked to the SQL 2008 Server instead of the SQL Native Client 10 ODBC. So I first updated the crystal data source to link to this temp ODBC using SQL Driver and it worked fine. But after that, when I try to update the data source to link to the SQL Native Client 10 ODBC, I get the same error again.
    So I guess that the problem is not the new server itself, but the switch between SQL Server ODBC and SQL Native Client 10 ODBC.
    Does anyone know what's going on with this SQL Native Client 10 in updating crystal report data sources?

    CR XI does not support that driver. Try selecting the Native driver or upgrade to CR XI R2 for free and use SP4, 5 and 6 and then FP 6.4 or upgrade to CR 2008 and SP 3 and Fix Pack 3.3
    Thank you
    Don

Maybe you are looking for

  • Image Capture can no longer download from iPhone

    For some time - I think since Yosemite upgrade, I can no longer download photos from my iPhone 5. (I do not use iCloud, and there are some other issues with iPhoto so I haven't tried.  iTunes can still perform backup.) Back when, I was using Google P

  • [Oracle 8i] Need help pruning branches from a hierarchical query

    My problem is that my hierarchical query seems only to trim out the values that don't meet my criteria, but still includes their children. When my query hits a record that does not meet my criteria, I want it to stop there. I've tried including the c

  • FileContent Conversion Error...

    Hi, In a File to File scenario, I need to drop the flat file in the FTP server, Here when the data is not populated an empty structure will be created in such cases i need not drop an empty file in the FTP server. so i have used Empty message handlin

  • Incorrect phone number on Voice Message alert

    I'm a newbie here, so please be patient. I received an email alert saying that I had a new voice message. It said, "left by ...+****************" Obviously, I noticed the number was odd, but I was able to listen to the voice message OK. However, I ca

  • CRM - Mail Forms - more attributes

    Hi, I'd like to insert in the Mail form editor (CRMD_EMAIL) more than one specific value of an attribute. In my CRM 5.0 system this is only possible with products. How does this work with other data, f.e. a business partner has 4 different addresses?