I have a table that is composed of 5 attributes and one of the attributes needs to be an image. How would I go about linking the image on the file system to the table attribute? In other words, how would I populate the PART_IMAGE attribute in the table with images?
CREATE TABLE PART(
PART_CODE VARCHAR2(8) NOT NULL UNIQUE,
PART_DESCRIPT VARCHAR2(35),
PART_COLOUR
PART_PRICE NUMBER(8,2),
PART_IMAGE BLOB,
PRIMARY KEY (PART_CODE));
P.S. Is BLOB the correct data type to use?
Regards,
StickyBit.
CREATE TABLE PART(
PART_CODE VARCHAR2(8) NOT NULL UNIQUE,
PART_DESCRIPT VARCHAR2(35),
PART_COLOUR
PART_PRICE NUMBER(8,2),
PART_IMAGE BLOB,
PRIMARY KEY (PART_CODE));
P.S. Is BLOB the correct data type to use?
Regards,
StickyBit.