Subject | Re: [firebird-support] Invalid BLOB ID - Is it expected? |
---|---|
Author | Dmitry Yemanov |
Post date | 2007-05-25T04:12:46Z |
Fabiano Bonin wrote:
All the queries work fine in v2.1 due to its blob related features.
Dmitry
>Both should throw.
> select result from sp_test
> OK
>
> select substring(result from 1 for 10) from sp_test
> OK
> select (select substring(result from 1 for 10) from sp_test) from rdb$databaseQuite expected, as text blobs are not compatible with strings.
> Error - invalid BLOB ID
>
> select cast(result as varchar(10)) from sp_test
> Error - conversion error from string BLOB
All the queries work fine in v2.1 due to its blob related features.
Dmitry