Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2007
    Posts
    2

    Unanswered: read from sql server in oracle

    I have an ORACLE server say "A". I have a SQL Server named "B". In SQL Server I have a table named "test" who contains only one field named "aa" which is "BIT" type field. I want to query this table of "B" from "A" interface through Oracle's DB Link and ODBC dsn for Sql Server. But it gives error. If I changed the data type of field "aa" to "int", then it reads easily. Please suggest.

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >Please suggest.
    Avoid BIT data types in a hetrogeneous environment.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Nov 2003
    Posts
    2,934
    Provided Answers: 12
    A table that contains exactly one column with data type BIT doesn't make sense as the 0/1 (true/false) information cannot be related to anything if there is no additional column.
    What do you store in that table?

  4. #4
    Join Date
    Jun 2007
    Posts
    2
    Quote Originally Posted by anacedent
    >Please suggest.
    Avoid BIT data types in a hetrogeneous environment.
    Thanks,
    But will it be possible in oracle 9i please confirm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •