Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. SQL Server-Oracle-Linked Server on 64 bit machine

SQL Server-Oracle-Linked Server on 64 bit machine

Scheduled Pinned Locked Moved Database
databasesql-serveroraclesysadminhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vanikanc
    wrote on last edited by
    #1

    Hello, WE are moving to a 64 bit machine. The usual provider MSDAORA is not avaliable. Started to use the ORAOLEDB.ORacle provider. While this works, there is a data issue. One of them show up as data conversion to type numeric. This worked perfectly on the 32bit environment. Which is the ideal provider to use on a 64 bit machine? Much appreciated!!

    J 1 Reply Last reply
    0
    • V vanikanc

      Hello, WE are moving to a 64 bit machine. The usual provider MSDAORA is not avaliable. Started to use the ORAOLEDB.ORacle provider. While this works, there is a data issue. One of them show up as data conversion to type numeric. This worked perfectly on the 32bit environment. Which is the ideal provider to use on a 64 bit machine? Much appreciated!!

      J Offline
      J Offline
      jschell
      wrote on last edited by
      #2

      I suspect you don't have many choices. As you stated Microsoft doesn't do a 64 bit version. And presumably you have spent the time to verify the actual problem in the Oracle version. At one time there was a 3rd party company that created database drivers. But searching quickly I can't find them. You might have better luck. Other than that I would suggest modifying your code. You can always have your SQL return a string, rather than numeric, and then process that in your C# code.

      V 1 Reply Last reply
      0
      • J jschell

        I suspect you don't have many choices. As you stated Microsoft doesn't do a 64 bit version. And presumably you have spent the time to verify the actual problem in the Oracle version. At one time there was a 3rd party company that created database drivers. But searching quickly I can't find them. You might have better luck. Other than that I would suggest modifying your code. You can always have your SQL return a string, rather than numeric, and then process that in your C# code.

        V Offline
        V Offline
        vanikanc
        wrote on last edited by
        #3

        A bit of an issue. The select statement has about 450 variables(?), I know, not something I created. The select statement is not executing stating it is exceeding the 8000 characters selection limit. This is the first time I am ecountering a limit on selection.

        J 1 Reply Last reply
        0
        • V vanikanc

          A bit of an issue. The select statement has about 450 variables(?), I know, not something I created. The select statement is not executing stating it is exceeding the 8000 characters selection limit. This is the first time I am ecountering a limit on selection.

          J Offline
          J Offline
          jschell
          wrote on last edited by
          #4

          vanikanc wrote:

          The select statement is not executing stating it is exceeding the 8000 characters selection limit.

          I can assure that a statement limit has existed for years. Pretty sure I saw it in Oracle 8. So in terms of a previous driver you got lucky because you were at the border anyways. And depending on the data it could have gone over with the older driver. The only solution for that, which I can think of (besides getting rid of all those fields) is to encode the data into xml and then return is as a blob and then re-extract.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups