影像 | 音效 | 視訊 |
---|---|---|
X | X | X |
併入檔
語法
更新緩衝區或從屬站檔案的內容,並且更新註解
>>-Replace--(--handle--,--content--,--source_format--,----------> >----target_file--,--comment--)--------------------------------><
語法
更新伺服器檔案的內容,並更新註解
>>-Replace--(--handle--,--source_file--,--source_format--,--stortype--,--> >---comment--)-------------------------------------------------><
併入檔
更新緩衝區或從屬站檔案中具有使用者提供屬性的內容,並更新註解
>>-Replace--(--handle--,--content--,--target_file--,------------> >----comment--,--attrs--,--thumbnail--)------------------------><
併入檔
更新伺服器檔案中具有使用者提供屬性的內容,並更新註解
>>-Replace--(--handle--,--source_file--,--stortype--,--comment--,--> >---attrs--,--thumbnail--)-------------------------------------><
語法
更新緩衝區或從屬站檔案的內容,並做格式轉換及更新註解 -- 僅適用於影像
>>-Replace--(--handle--,--content--,--source_format--,----------> >----target_format--,--target_file--,--comment--)--------------><
語法
使用格式轉換更新伺服器檔案內容及更新註解 -- 僅適用於影像
>>-Replace--(--handle--,--source_file--,--source_format--,------> >----target_format--,--target_file--,--comment--)--------------><
語法
更新緩衝區或從屬站檔案的內容,並做格式轉換及其他變更,同時更新註解 -- 僅適用於影像
>>-Replace--(--handle--,--content--,--source_format--,----------> >----target_format--,--target_file--,--conversion_options--,----> >----comment--)------------------------------------------------><
語法
更新伺服器檔案內容,並做格式轉換及其他變更,同時 更新註解 -- 僅適用於影像
>>-Replace--(--handle--,--source_file--,--source_format--,------> >----target_format--,--conversion_options--,--target_file--,----> >----comment--)------------------------------------------------><
參數 (資料類型)
回覆值 (資料類型)
要更新的影像、音效或視訊的 handle (DB2IMAGE、DB2AUDIO 或 DB2VIDEO)。
範例
更新員工表格的圖片直欄中 Anita Jones 的影像、 將影像格式從 BMP 轉換成 GIF 及更新註解:
EXEC SQL BEGIN DECLARE SECTION; long hvStorageType; EXEC SQL END DECLARE SECTION; hvStorageType = MMDB_STORAGE_TYPE_INTERNAL; EXEC SQL UPDATE EMPLOYEE SET PICTURE = REPLACE(PICTURE, '/employee/newimg/ajones.bmp', 'BMP', 'GIF', :hvStorageType, 'Anita''s new picture') WHERE NAME='Anita Jones';