Results 1 to 4 of 4

Thread: Incorrect behavior connecting Oracle vs SQL Server

  1. #1
    Junior Member
    Join Date
    Oct 2007
    Answers
    3

    Incorrect behavior connecting Oracle vs SQL Server

    Hi to all, i have tried to link an oracle db to sql server db (for example northwind). The link work fine, but if from sql plus i execute: sql>describe employees@myfisrtdsn; where employees is the table in sql server db and myfirstdsn is the link-name, only these colums is displayed: name null? type ----------- -------- ------------ employeeid not null number(10) birthdate date hiredate date photo long raw reportsto number(10) the others are ignored. I don't understand this behavior. Can someone help me ? in the attachment are the steps creating a link. thank you for hope and best regards gaetano

    Attached Files Attached Files

  2. #2
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Incorrect behavior connecting Oracle vs SQL Server

    Are you sure there are other columns in the table in SQL Server.
    There is no reason why it will display only a selected list of columns from the specified table.


  3. #3
    Junior Member
    Join Date
    Oct 2007
    Answers
    3

    Re: Incorrect behavior connecting Oracle vs SQL Server

    Quote Originally Posted by debasisdas View Post
    Are you sure there are other columns in the table in SQL Server.
    There is no reason why it will display only a selected list of columns from the specified table.
    Yes,
    You can look a SQL Northwind Database sample provided from Microsoft.
    I suspect that the problem is the type translation from SQL Server 2005 to Oracle DB 10g. Only the column nvarchar are not translated in Oracle.

    Bye.
    Gaetano


  4. #4
    Junior Member
    Join Date
    Oct 2007
    Answers
    3

    Re: Incorrect behavior connecting Oracle vs SQL Server

    Hi,
    I have solved!!

    Microsoft provide two Driver, SQL Native Client and SQL Server.

    For the full compatibility, I must to use only the SQL Server driver.

    Best Regards


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact