Oracle/XML Question from MS SQL Server 2000 Developer

With Microsoft SQL Server 2000 and Transact-SQL I can query a database and my results will be returned as an XML document. I need not do any further programmatic processing to transform my resultset into XML.
I really know nothing about Oracle. That said, is this functionality available with Oracle/PL-SQL? And, if you could specify an URL where I might read up a bit on this, I'd really appreciate the point in the right direction.
Thanks,
--Isaac
[email protected]

Here is a link to a page that has some good information and examples and includes a lot of other links:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:4980337843276
You can also search the Oracle on-line documentation and these forums for additional information. Here is a link to our FAQ home page, which includes a link to instructions on how to search the documentation and forums:
Re: How to attach a java bean in forms6i
There is also an XML DB forum. If you click on options near the upper right portion of your window, you can subscribe to that forum.

Similar Messages

  • Migrating Japanese Characters from MS SQL Server 2000 to Oracle 9i usng Jsp

    Hi ,
    I have a situation where the Japanese characters are to be migrated from MS SQL Server 2000 to Oracle 91 and then render the same using JSP.
    I followed the below approach,
    1. Extract the Japanese data from MS SQL Server and generate an XML
    2. Parse the XML and store it into Oracle 9i database which is of UTF-8 encoding.
    3. On retreiving and rendering using the Shift-JIS adds few junk characters additionally.
    When I try to copy paste the Japanese contents from XML to a text file, it is working fine.
    Could some one help me in resolving this issue?
    It is very urgent, and any help would be greatly appreciated.

    There is documentation in the reference guide sent with the workbench, there is this discussion forum, the support web page (which includes tech notes and FAQ's), and the company specific procedural language documentation.
    There is also an older document for use with the old sybase toolkits which may be obscelete, and there are some internal documents which were for internal consumption.
    Turloch
    Oracle Migration Workbench Team

  • Migrating 250gb from ms sql server 2000 to oracle

    Hi,
    i am trying to migrate data from sql server 2000 to oracle. I have tried the online method and it takes more than a day to copy one table with 250 million rows. Currently i am trying the offline method of using migration scripts with sql loader.
    this also seems to be taking a very long time for the single table with 250 million rows. Is there an effective way of doing this? please help
    thanks

    Well, lets look at what you're doing. You're using jdbc/odbc to move 250,000,000 rows. thats like using a straw to pump gas. We recommend that any migration over 10-20 MB should be done using the offline data move.
    A couple of questions
    1. How fast does the bcp go? How long does it take to complete?
    2. When using SQL Loader, are you loading it in raw format? Have you switched off any indexes on the table? Do you have the capability to load in parallel?
    Theres a lot you can do with the SQL Loader side to make it a lot fast. You might also want to consider dropping a note on the database forum too.
    Barry

  • A basic question from a SQL Server convert

    Hello:
    I am new to Oracle coming in with a SQL server background. I wanted to create a stored procedure that returns a SELECT result set.
    When I tried the following code:
    CREATE OR REPLACE PROCEDURE spTest
    AS
    BEGIN
    SELECT
              Last_Name_C || ', ' || First_Name_C as Name_C, User_ID_C, Email_C, Phone_C
         FROM
              S_USER
         ORDER BY
              Name_C;
    END;
    I get an error message, "an INTO clause is expected in this SELECT statement"
    How can I return the SELECT result set via a stored procedure?
    Thanks.
    Venki

    SQL> create or replace function f return sys_refcursor as
      2    c sys_refcursor;
      3  begin
      4    open c for select * from emp;
      5    return c;
      6  end;
      7  /
    Function created.
    SQL> var c refcursor
    SQL> exec :c := f
    PL/SQL procedure successfully completed.
    SQL> print c
    EMPNO ENAME      JOB          MGR HIREDATE     SAL   COMM DEPTNO
      7369 SMITH      CLERK       7902 17-DEC-80    800            20
      7499 ALLEN      SALESMAN    7698 20-FEB-81   1600    300     30
      7521 WARD       SALESMAN    7698 22-FEB-81   1250    500     30
      7566 JONES      MANAGER     7839 02-APR-81   2975            20
      7654 MARTIN     SALESMAN    7698 28-SEP-81   1250   1400     30
      7698 BLAKE      MANAGER     7839 01-MAY-81   2850            30
      7782 CLARK      MANAGER     7839 09-JUN-81   2450            10
      7788 SCOTT      ANALYST     7566 09-DEC-82   3000            20
      7839 KING       PRESIDENT        17-NOV-81   5000            10
      7844 TURNER     SALESMAN    7698 08-SEP-81   1500      0     30
      7876 ADAMS      CLERK       7788 12-JAN-83   1100            20
      7900 JAMES      CLERK       7698 03-DEC-81    950            30
      7902 FORD       ANALYST     7566 03-DEC-81   3000            20
      7934 MILLER     CLERK       7782 23-JAN-82   1300            10
    14 rows selected.
    SQL> create or replace procedure p (p_c out sys_refcursor) as
      2  begin
      3    open p_c for select * from emp;
      4  end;
      5  /
    Procedure created.
    SQL> exec p(:c)
    PL/SQL procedure successfully completed.
    SQL> print c
    EMPNO ENAME      JOB          MGR HIREDATE     SAL   COMM DEPTNO
      7369 SMITH      CLERK       7902 17-DEC-80    800            20
      7499 ALLEN      SALESMAN    7698 20-FEB-81   1600    300     30
      7521 WARD       SALESMAN    7698 22-FEB-81   1250    500     30
      7566 JONES      MANAGER     7839 02-APR-81   2975            20
      7654 MARTIN     SALESMAN    7698 28-SEP-81   1250   1400     30
      7698 BLAKE      MANAGER     7839 01-MAY-81   2850            30
      7782 CLARK      MANAGER     7839 09-JUN-81   2450            10
      7788 SCOTT      ANALYST     7566 09-DEC-82   3000            20
      7839 KING       PRESIDENT        17-NOV-81   5000            10
      7844 TURNER     SALESMAN    7698 08-SEP-81   1500      0     30
      7876 ADAMS      CLERK       7788 12-JAN-83   1100            20
      7900 JAMES      CLERK       7698 03-DEC-81    950            30
      7902 FORD       ANALYST     7566 03-DEC-81   3000            20
      7934 MILLER     CLERK       7782 23-JAN-82   1300            10
    14 rows selected.
    SQL>

  • Oracle forms 9i/10g connecting SQL Server 2000

    Could anyone please guide me in detail to connect Oracle Forms 9i/10g with MS SQL Server database?
    To connect with Oracle Database, we need to copy and paste the tnsnames.ora file from the Oracle Database folder to the Oracle Forms folder.
    But how do i connect with other databases like SQL Server, MS Access, and so on?
    Thanks in advance.

    Follwoing is the soluton which I got from orafaq forum:
    <<<<<
    I'd go for an ODBC on the database server, using HSODBC. It worked quite well on a data warehouse project using OWB. I fail to see why it wouldn't work for Forms.
    MHE
    >>>>>
    Now I'm fully in a confused and frustrated state. Each person is saying different solutions for the problem. One person is saying to connect using ODBC driver while other is saying to connect JDBC driver. Actually which driver should I configure? Also no one is giving a clear picture for the problem.
    How can I get a detailed solution for this problem (with screen shots) which include step by step procedure to configure a driver?
    So, I would be pleased if you could please guide me with step by step procedure to get connected with Oracle Forms using SQL Server?
    Or atleast some reference site where I can find the same.
    Thanks.

  • Simple way to connect Oracle 11g XE with MS SQL Server 2000

    Is there a simple way to access SQL server database/ Tables within from Oracle 11g XE (Windows-32bit) on same machine. I am a novice so kindly keep it simple. Thanks

    To connect to a SQL Server you need to use an Oracle product called Database gateway for ODBC which uses a 3rd party ODBC driver to connect to the SQL Server.
    The easiest set up is to install DG4ODBC release 11.2 on the SQL Server. How to configure the Database Gateway for ODBC is described in note:
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install          [Document 466225.1]     
    when you install DG4ODBC on a 32bit Windows operating system and the instructions for a 64bit Widnows operating system can be found in this note:
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install          [Document 1266572.1]     
    The database gateway for ODBC is available for free from here:
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    Please make sure you select the 32bit or 64bit Windows operating system depending on the platform where you've installed the SQL Server and on which you now install the gateway and download the <win32/64>_11gR2_gateways.zip CD.
    Once downloaded, unzip it and install it using the Oracle Universal installer. Make sure you select the product Database Gateway for ODBC (there's also a dedicated SQL server gateway called Database Gateway for MS SQL Server - this gateway is NOT for free and it requires a separate license).

  • Upgrade SQL From the SQL Server 2000 to SQL Server 2008

    hello:
    I am running the following query. This query is based on SQL server 2008. POIShare is a view which is created by the table.
    "select PoiShare.AddressCode,REPLACE(PoiShare.NameSpell,' ','') as NameSpell,PoiShareOffset.Offset from PoiShare, PoiShareOffset where POIShare.AddressCode & 0xFF000000 = %COUNTRY_ADCODE% and PoiShare.POIID = PoiShareOffset.POIID order by PoiShare.AddressCode,PoiShare.NameSpell"
    I'm getting the following result.
    3188785409 "папа,мама,я"
    791241
    3188785409 01кафе
    0
    3188785409 007
    5767272
    3188785409 03
    4790808
    3188785409 02lounge
    19
    3188785409 03аптека
    4791813
    3188785409 03аптека
    4791805
    3188785409 01сервис
    1246782
    "PoiShare.NameSpell" is not sorted. I try to solve this problem.but It doesn't work.
    I tried some ways.
    1.Sort all of the field
    2.Using "COLLATE Cyrillic_General_CI_AI_KS_WS" to "NameSpell"
    3.Create index  for "NameSpell"
    4.Using "cast(replace(PoiShare.NameSpell,',','') as bigint)",But SQL returned an error
    5.Install SQL SP1
    any help is greatly appreciated.

    SELECT * FROM <<VIEW>>
    ORDER BY <<COLUMN>>
    The query above work fine in SQL Server 2008. NameSpell has already been sorted, thank you.

  • Remove garbage text from fields SQL server 2000

    I have a SQL server db that just got hacked. I am using
    CFQUERYPARAM in all my queries, but somehow still got hacked. It
    corrupted data and I know I can do a restore, but I don't want to
    lost anything. How can I, for example, remove all garbage
    characters to the right of a valid file name?
    For example: poppies.png"></title><script src="
    http://sdo.1000m
    Only poppies.png is valid - the rest I need to remove. How
    can I do this with a ColdFusion query? The double quote marks keep
    throwing off anything I attempt.

    Hi There, To clean up your data, you can select the records
    with text you don't want in your database. Then loop through the
    tables infected and run update query like this one below :
    <cfloop example condition>
    <cfquery name="UpdCleanDB" datasource="#Request.DSN#"
    username="#Request.user#" password="#Request.pass#">
    UPDATE TableName
    SET InfectedColumnName
    = REPLACE(InfectedColumnName,'"></title><script
    src="
    http://sdo.1000m','')
    WHERE InfectedColumnName like
    '%"></title><script src="
    http://sdo.1000m%'
    </cfquery>
    </cfloop>
    Either run this T-SQL on Sql Query Analyzer to clean your
    data. Remember to Secure your application by setting the code below
    into your Application.CFM file:
    <!---SQL injection attack --->
    <cfif FindNoCase("EXEC(", CGI.Query_String) OR
    FindNoCase("EXEC(", CGI.Script_Name) OR FindNoCase("EXEC(",
    CGI.Path_Info)>
    <cfabort>
    <cfelseif FindNoCase("CAST(", CGI.Query_String) OR
    FindNoCase("CAST(", CGI.Script_Name) OR FindNoCase("CAST(",
    CGI.Path_Info)>
    <cfabort>
    </cfif>
    Hope that is well.
    Regards,
    Ortneil Kutama
    Developer
    Zimbabwe
    Text

  • Problem in Loading Data from SQL Server 2000 to Oracle 10g

    Hi All,
    I am a university student and using ODI for my final project on real-time data warehousing. I am trying to load data from MS SQL Server 2000 into Oracle 10g target table. Everything goes fine until I execute the interface for the initial load. When I choose the CKM Oracle(Create unique index on the I$ table) km, the following step fails:
    21 - Integration - Prj_Dim_RegionInterface - Create Unique Index on flow table
    Where Prj_Dim_Region is the name of my target table in Oracle.
    The error message is:
    955 : 42000 : java.sql.SQLException: ORA-00955: name is already used by an existing object
    java.sql.SQLException: ORA-00955: name is already used by an existing object
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    I am using a surrogate key column in my target table alongwith the natural key. The natural key is populated by the primary key of my source table, but for the surrogate key, I have created a sequence in my oracle schema where the target table exists and have used the following code for mapping:
    <%=snpRef.getObjectName( "L" , "SQ_PRJ_DIM_REGION" , "D" )%>.nextval
    I have chosen to execute this code on target.
    Among my attempts to solve this problem was to set Create Index option of the CKM Oracle(Create Index for the I$ Table) to No so that it wont create any index on the flow table. I also tried to use the simple CKM Oracle km . Both solutions allowed the interface to execute successfully without any errors, but the data was not loaded into the target table.
    When I right-click on the Prj_Dim_Region data store and choose Data, it shows empty. Pressing the SQL button in this data store shows a dialog box " New Query" where I see this query:
    select * from NOVELTYFURNITUREDW.PRJ_DIM_REGION
    But when i press OK to run it, I get this error message:
    java.lang.IllegalArgumentException: Row index out of range
         at javax.swing.JTable.boundRow(Unknown Source)
         at javax.swing.JTable.setRowSelectionInterval(Unknown Source)
         at com.borland.dbswing.JdbTable.accessChange(JdbTable.java:2959)
         at com.borland.dx.dataset.AccessEvent.dispatch(Unknown Source)
         at com.borland.jb.util.EventMulticaster.dispatch(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.open(Unknown Source)
         at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
         at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
         at com.borland.dx.sql.dataset.QueryDataSet.executeQuery(Unknown Source)
         at com.sunopsis.graphical.frame.a.cg.actionPerformed(cg.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I do not understand what the problem is and wasting days to figure it out. Any help will be highly appreciated as my deadline is too close for this project.
    Thank you so much in advance.
    Neel

    Hi Cezar,
    Can u plz help me with this scenario?
    I have one Oracle data model with 19 source tables and one SQL Server data model with 10 target tables. I have created 10 interfaces which use JournalizedDataOnly on one of the tables in the interface; e.g in interface for DimCustomer target table, I have 2 tables, namely Customer and Address, but the journalizing filter appear only on Customer table and this option is disabled for Address automatically.
    Now I want to create a package using OdiWaitForLog event detection. Is it possible to put all these 10 interfaces in just one package to populate the target tables? It works fine when I have only one interface and I use the name of one table in the interface for Table Name parameter of OdiWaitForLogData event, but when I try a comma seperated list of table names[Customer, Address] this error happens
    java.sql.SQLException: ORA-00942: table or view does not exist
    and if I use this method <%=odiRef.getObjectName("L","model_code","logical_schema","D")%>, I get this error
    "-CDC_SET_NAME=Exception getObjectName("L", "model_code", "logical_schema", "D") : SnpLSchema.getLSchemaByName : SnpLschema does not exist" "
    Please let me know how to make it work?
    Do I need to create separate data models each including only those tables which appear in their corresponding interface and package? Or do I need to create multiple packages each with only one journalized interface to populate only one target table?
    Thank you for your time in advance.
    Regards,
    Neel

  • JDBC to access SQL server 2000 and Oracle.

    hi,
    I have the following requirement. I have an oracle database which contain sql data including BLOB and CLOB. Firstly, I should migrate the data to a SQL server 2000 database. That is, i should be able to have two databases, one on oracle and the other on sql server 2000. the two databases should contain the same data, which includes BLOB data. I guess, sql server 2000 does not have a BLOB data type. What is the equivalent data type i can use to save the Oracle's BLOB data in SQL server?? Should it be image type?
    After i migrate the data to the sql server 2000 database, i should be able to connect to the two databases, oracle and sql server 2000, using the same JDBC code to retrieve, insert, update and delete the data. What are the drivers that i should use. I guess, the MS JDBC driver does not support BLOB and CLOB. Is there a driver that can support BLOB for sql server 2000 and is also free???!
    Kindly help... Thanks.
    Arthi.

    Hi,
    I am new to jdbc... so, pls forgive my ignorance...
    I shall try to map a BLOB data column in oracle to an IMAGE data column in sql server 2000. I am using oracle jdbc driver and microsoft's jdbc driver for connecting to the databases.
    My question is, can i use setBlob() method in the preparedstatement in jdbc code for setting data to the sql server 2000 image column?
    rs.getBlob() and preparedstatement.setBlob()code works fine for oralce's BLOB column using oracle's jdbc driver.... Will the same jdbc code work for sql server 2000's image column using microsoft's jdbc driver??
    Kindly help.
    Arthi.

  • Migration from SQL Server 2000 to Oracle8I

    Would somebody please suggest me the best way for migrating a 50Gb Database from SQL Server to Oracle8i. We are willing any third party products

    Bhas,
    The Oracle Migration Workbench creates scripts using Microsofts bcp to export the data from Sqlserver and Oracle sqlldr to import the data into Oracle. You can use these tools but the Oracle Migration Workbench plugin for SQL Server 2000 is not available or even in development (yet).
    I hope this information is of use,
    Turloch
    Oracle Migration Workbench Team

  • Converting SQL Server 2000 to Oracle 9i

    Hi,
    I am working on the migration of stored procs from a SQL Server 2000 database to Oracle 9i. The sqlsrvr db contains 75 relatively complex procs using temporary tables to create intermediate resultsets for further processing.
    The Oracle 9i environment has very strictly standards and temporary tables are not allowed.
    Is it standard practice to use PL/SQL tables to simulate the functionality of temp tables?
    I understand you can now use SQL against PL/SQL tables under certain circumstances.
    I would envisage using the PL/SQL tables in multi-table joins with schema tables.
    Any ideas whether I am going down the wrong path.
    Thanks in advance,
    Garrett Donnelly

    Garrett,
    Note that there is also an parser option to 'Generate8i temp tables', where the data in the permanent tables is seperated from other sessions by the use of an extra Session id colum.
    Please post the results of your PL/SQL table experiences.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • MS SQL Server 2000 - Oracle 8.1.7 nvarchar problem.

    Hello all,
    I move my database from MS SQL server 2000 to the Oracle 8.1.7 (W2K platform) and note, that Oracle Migration Workbench (ver 9.2.0.1.2 build 20020910) create wrong SQL Server model. In my SQL Server table I have one column with nvarchar type with length equal 3000 (for example) , but Oracle Migration Workbench create corresponded table in SQL server model with nvarchar type BUT with length equal 6000. I note that it multiply the length of nvarchar and nchar types by 2 and as a result in Oracle model that column has a CLOB type.
    Is anyone has any ideas how to fix it?
    Best regards,
    Victor Conovalov

    Hi Victor,
    this is a bug in the OMWB - bug 2632100. Can I suggest that you use the OMWB to migrate the database schema only to Oracle (i.e in step 3 of the Migration Wizard, choose 'No' when asked 'Do you want to migrate the table data to Oracle'). Your database schema should migrate as uaual. Then use Enterprise Manager to change the offending column types from 'CLOB' back to 'NVARCHAR' and also half the length.
    Alternatively, you can generate the generate migration scripts from the OMWB Oracle Model (details in the reference guide and user guide) and edit the scripts so that you can change the offending column types from 'CLOB' back to 'NVARCHAR' and half the length. These scripts can then be used to generate the schema and stored programs in the Oracle Database.
    You can then use the OMWB to generate SQL*Loader scripts (more details in the reference guide and users guide) so that you can move the data to your Oracle database.
    I will keep the bug updated with any news of a fix.
    I hope this helps,
    Tom.

  • ODBC errors for Oracle Migration Workbench and SQL Server 2000 on Windows

    Hi all-
    I setup a new ODBC connection for the Oracle 10g Migration Workbench to MS SQL Server 2000 on Windows XP and keep getting the following errors when I try to
    either test the new ODBC connection to MS SQL Server 2000 for use with the Oracle Migration Workbench tool. Goal is to fix these errors so that I can migrate our test SQL Server 2000 databases to Oracle 10g.
    Current configuration
    - Oracle 10.1 Migration Workbench
    - Oracle 10g Database (target)
    - MS SQL Server 2000 (source database)
    -Windows XP
    -ODBC 3.85.1117 driver for Windows XP with SQL Server and Oracle
    Errors:
    I. When I test the ODBC connection:
    Microsoft SQL Server ODBC Driver Version 03.85.1117
    Running connectivity tests...
    Attempting connection
    [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL server not found.
    TESTS FAILED!
    Now here is what has me totally confused:
    I can use the command line ISQL to access the database on the server and IP is all correct and port is available. So I can access the SQL Server database fine it is when I try to setup ODBC that it gives me problems.
    Any tips how to get this ODBC working?
    Thanks
    Ben Prusinski

    1. Jing Jin. If you had READ the post you would have seen that installing later versions is NOT an option.
    2. Not supported does NOT mean does NOT work, as Balmukund pointed out in the referenced thread.  The site that this databases supports is using ASP which is also NOT supported by Microsoft.  As it turns out Balmukund's solution actually turns
    out to be the correct solution.  I installed SS2K and its Service pack 4 on the machine last night.  Good answer Balmukund. as we say in the Navy, "BRAVO ZULU!!"  which means "WELL DONE!!
    3. Tom Li I just posted the question less than 48 hours ago.  My last post was less than 24 hours ago.  I think I have the right to be given the opportunity to determine whether a reply is the answer or not. I understand you don't like unanswered
    posts sitting around for weeks, months or years. (I don't like it either as I have a few that are still unanswered after several years.)  But you should not be showing replies as answers before I even get a chance to see them, much less try them out. 
    You should also not be showing replies as answers which don't address the criteria of the question.  I specifically stated that I had to install SS2K.  I went on to state, "And before anyone asks I need to install this version because that is what
    the customer is using and I need to duplicate their databases."  So the correct answer, if in fact SS2K did not work on Windows 7, would have been a virtual machine answer, as suggested on the thread Balmukund referenced.  So before you mark a reply
    as an answer read the question.
    Edward R. Joell MCSD MCDBA

  • Error while connecting to SQL Server 2000 using Heteregenous Services 11g

    Hope this is the right thread to post on! We have been given the challenge of connecting to and reading data from a SQL Server 2000 database.
    Our Infrastructure guys have set up the network access.
    The SQL Server DB is set to windows NT Authentication only (N.B. NOT Mixed Mode) as there is an application running against the DB locally that will not run under Mixed Mode.
    Our Oracle partner has download and installed the 11g Heteregenous Services. all works fine until the point we try to create the DBLink and then connect to the SQL Server DB when we get:
    SQL> CREATE DATABASE LINK infoteam1.sco.infoteam.co.uk CONNECT TO "sco.infoteam.co.uk/infoteam" IDENTIFIED BY "########" USING 'dg4msql';
    Database link created.
    SQL> select * from "systables"@infoteam1.sco.infoteam.co.uk;
    select * from "systables"@infoteam1.sco.infoteam.co.uk
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Oracle][ODBC SQL Server Driver][SQL Server]Login failed for user
    'sco.infoteam.co.uk/infoteam'. Reason: Not associated with a trusted SQL Server
    connection.[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
    ORA-02063: preceding 2 lines from INFOTEAM1.SCO.INFOTEAM.CO.UK
    The question is can we (and if so how)?) connect to the SQL Server using an NT Windows Authorised account?
    Jeremy

    Hi,
    Please look at MOS note
    ORA-28500: Generic connectivity using ODBC DSN over mapped drive fails [ID 105210.1]
    Ora-28500 with Ms Sqlserver - Not associated with a trusted SQL Server connection [ID 333775.1]
    Regards,
    Edited by: gjilevski1 on Aug 31, 2010 8:23 AM

Maybe you are looking for

  • How to Dual boot Ubuntu and Windows 8 on X1 Carbon G2?

    I currently have a Windows 8.1 64 bit installation on my carbon x1 and need to install ubuntu. I was able to boot from the USB and install Ubuntu.  However, I have to change to Legacy Only in the BIOS settings if I want to go into ubuntu. If I try to

  • Can you use the HDMI Out and the Optical Cable out at the sametime?

    I would like to connect the HDMI out cable from Apple TV to connect to the HDMI digital video/audio connection to my stereo and connect the optical out on the Apple TV and connect to my Zone 2 on the same reviever. Can I use both these Apple TV outpu

  • Windows Applications

    Hi All, Might be a dumb question, but do you have to have Windows installed to run windows based CD's (apps)? In other words if I run Boot Camp or Paralysis (sp?) do I then need to install windows OS first? Cheers

  • Managing photos with iPhoto in iPad

    My target is to manage my photos with my iPad, iPhoto and iCloud without PC or Mac. Now I have noticed that their is quite many limitations: 1) iCloud backups only the camera roll (not other albums although I have created them by the old Photo apps?)

  • Were I can Get Live Type Application Support

    Hello all Were I can Get Application support effects ... Tks Edgard