Oracle8i Application Developer's Guide - Large Objects (LOBs) Release 2 (8.1.6) Part Number A76940-01 |
|
External LOBs (BFILEs), 35 of 41
See Also:
"Use Case Model: External LOBs (BFILEs)" for all basic operations of External LOBs (BFILES). |
This procedure describes how to UPDATE a BFILE by selecting a BFILE from another table.
There is no copy function for BFILE
s, so you have to use UPDATE
as SELECT
if you want to copy a BFILE
from one location to another. Because BFILE
s use reference semantics instead of copy semantics, only the BFILE
locator is copied from one row to another row. This means that you cannot make a copy of an external LOB
value without issuing an operating system command to copy the operating system file.
Use the following syntax references:
This example updates the table, Voiceover_tab by selecting from the archival storage table, VoiceoverLib_tab./
The example is provided in SQL and applies to all programmatic environments:
UPDATE Voiceover_tab SET (originator,script,actor,take,recording) = (SELECT * FROM VoiceoverLib_tab VLtab WHERE VLtab.Take = 101);
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|