Link to home
Start Free TrialLog in
Avatar of anilgupt
anilgupt

asked on

saving image in Oracle.

Hi Guys,
I want to save images(tiff type) in oracle database using Visual Basic. Can u help me. Which type of data type i should use?
Please let me know asap.
Thanks,
anil
Avatar of schwertner
schwertner
Flag of Antarctica image

You can define and use in Oracle 8/8i/9i the following datatypes:

BLOB - binary data up to 4 GB in length stored in the database

BFILE - binary file, read-only, stored outside the database, lenght limeted to the OS.

There is a special package in Oracle for manipulating such large objects.
ASKER CERTIFIED SOLUTION
Avatar of xinliu715
xinliu715

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of anilgupt
anilgupt

ASKER

But when i use AddNew method of recordset object of ADO , This says that this method is not supported by recordset  object.
not really the answer but a very important tip !
I have no experience with pushing an image from vb into a oracle field but be sure to use the oracle oledb providers and not the microsoft ones because these do not support LOB fields which will result seeing those fields as 4000 varcahr fields or something like that.
anilgupt:

You have asked 6 questions here at EE, and have only resolved ONE. Here is a list of your other open questions:

https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20257302
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20257307
https://www.experts-exchange.com/jsp/qShow.jsp?ta=javascript&qid=20209746
https://www.experts-exchange.com/jsp/qShow.jsp?ta=oracle&qid=20193594

To assist you in your cleanup, I'm providing the following guidelines:

1.  Stay active in your questions and provide feedback whenever possible. Likewise, when feedback has not been provided by the experts, commenting again makes them receive an email notification, and they may provide you with further information. Experts have no other method of searching for questions in which they have commented, except manually.

2.  Award points by hitting the Accept Comment As Answer button located above and to the left of that expert's comment.

3.  When grading, be sure to read:
https://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp#3
to ensure that you understand the grading system here at EE. If you grade less than an A, you must explain why.

4.  Questions that were not helpful to you should be PAQ'd (stored in the database for their valuable content?even if not valuable to you) or deleted. To PAQ or delete a question, you must first post your intent in that question to make the experts aware. Then, if no experts object after three full days, you can post a zero-point question at community support to request deletion or PAQ. Please include the link(s) to the question(s).
CS:  https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
At that point, a moderator can refund your points and PAQ or delete the question for you. The delete button does not work.

5.  If you fail to respond to this cleanup request, I must report you to the Community Support Administrator for further action.

Our intent is to get the questions cleaned up, and not to embarrass or shame anyone. If you have any questions or need further assistance at all, feel free to ask me in this question or post a zero-point question at CS. We are very happy to help you in this task!


thanks!
amp
community support moderator
Ignore notifications, I fixed an internal problem with this question.

thanks!
amp
community support moderator