Re: [firebird-support] Re: Select column AS [column name] with space

2013-04-20 Thread Mark Rotteveel
On 19-4-2013 19:09, ramona.grissom wrote: The error is Invalid token. Dynamic SQL Error. SQL error code = -104. Token unknown - line 3, column 1. account number. I believe they are dialect 1, what is the difficulty in changing the dialect? Start with the Interbase 6.0 Getting Started,

[firebird-support] Re: Select column AS [column name] with space

2013-04-19 Thread ramona.grissom
Thanks Alan! We'll give it a try. Is this dependent on the version of FB the client is using? I think they are still on FB 1.5. --- In firebird-support@yahoogroups.com, Alan J Davies Alan.Davies@... wrote: That will work. Here's a real-life example I just changed using your question:

[firebird-support] Re: Select column AS [column name] with space

2013-04-19 Thread ramona.grissom
Tried the query and it fails. This works: select ii.part_number,extractweekday(ih.inv_date),ih.inv_date,ih.part_number as account_number from invitems ih join invitems ii on ii.inv_id=ih.inv_id group by ii.part_number,ih.inv_date,ih.inv_date,ih.part_number Doesn't work: select

Re: [firebird-support] Re: Select column AS [column name] with space

2013-04-19 Thread Mark Rotteveel
On Fri, 19 Apr 2013 16:39:36 -, ramona.grissom ramona.gris...@yahoo.com wrote: Tried the query and it fails. What is the error? This works: select ii.part_number,extractweekday(ih.inv_date),ih.inv_date,ih.part_number as account_number from invitems ih join invitems ii on

Re: [firebird-support] Re: Select column AS [column name] with space

2013-04-19 Thread Thomas Steinmaurer
Thanks Alan! We'll give it a try. Is this dependent on the version of FB the client is using? I think they are still on FB 1.5. The database needs to be dialect 3. -- With regards, Thomas Steinmaurer http://www.upscene.com/

[firebird-support] Re: Select column AS [column name] with space

2013-04-19 Thread ramona.grissom
The error is Invalid token. Dynamic SQL Error. SQL error code = -104. Token unknown - line 3, column 1. account number. I believe they are dialect 1, what is the difficulty in changing the dialect? This was tested on both FB 1.5 and FB 2.5 --- In firebird-support@yahoogroups.com, Mark

[firebird-support] Re: Select column AS [column name] with space

2013-04-19 Thread ramona.grissom
--- In firebird-support@yahoogroups.com, Thomas Steinmaurer ts@... wrote: Thanks Alan! We'll give it a try. Is this dependent on the version of FB the client is using? I think they are still on FB 1.5. The database needs to be dialect 3. I believe they are dialect 1, what is the