Discussion:
[Firebird-odbc-devel] Firebird ODBC 2.0.2.153 with Excel 2007
Steve Boyd
2013-11-11 19:23:24 UTC
Permalink
When trying to retrieve data into Excel from a Firebird 2.5 database
using the Firebird ODBC driver V2.0.2.153 I get an error after I click
OK on the Import Data dialogue. The error is:

Dynamic SQL error
SQL error code = -104
Unknown token Line 1 column 27 '.'

Since this clearly had something to do with the SELECT statement I tried
clicking the Properties button on the Import Data dialogue. The SELECT
statement generated by Excel is as follows:

Select * from "Operations"."Accounts"

where Operations in the ODBC data source name.

The Firebird ODBC driver apparently doesn't like this very much since
removing "Operations". from the query gets everything working. While
this bit of manual command editing doesn't bother me overly much it
would be a big issue to end users who are trying to pull their data into
a spreadsheet.

Is there any chance that this peculiar SQL syntax could be recognized by
the ODBC driver?

Thanks




---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
Alexander Potapchenko
2013-11-11 20:27:47 UTC
Permalink
Hi Steve,

It is a bug in the Firebird ODBC driver. Create issue in the bug tracker
http://tracker.firebirdsql.org/browse/ODBC please.
Post by Steve Boyd
When trying to retrieve data into Excel from a Firebird 2.5 database
using the Firebird ODBC driver V2.0.2.153 I get an error after I click
Dynamic SQL error
SQL error code = -104
Unknown token Line 1 column 27 '.'
Since this clearly had something to do with the SELECT statement I
tried clicking the Properties button on the Import Data dialogue. The
Select * from "Operations"."Accounts"
where Operations in the ODBC data source name.
The Firebird ODBC driver apparently doesn't like this very much since
removing "Operations". from the query gets everything working. While
this bit of manual command editing doesn't bother me overly much it
would be a big issue to end users who are trying to pull their data
into a spreadsheet.
Is there any chance that this peculiar SQL syntax could be recognized
by the ODBC driver?
Thanks
------------------------------------------------------------------------
<http://www.avast.com/>
This email is free from viruses and malware because avast! Antivirus
<http://www.avast.com/> protection is active.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
--
Alexander Potapchenko
Team leader
LASP Technologies, http://www.lasptech.ru
Steve Boyd
2013-11-12 15:18:36 UTC
Permalink
Done!
Post by Steve Boyd
When trying to retrieve data into Excel from a Firebird 2.5 database
using the Firebird ODBC driver V2.0.2.153 I get an error after I click
Dynamic SQL error
SQL error code = -104
Unknown token Line 1 column 27 '.'
Since this clearly had something to do with the SELECT statement I
tried clicking the Properties button on the Import Data dialogue. The
Select * from "Operations"."Accounts"
where Operations in the ODBC data source name.
The Firebird ODBC driver apparently doesn't like this very much since
removing "Operations". from the query gets everything working. While
this bit of manual command editing doesn't bother me overly much it
would be a big issue to end users who are trying to pull their data
into a spreadsheet.
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
Alexander Potapchenko
2013-11-12 18:10:15 UTC
Permalink
Fixed.
Post by Steve Boyd
Done!
Post by Steve Boyd
When trying to retrieve data into Excel from a Firebird 2.5 database
using the Firebird ODBC driver V2.0.2.153 I get an error after I
Dynamic SQL error
SQL error code = -104
Unknown token Line 1 column 27 '.'
Since this clearly had something to do with the SELECT statement I
tried clicking the Properties button on the Import Data dialogue. The
Select * from "Operations"."Accounts"
where Operations in the ODBC data source name.
The Firebird ODBC driver apparently doesn't like this very much since
removing "Operations". from the query gets everything working. While
this bit of manual command editing doesn't bother me overly much it
would be a big issue to end users who are trying to pull their data
into a spreadsheet.
------------------------------------------------------------------------
<http://www.avast.com/>
This email is free from viruses and malware because avast! Antivirus
<http://www.avast.com/> protection is active.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
--
Alexander Potapchenko
Team leader
LASP Technologies, http://www.lasptech.ru
Steve Boyd
2013-11-12 18:50:58 UTC
Permalink
When I replace \windows\system32\odbcfb.dll with this one I can no
longer access the datasource at all. I get an DLL load error. Is the
supplied DLL the 32-bit or 64-bit version? If 32-bit, can I get the 64-bit?

