Wednesday, February 16, 2011

EXAM system AND IMAGE insertion into database (DB2)

BLOB insertion into database , retrieval & display in web page successfully tested.

EXACT CODE:

INSERTION INTO DATABASE:http://pastebin.com/m0uchR9C
RETRIEVAL FROM DATABASE:http://pastebin.com/FHGnHE5j


REFERENCES:

2 comments:

  1. yes...it is good if we insert the pic into the database!! bt if the number of picture or size are increased then database becomes heavier!bt if u store the file location of the image into the database then it may be better..!!
    is it possible to insert all kinds of pic into the database???

    ReplyDelete
  2. i'm using database to save the images to make querying easier.

    what you said is a great option..

    BUT..

    we shall have to use relative addressing to save images.( C://.... wont do)

    moreover, will it be a SAFE option to have some data on the app.server (images., ie, CLOB and BLOB) and the others in THE DB server..?

    check that out on the internet plzz...

    ALSO SHARE your code & config setting for uploading files...

    ReplyDelete