Subject | Re: [firebird-support] Re: How many Unions allowed in firebird Select? |
---|---|
Author | Martijn Tonies |
Post date | 2005-11-05T19:27:57Z |
Hello Tony,
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
> > Naah, you just have to tell it what datatype to use for - in thisEhm, are you doing the CAST with the 3rd union as well?
> 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.
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