如何将图片或图像插入oracle数据库? [英] how to insert picture or image into oracle database?
本文介绍了如何将图片或图像插入oracle数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<code>
sql>CREATE TABLE Employees
(
Id int,
Name varchar(50) not null,
Photo varbinary(max) not null
)
</code>
此代码显示如下错误: 照片varbinary(max)不为null * 第5行出现错误: ORA-00907:右括号缺失 请帮助
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.
查看此内容以使用BLOB存储图像.
这篇关于如何将图片或图像插入oracle数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文