Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

UPDATEBLOB – PB Docs 125 – PowerBuilder Library

UPDATEBLOB – PB Docs 125

UPDATEBLOB SQL statement

Description

Updates the rows in TableName in BlobColumn.

Syntax

Parameter

Description

TableName

The name of the table you want to update.

BlobColumn

The name of the column you want to update
in TableName. The datatype of this column must
be blob.

BlobVariable

A PowerScript variable of the datatype
blob.

RestOfUpdateStatement

The rest of the UPDATE statement
(the WHERE clause).

TransactionObject

The name of the transaction object that
identifies the database containing the table. This clause is required
only for transaction objects other than the default (SQLCA).

Usage

note.png Error handling

It is good practice to test the success/failure code
after executing an UPDATEBLOB statement. To make
sure the update affected at least one row, check the SQLNRows property of SQLCA or the transaction object.
The SQLCode or SQLDBCode property will
not indicate the success or failure of the UPDATEBLOB statement.

note.png Database information

Sybase ASE users must set the AutoCommit property of the transaction
object to True before calling the UPDATEBLOB function.
For information about the AutoCommit property, see Connecting
to Your Database
.

Examples

These statements update the blob column emp_pic in
the Employee table, where emp_num is
100:

The blob Emp_id_pic requires
a colon to indicate it is a host (PowerScript) variable in the UPDATEBLOB statement.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x