We help IT Professionals succeed at work.
Get Started

How to Save an Array Of Byte Variable Into a Blob Database Field

Sashki
Sashki asked
on
3,729 Views
Last Modified: 2013-11-23
I have a variable which is of type "array of byte".

1. How do I go about saving an "array of byte" variable into a blob database field? Do I need to stream it somehow?

2. Once saved, how do you go about extracting the blob field's data back into an "array of byte" variable in order to be able to re-use it again?

I've been struggling with this for the last two days with no luck. If I can please have some Delphi code examples on the above two questions, I'll really appreciate it.

Thank you.

Comment
Watch Question
Freelance Project Manager
CERTIFIED EXPERT
Top Expert 2010
Commented:
This problem has been solved!
Unlock 2 Answers and 17 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE