Subject | Re: [firebird-support] Re: SQL Server Migration to Firebird |
---|---|
Author | Milan Babuskov |
Post date | 2010-07-02T15:41:40Z |
sqlsvr wrote:
select * from
(
select 'a' as col1, 1 as col2 from rdb$database union all
select 'a', 2 from rdb$database union all
select 'a', 3 from rdb$database
) tbl
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================
> Thanks! One last question, in standard SQL...there is Row Constructors. Example: SELECT * FROM (('a','1'),('a','2'),('a','3')) AS tbl;Firebird does not support such syntax. You can do:
> How come this does not work in Firebird?
select * from
(
select 'a' as col1, 1 as col2 from rdb$database union all
select 'a', 2 from rdb$database union all
select 'a', 3 from rdb$database
) tbl
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================