v5:reference:connection:updateblobfile
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| reference:updateblobfile [2015/08/05 03:14] – created mnewnham | v5:reference:connection:updateblobfile [2026/03/20 01:47] (current) – mnewnham | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| <WRAP info> | <WRAP info> | ||
| - | Support for this function is limited. See the [[database: | + | Support for this function is limited. See the [[v5:database: |
| </ | </ | ||
| <WRAP right box> | <WRAP right box> | ||
| Line 17: | Line 17: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | The function '' | + | The function '' |
| <WRAP tip 300px> | <WRAP tip 300px> | ||
| The physical file must be resident on the server from which the script is run, not the workstation. | The physical file must be resident on the server from which the script is run, not the workstation. | ||
| </ | </ | ||
| + | ===== $table ===== | ||
| + | The table where the LOB is to be stored | ||
| + | ===== $column ===== | ||
| + | The column where the LOB is to be stored. The column should be of an appropriate type to store the data format required (see below) | ||
| + | |||
| ===== $where===== | ===== $where===== | ||
| - | The where statement | + | The $where statement |
| ===== $type ===== | ===== $type ===== | ||
| The only acceptable values for $type are '' | The only acceptable values for $type are '' | ||
| Line 37: | Line 42: | ||
| $db-> | $db-> | ||
| </ | </ | ||
| + | ===== Column Support For BLOB and CLOB ===== | ||
| + | ^Database^ CLOB ^ BLOB ^ | ||
| + | ^MetaType| X | B | | ||
| + | ^MySQL| LONGTEXT| LONGBLOB | | ||
| + | ^IBM DB2 | CLOB | BLOB(100M) | | ||
| + | ^Oracle | CLOB | BLOB | | ||
| + | ^SQL Server| TEXT | VARBINARY(MAX) | | ||
| + | ^PostgreSQL | TEXT | BYTEA | | ||
| + | ^SQLite | TEXT | BLOB | | ||
| + | |||
v5/reference/connection/updateblobfile.1438737245.txt.gz · Last modified: (external edit)
