Subject Re: [firebird-support] Re: How many Unions allowed in firebird Select?
Author Martijn Tonies
Hello Tony,

> > Naah, you just have to tell it what datatype to use for - in this
> case -
> > the first column:
> >
> > select cast('Minimum' as varchar(9) ), ...
> > UNION
> > select cast('Maximum' as varchar(9) ), ...
> >
> Thanks for the suggestion Martijn but same error code returned.
> Starnge that one UNION works OK but not two.

Ehm, are you doing the CAST with the 3rd union as well?

With regards,

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com