Subject | Re: [firebird-support] UNION Problems |
---|---|
Author | Martijn Tonies |
Post date | 2005-01-17T14:13:31Z |
> I am having problems using the union operator on two tables. CouldCast as what?
> somebody point out my mistake. Below is the SQL code.
>
> SELECT CAST LrgAddrData
> FROM LargeAddress"char" is not valid here - use, for example, CHAR(20)
> WHERE WPVBSQ < 20
> UNION ALL
> SELECT CAST (SmllAddrData AS CHAR)
> FROM SmallAddressYeah well, that's another mistake too ;-)
> WHERE WPVBSQ < 20
>
> Flamerobin shows the following error code :
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server
Upscene Productions
http://www.upscene.com