利用文本搜索数据填充表

该示例通过使用 FileToCLOB() 智能大对象函数,以使用操作系统文件 /local0/excal/dbms.txt 中的数据来填充 reports 表的 CLOB 列。
INSERT INTO reports (doc_no, author, title, abstract)
    VALUES( 
        1, 
        'C.J. Date',
        'Introduction to Database Systems',
        FileToCLOB ('/local0/excal/dbms.txt', 'client')
);

也可以使用 LOCopy() 智能大对象函数通过数据库内某个 CLOB 列中的数据来填充另一个 CLOB 列。