Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateExternal functions (UDFs) → string2blob
Firebird Home Firebird Home Prev: srightFirebird Documentation IndexUp: External functions (UDFs)Next: strlen

string2blob

Library: fbudf

Added in: 1.0 (Win), 1.5 (Linux)

Better alternative: Internal function CAST()

Description: Returns the input string as a BLOB.

Result type: BLOB

Syntax: 

string2blob (str)

Declaration: 

DECLARE EXTERNAL FUNCTION string2blob
   VARCHAR(300) BY DESCRIPTOR,
   BLOB RETURNS PARAMETER 2
   ENTRY_POINT 'string2blob' MODULE_NAME 'fbudf'
Prev: srightFirebird Documentation IndexUp: External functions (UDFs)Next: strlen
Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateExternal functions (UDFs) → string2blob