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. General Programming
  3. C#
  4. Returning Huge XML data from procedure

Returning Huge XML data from procedure

Scheduled Pinned Locked Moved C#
oraclexmlhelp
4 Posts 3 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.
  • A Offline
    A Offline
    AB7771
    wrote on last edited by
    #1

    Hi, I have procedure which returns huge xml data in ref cursor from Oracle procedure, When the procedure is executed in Toad, it works fine, But when my method calls the procedure it returns an empty row in the datatable. any help would be appreciated.

    Thanks & Regards, Pramod "Everyone is a genius at least once a year"

    B 1 Reply Last reply
    0
    • A AB7771

      Hi, I have procedure which returns huge xml data in ref cursor from Oracle procedure, When the procedure is executed in Toad, it works fine, But when my method calls the procedure it returns an empty row in the datatable. any help would be appreciated.

      Thanks & Regards, Pramod "Everyone is a genius at least once a year"

      B Offline
      B Offline
      Bernhard Hiller
      wrote on last edited by
      #2

      What does your method return in case of errors (e.g. timeout) - an empty row? And what's the expected size of that xml string - GigaBytes? Then you ought to consider a different design.

      A 1 Reply Last reply
      0
      • B Bernhard Hiller

        What does your method return in case of errors (e.g. timeout) - an empty row? And what's the expected size of that xml string - GigaBytes? Then you ought to consider a different design.

        A Offline
        A Offline
        AB7771
        wrote on last edited by
        #3

        it doesn't throws any errors, now I have changed and tried using a DataReader and that works. The XML contains more than 2000 lines and file size is just 83KB. Somehow the DataReader can perform the operation, but the DataAdapter is not filling the datatable. Is there some kind of size limit?

        Thanks & Regards, Pramod "Everyone is a genius at least once a year"

        J 1 Reply Last reply
        0
        • A AB7771

          it doesn't throws any errors, now I have changed and tried using a DataReader and that works. The XML contains more than 2000 lines and file size is just 83KB. Somehow the DataReader can perform the operation, but the DataAdapter is not filling the datatable. Is there some kind of size limit?

          Thanks & Regards, Pramod "Everyone is a genius at least once a year"

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

          AB7771 wrote:

          Is there some kind of size limit?

          There are always size limits. You might try slightly below 64k if you are interested. If that doesn't work then try 32k, etc.

          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