Redian新闻
>
数据库里怎么存二进制raw data?
avatar
数据库里怎么存二进制raw data?# Database - 数据库
a*n
1
用什么呢?用VARCHAR好象不行吧。。。
avatar
D*N
2
用binary.. :)

【在 a***n 的大作中提到】
: 用什么呢?用VARCHAR好象不行吧。。。
avatar
n*a
3
BLOB

【在 a***n 的大作中提到】
: 用什么呢?用VARCHAR好象不行吧。。。
avatar
a*n
4
RAW Binary data up to 255 bytes
太少了吧。能上个MB不:)
LONG RAW Binary data up to 2 gigabytes. (See the following note.)
赫赫。

【在 D****N 的大作中提到】
: 用binary.. :)
avatar
a*n
5
thanks!
The LONG RAW data type is often called a binary large object (BLOB)
in other database management systems. It is typically used to store graphics,
sound, or video data. Although relational database management systems were not
originally designed to serve this type of data, many multimedia systems today
store their data in LONG RAW, or BLOB, fields.
【 在 neurospora (waterjug) 的大作中提到: 】
avatar
n*a
6
If you are using Oracle8i up, be sure to use BLOB.
LONG RAW is not as good a solution as BLOB.

graphics,
not
today

【在 a***n 的大作中提到】
: thanks!
: The LONG RAW data type is often called a binary large object (BLOB)
: in other database management systems. It is typically used to store graphics,
: sound, or video data. Although relational database management systems were not
: originally designed to serve this type of data, many multimedia systems today
: store their data in LONG RAW, or BLOB, fields.
: 【 在 neurospora (waterjug) 的大作中提到: 】

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。