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. Question ?

Question ?

Scheduled Pinned Locked Moved C#
questiondatabase
6 Posts 4 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.
  • S Offline
    S Offline
    Shaik Haneef
    wrote on last edited by
    #1

    You have a SQL command that returns a BLOB. You are retrieving the data via a DataReader, but you are having problems using the default behavior. Referring to the scenario above, which one of the following CommandBehavior options, specified as an argument to the ExecuteReader method, allows you to use the GetBytes() method to retrieve the BLOB from a stream? Choice 1 CommandBehavior.SequentialAccess Choice 2 CommandBehavior.SingleResult Choice 3 CommandBehavior.SingleRow Choice 4 CommandBehavior.LargeData Choice 5 CommandBehavior.BinaryAccess

    OriginalGriffO C 2 Replies Last reply
    0
    • S Shaik Haneef

      You have a SQL command that returns a BLOB. You are retrieving the data via a DataReader, but you are having problems using the default behavior. Referring to the scenario above, which one of the following CommandBehavior options, specified as an argument to the ExecuteReader method, allows you to use the GetBytes() method to retrieve the BLOB from a stream? Choice 1 CommandBehavior.SequentialAccess Choice 2 CommandBehavior.SingleResult Choice 3 CommandBehavior.SingleRow Choice 4 CommandBehavior.LargeData Choice 5 CommandBehavior.BinaryAccess

      C Offline
      C Offline
      Calla
      wrote on last edited by
      #2

      Seriously, it sounds like you're posting questions from an exam. Maybe you should do your own homework! :mad:

      1 Reply Last reply
      0
      • S Shaik Haneef

        You have a SQL command that returns a BLOB. You are retrieving the data via a DataReader, but you are having problems using the default behavior. Referring to the scenario above, which one of the following CommandBehavior options, specified as an argument to the ExecuteReader method, allows you to use the GetBytes() method to retrieve the BLOB from a stream? Choice 1 CommandBehavior.SequentialAccess Choice 2 CommandBehavior.SingleResult Choice 3 CommandBehavior.SingleRow Choice 4 CommandBehavior.LargeData Choice 5 CommandBehavior.BinaryAccess

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        Having difficulty with your homework? Try learning to use Google. Typing in the three relevent words from your question, the top hit was the answer. Try and do something for yourself, will you?

        No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones "Rumour has it that if you play Microsoft CDs backwards you will hear Satanic messages.Worse still, is that if you play them forwards they will install Windows"

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        D 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          Having difficulty with your homework? Try learning to use Google. Typing in the three relevent words from your question, the top hit was the answer. Try and do something for yourself, will you?

          No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones "Rumour has it that if you play Microsoft CDs backwards you will hear Satanic messages.Worse still, is that if you play them forwards they will install Windows"

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          OriginalGriff wrote:

          Typing in the three relevent words from your question, the top hit was the answer.

          You actually tried this! Seems you have a lot of time to kill.

          50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

          OriginalGriffO 1 Reply Last reply
          0
          • D dan sh

            OriginalGriff wrote:

            Typing in the three relevent words from your question, the top hit was the answer.

            You actually tried this! Seems you have a lot of time to kill.

            50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #5

            30 seconds, tops. That's only a quick type while I glug some coffee. I like to check my answers - nothing worse than wrong advice from somewhere full of "experts"! I figured it would be near the top, but the top hit, giving the answer in exactly the words the OP used, is pushing someones "research" skill a bit, I feel...

            No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones "Rumour has it that if you play Microsoft CDs backwards you will hear Satanic messages.Worse still, is that if you play them forwards they will install Windows"

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            D 1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              30 seconds, tops. That's only a quick type while I glug some coffee. I like to check my answers - nothing worse than wrong advice from somewhere full of "experts"! I figured it would be near the top, but the top hit, giving the answer in exactly the words the OP used, is pushing someones "research" skill a bit, I feel...

              No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones "Rumour has it that if you play Microsoft CDs backwards you will hear Satanic messages.Worse still, is that if you play them forwards they will install Windows"

              D Offline
              D Offline
              dan sh
              wrote on last edited by
              #6

              OriginalGriff wrote:

              I like to check my answers - nothing worse than wrong advice from somewhere full of "experts"!

              I like to be on safer side. Hence my sig. ;P

              50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

              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