728x90
Question
The SQL UNLOAD TO statement places a reference to the Smart Large Object (BLOB or CLOB) into the UNLOAD TO file and the BLOB or CLOB data into a separate Smart Large Object file. What is the format of the reference in the UNLOAD TO/LOAD FROM file and the format of the name assigned to the BLOB or CLOB file?
Answer
The Smart Large Object file has a name in one of these formats:
- For a BLOB value: blob#####.###
For a CLOB value: clob#####.###
- 예) 파일내용. 오프셋은 16진수로 표현한다
- |100,200,/usr/apps/clob9ce7.318|
######.###
- The digits of the unique hexadecimal smart-large-object identifier. Automatically assigned to the file when it is created.
In an UNLOAD TO/LOAD FROM file, a BLOB or CLOB column value appears as follows:
- start_offset,length,location_path
- start_offset
- The starting offset (bytes, in hexadecimal) of the smart large object value within the blob/clob file.
- length
- The length (bytes, in hexadecimal) of the BLOB or CLOB value.
- location_path
- The full pathname to the location where the blob/clob file is stored. If a full path is not specified the current directory will be used.
- Note: No blank spaces can appear between these values.
http://www-01.ibm.com/support/docview.wss?rs=0&uid=swg21197723
728x90
'Informix > informix reference' 카테고리의 다른 글
Changing Primary and Secondary server types in HDR (0) | 2012.11.07 |
---|---|
Client based DBaccess Availability (0) | 2012.10.30 |
Estimating ontape backup space usage (0) | 2012.10.08 |
Informix Connectivity Packages (Online/SE/NET/STAR) (0) | 2012.08.23 |
In Informix Server how can I confirm my NETTYPE settings have taken effect (0) | 2012.08.22 |