From csdn
========================================================
In Oracle, four lobs types are available: blob, clob, bfile, and nclob.
The following is a brief introduction to the lob data type.
L BLOB: Binary lob, Which is binary data. It can
Pl/sql Procedure: Data reading of Clob field types in Oracle 11g
the database column of the LOB type stores only the locator, which points to the storage location of the large object.
manipulate LOB data with the Dbms_lob package. When reading
Environment:
1. Oracle 9i 9.2.0.8.0
2. JDBC: ojdbc5.jar
3. Spring 2
4. hibernate 3
There is an information management module in the system. The information content is edited using FCKeditor, And the content may be very long. Therefore, we decided
Js|oracle Clob is generally used to store large Guangxi, if it is a 2-in-system file generally with a blob.
Suppose Col2 is CLOB:
Write operation:
String sql = "INSERT into tb_commendtemp (col1,col2) VALUES (' 111 ',?)";
string s = "long
[Author]: KwuSqoop handles Clob and Blob fields, Clob as large text in Oracle. The blob stores the binary file. This type of field is encountered when importing hive or HDFS requires special handling.1. measured frequently in OracleCREATE TABLE t_
[Author]: KwuSqoop handles Clob and Blob fields, Clob is large text in Oracle, andblobs store binary files. This type of field is encountered when importing hive or HDFS requires special handling. 1. Test Tables in OracleCREATE TABLE t_lob (
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.