How to store images in database?

Answers were Sorted based on User's Feedback



How to store images in database?..

Answer / devarathnam c,kotagudibanda(po

Hi... By using "Blob" and "Clob" datatypes

Is This Answer Correct ?    8 Yes 2 No

How to store images in database?..

Answer / mani kant

The setBinaryStream() method of PreparedStatement is used to store binary information.

For storing image into the database, BLOB (Binary Large Object) datatype is used in the table. For example:

CREATE TABLE "IMGTABLE"
( "NAME" VARCHAR2(4000),
"PHOTO" BLOB
)
/

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JDBC Interview Questions

what exactly happens when we execute "Class.forname("Driver class name");"?Explain indetail

10 Answers   Accenture, HP, IBM, Infosys, SAP Labs, SAS, Sasken, Trigent, Wipro,


What is jdbc odbc bridge?

0 Answers  


How to use JDBC to connect Microsoft Access?

0 Answers  


What is a jdbc connection pool?

0 Answers  


How to find number of records in result set?

2 Answers  






What is jsp and jdbc?

0 Answers  


What are the three basic components of the odbc architecture?

0 Answers  


What are the Isolation level in JDBC transaction?

1 Answers  


how can we connect to db without using getConnection() method

4 Answers  


Where jdbc drivermanager class is used?

0 Answers  


What are the different types of modifiers?

2 Answers  


How can you make the connection using jdbc?

0 Answers  


Categories