<code>
sql>CREATE TABLE Employees
(
Id int,
Name varchar(50) not null,
Photo varbinary(max) not null
)
</code>
This code is showing error like this:
photo varbinary(max) not null
*
ERROR at line 5:
ORA-00907: missing right parenthesis
Please help
You should use
BLOB (Binary Large Object)which is ideal for storing multimedia content like images.Check this out for storing images using BLOB.