Subject | Re: [firebird-support] text blob field as parameter in where clause |
---|---|
Author | german aracil boned |
Post date | 2004-06-06T19:27:39Z |
Robert escribió:
an integer "ID" field indexed and unique with one generator (gen_id).
It's very very fast.
bye
>Executing the next statement gives me SQL error -902 Internal error.Is not supported by firebird. You can't put a blob field in "where". Use
>
>UPDATE MyTable
>SET MemoField = :MemoField
>WHERE (UniqueField = :Old$UniqueField) AND (MemoField = :Old$MemoField)
>
>It seems this is caused because MemoField is a (text) blob field; updates to
>other field types give no errors.
>
>I like to use this statement to be sure MemoField is not changed by another
>user.
>
>Is the use of blob fields as parameter in the WHERE clause not supported by
>Firebird 1.5 (WI-V1.5.0.4290), or is my construction wrong?
>
>
an integer "ID" field indexed and unique with one generator (gen_id).
It's very very fast.
bye