Subject | Re: [firebird-support] Could you help me with basic SELECT queries, please? |
---|---|
Author | Milan Babuskov |
Post date | 2011-04-15T16:02:10Z |
truewodzu wrote:
select cities.*, (1+1) as test from cities
Regards,
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================
> I just don't get why this SELECT statements doesn't work as they work on the MS SQL Server. I know, two different engines. But what am I doing wrong?http://www.firebirdfaq.org/faq30
>
> FIRST EXAMPLE:
>
> SELECT 5
>
> I would expect to get a result with one row and one column and the value 5, instead of I am getting this error in FlameRobin:
> SELECT *, (1+1) AS test FROM CITIESTry:
>
> Again, I would expect to have in each row a column called "test" with the value of 2 in it. Instead:
select cities.*, (1+1) as test from cities
> EXECUTE BLOCKEXECUTE BLOCK RETURNING...
Regards,
--
Milan Babuskov
==================================
The easiest way to import XML, CSV
and textual files into Firebird:
http://www.guacosoft.com/xmlwizard
==================================