Subject RE: [firebird-support] CAST question
Author Alan McDonald
> Hello:
>
> I'm having problems trying to CAST a value to VARCHAR (Firebird
> 1.5.0.4306):
>
> SELECT * FROM "TEST" WHERE CAST('' AS VARCHAR) IS NULL
>
> or
>
> SELECT * FROM "TEST" WHERE CAST(? AS VARCHAR) IS NULL
>
> Gives this error:
>

cast(? as varchar(10)) is null
Alan