Thanks
Post by Alexander Potapchenko
Fixed.
Post by Steve Boyd
Done!
Post by Steve Boyd
When trying to retrieve data into Excel from a Firebird 2.5 database
using the Firebird ODBC driver V2.0.2.153 I get an error after I
Dynamic SQL error
SQL error code = -104
Unknown token Line 1 column 27 '.'
Since this clearly had something to do with the SELECT statement I
tried clicking the Properties button on the Import Data dialogue.
Select * from "Operations"."Accounts"
where Operations in the ODBC data source name.
The Firebird ODBC driver apparently doesn't like this very much
since removing "Operations". from the query gets everything working.
While this bit of manual command editing doesn't bother me overly
much it would be a big issue to end users who are trying to pull
their data into a spreadsheet.
------------------------------------------------------------------------
<http://www.avast.com/>
This email is free from viruses and malware because avast! Antivirus
<http://www.avast.com/> protection is active.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
--
Alexander Potapchenko
Team leader
LASP Technologies, http://www.lasptech.ru
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
Alexander Potapchenko
2013-11-12 19:42:01 UTC
Permalink
I have attached 64-bit driver too.
Post by Steve Boyd
When I replace \windows\system32\odbcfb.dll with this one I can no
longer access the datasource at all. I get an DLL load error. Is the
supplied DLL the 32-bit or 64-bit version? If 32-bit, can I get the 64-bit?
Thanks
Post by Alexander Potapchenko
Fixed.
Post by Steve Boyd
Done!
Post by Steve Boyd
When trying to retrieve data into Excel from a Firebird 2.5
database using the Firebird ODBC driver V2.0.2.153 I get an error
Dynamic SQL error
SQL error code = -104
Unknown token Line 1 column 27 '.'
Since this clearly had something to do with the SELECT statement I
tried clicking the Properties button on the Import Data dialogue.
Select * from "Operations"."Accounts"
where Operations in the ODBC data source name.
The Firebird ODBC driver apparently doesn't like this very much
since removing "Operations". from the query gets everything
working. While this bit of manual command editing doesn't bother me
overly much it would be a big issue to end users who are trying to
pull their data into a spreadsheet.
------------------------------------------------------------------------
<http://www.avast.com/>
This email is free from viruses and malware because avast! Antivirus
<http://www.avast.com/> protection is active.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
--
Alexander Potapchenko
Team leader
LASP Technologies, http://www.lasptech.ru
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
------------------------------------------------------------------------
<http://www.avast.com/>
This email is free from viruses and malware because avast! Antivirus
<http://www.avast.com/> protection is active.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
--
Alexander Potapchenko
Team leader
LASP Technologies, http://www.lasptech.ru
Steve Boyd
2013-11-12 20:50:22 UTC
Permalink
That fixed it. Thank you very much for your prompt response.

I assume that this will get released as an installer image at some point?
Post by Alexander Potapchenko
I have attached 64-bit driver too.
Post by Steve Boyd
When I replace \windows\system32\odbcfb.dll with this one I can no
longer access the datasource at all. I get an DLL load error. Is the
supplied DLL the 32-bit or 64-bit version? If 32-bit, can I get the 64-bit?
Thanks
Post by Alexander Potapchenko
Fixed.
Post by Steve Boyd
Done!
Post by Steve Boyd
When trying to retrieve data into Excel from a Firebird 2.5
database using the Firebird ODBC driver V2.0.2.153 I get an error
Dynamic SQL error
SQL error code = -104
Unknown token Line 1 column 27 '.'
Since this clearly had something to do with the SELECT statement I
tried clicking the Properties button on the Import Data dialogue.
Select * from "Operations"."Accounts"
where Operations in the ODBC data source name.
The Firebird ODBC driver apparently doesn't like this very much
since removing "Operations". from the query gets everything
working. While this bit of manual command editing doesn't bother
me overly much it would be a big issue to end users who are trying
to pull their data into a spreadsheet.
------------------------------------------------------------------------
<http://www.avast.com/>
This email is free from viruses and malware because avast!
Antivirus <http://www.avast.com/> protection is active.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
--
Alexander Potapchenko
Team leader
LASP Technologies, http://www.lasptech.ru
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
------------------------------------------------------------------------
<http://www.avast.com/>
This email is free from viruses and malware because avast! Antivirus
<http://www.avast.com/> protection is active.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
--
Alexander Potapchenko
Team leader
LASP Technologies, http://www.lasptech.ru
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
Alexander Potapchenko
2013-11-13 06:02:56 UTC
Permalink
Post by Steve Boyd
That fixed it. Thank you very much for your prompt response.
I assume that this will get released as an installer image at some point?
Of course.
Post by Steve Boyd
Post by Alexander Potapchenko
I have attached 64-bit driver too.
Post by Steve Boyd
When I replace \windows\system32\odbcfb.dll with this one I can no
longer access the datasource at all. I get an DLL load error. Is the
supplied DLL the 32-bit or 64-bit version? If 32-bit, can I get the 64-bit?
Thanks
Post by Alexander Potapchenko
Fixed.
Post by Steve Boyd
Done!
Post by Steve Boyd
When trying to retrieve data into Excel from a Firebird 2.5
database using the Firebird ODBC driver V2.0.2.153 I get an error
Dynamic SQL error
SQL error code = -104
Unknown token Line 1 column 27 '.'
Since this clearly had something to do with the SELECT statement
I tried clicking the Properties button on the Import Data
Select * from "Operations"."Accounts"
where Operations in the ODBC data source name.
The Firebird ODBC driver apparently doesn't like this very much
since removing "Operations". from the query gets everything
working. While this bit of manual command editing doesn't bother
me overly much it would be a big issue to end users who are
trying to pull their data into a spreadsheet.
------------------------------------------------------------------------
<http://www.avast.com/>
This email is free from viruses and malware because avast!
Antivirus <http://www.avast.com/> protection is active.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
--
Alexander Potapchenko
Team leader
LASP Technologies, http://www.lasptech.ru
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
------------------------------------------------------------------------
<http://www.avast.com/>
This email is free from viruses and malware because avast! Antivirus
<http://www.avast.com/> protection is active.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
--
Alexander Potapchenko
Team leader
LASP Technologies, http://www.lasptech.ru
------------------------------------------------------------------------------
DreamFactory - Open Source REST& JSON Services for HTML5& Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
------------------------------------------------------------------------
<http://www.avast.com/>
This email is free from viruses and malware because avast! Antivirus
<http://www.avast.com/> protection is active.
------------------------------------------------------------------------------
DreamFactory - Open Source REST& JSON Services for HTML5& Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-odbc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
--
Alexander Potapchenko
Team leader
LASP Technologies, http://www.lasptech.ru
Loading...