Hi there again,
i’ve tried every config combination of the driver, it didn’t work.
I have taken a look at the driver we use now… and see there, it is this driver
in version 1.03.00.89.
Just by updating to the next available version 1.03.00.96 it gives back the
error.
Regards
Antonio
Von: Pablo Sánchez [mailto:pab...@adinet.com.uy]
Gesendet: Donnerstag, 13. Oktober 2016 14:53
An: firebird-odbc-devel@lists.sourceforge.net
Betreff: Re: [Firebird-odbc-devel] SQL-Error using ODBC-Driver 2.0.4 and
Crystal Reports 2016
I guess you can check the odbc config for quoted identifier or autoquoted
identifier.
Regards
Pablo
On 10/13/2016 05:10 AM, Antonio Cambule (STÜBER SYSTEMS) wrote:
Hi Pablo,
I did that and got the same error.
Here is the Query without that
SELECT
"Lehrer"."Nachname", "Lehrer"."Vorname", "Lehrer"."Telefon",
"Lehrer"."Mandant",
"Lehrer"."Status", "AuswahlLehrer"."Mandant", "Lehrer"."Geburtsdatum",
"Lehrer"."Staatsangeh", "Lehrer"."Strasse", "Lehrer"."Ort", "Lehrer"."Email",
"Lehrer"."ZugangDatum", "Lehrer"."Dienstalter",
"Lehrer"."LetzteUeberpruefung",
"Dienstbez"."Bezeichnung", "Besoldungen"."Bezeichnung", "Lehrer"."Geschlecht",
"Lehrer"."Telefax", "Konfessionen"."Bezeichnung"
FROM (((" "."AuswahlLehrer" "AuswahlLehrer" LEFT OUTER JOIN " "."Lehrer"
"Lehrer" ON ("AuswahlLehrer"."Mandant"="Lehrer"."Mandant") AND
("AuswahlLehrer"."Lehrer"="Lehrer"."ID")) LEFT OUTER JOIN " "."Besoldungen"
"Besoldungen" ON "Lehrer"."Besoldung"="Besoldungen"."Kuerzel") LEFT OUTER JOIN
" "."Dienstbez" "Dienstbez" ON "Lehrer"."Dienstbez"="Dienstbez"."Kuerzel") LEFT
OUTER JOIN " "."Konfessionen" "Konfessionen" ON
"Lehrer"."Konfession"="Konfessionen"."Kuerzel"
WHERE "Lehrer"."Status"=1
ORDER BY
"Lehrer"."Mandant", "Lehrer"."Nachname", "Lehrer"."Vorname"
And the error is on this line:
FROM (((" "."AuswahlLehrer" "AuswahlLehrer" LEFT OUTER JOIN " "."Lehrer"
"Lehrer" ON
It doesn’t want the dot, or this kind of syntad: “ “. “AuswahlLehrer“
Again, the query is not done by us, but comes from the report in crystal
reports.
I know SQL but what Crystal produces is strange to me. I always thought it is
the odbc kind of syntax
That is used and that the odbc driver translates it.
Using Easysoft driver works.
Regards
Antonio
Von: Pablo Sánchez [mailto:pab...@adinet.com.uy]
Gesendet: Mittwoch, 12. Oktober 2016 17:49
An:
firebird-odbc-devel@lists.sourceforge.net<mailto:firebird-odbc-devel@lists.sourceforge.net>
Betreff: Re: [Firebird-odbc-devel] SQL-Error using ODBC-Driver 2.0.4 and
Crystal Reports 2016
Antonio, does this query runs on isql or any db manager ?
Take the odbc stuff out of it (like opening "{oj " and closing "}" ) and try a
run .
I see that the query, is shorter than 1165 chars....
Regards
Pablo
On 10/12/2016 11:04 AM, Antonio Cambule (STÜBER SYSTEMS) wrote:
Hello,
When it comes to execute a crystal reports file in the –most cases- (not all)
this error is thrown:
Fehler beim Öffnen eines Rowsets. (english: Error opening rowset)
Details: HY000:[ODBC Firebird Driver][Firebird]Dynamic SQL Error
SQL error code = -104
Token unkown – line 1, column 1165
.
Here ist he part oft he odbc.log file:
Connection=Mage 1b84-12cc ENTER SQLExecDirectW
HSTMT 0x082D1E30
WCHAR * 0x082D21BC [ -3] "
SELECT "Lehrer"."Nachname", "Lehrer"."Vorname", "Lehrer"."Telefon",
"Lehrer"."Mandant", "Lehrer"."Status", "AuswahlLehrer"."Mandant",
"Lehrer"."Geburtsdatum", "Lehrer"."Staatsangeh", "Lehrer"."Strasse",
"Lehrer"."Ort", "Lehrer"."Email", "Lehrer"."ZugangDatum",
"Lehrer"."Dienstalter", "Lehrer"."LetzteUeberpruefung",
"Dienstbez"."Bezeichnung", "Besoldungen"."Bezeichnung", "Lehrer"."Geschlecht",
"Lehrer"."Telefax", "Konfessionen"."Bezeichnung" FROM {oj ((("
"."AuswahlLehrer" "AuswahlLehrer" LEFT OUTER JOIN " "."Lehrer" "Lehrer" ON
("AuswahlLehrer"."Mandant"="Lehrer"."Mandant") AND
("AuswahlLehrer"."Lehrer"="Lehrer"."ID")) LEFT OUTER JOIN " "."Besoldungen"
"Besoldungen" ON "Lehrer"."Besoldung"="Besoldungen"."Kuerzel") LEFT OUTER JOIN
" "."Dienstbez" "Dienstbez" ON "Lehrer"."Dienstbez"="Dienstbez"."Kuerzel") LEFT
OUTER JOIN " "."Konfessionen" "Konfessionen" ON
"Lehrer"."Konfession"="Konfessionen"."Kuerzel"} WHERE "Lehrer"."Status"=1
ORDER BY "Lehrer"."Mandant", "Lehrer"."Nachname", "Lehrer"."Vorname"\ 0"
SDWORD -3
Connection=Mage 1b84-12cc EXIT SQLExecDirectW with return code -1
(SQL_ERROR)
HSTMT 0x082D1E30
WCHAR * 0x082D21BC [ -3] "
SELECT "Lehrer"."Nachname", "Lehrer"."Vorname", "Lehrer"."Telefon",
"Lehrer"."Mandant", "Lehrer"."Status", "AuswahlLehrer"."Mandant",
"Lehrer"."Geburtsdatum", "Lehrer"."Staatsangeh", "Lehrer"."Strasse",
"Lehrer"."Ort", "Lehrer"."Email", "Lehrer"."ZugangDatum",
"Lehrer"."Dienstalter", "Lehrer"."LetzteUeberpruefung",
"Dienstbez"."Bezeichnung", "Besoldungen"."Bezeichnung", "Lehrer"."Geschlecht",
"Lehrer"."Telefax", "Konfessionen"."Bezeichnung" FROM {oj ((("
"."AuswahlLehrer" "AuswahlLehrer" LEFT OUTER JOIN " "."Lehrer" "Lehrer" ON
("AuswahlLehrer"."Mandant"="Lehrer"."Mandant") AND
("AuswahlLehrer"."Lehrer"="Lehrer"."ID")) LEFT OUTER JOIN " "."Besoldungen"
"Besoldungen" ON "Lehrer"."Besoldung"="Besoldungen"."Kuerzel") LEFT OUTER JOIN
" "."Dienstbez" "Dienstbez" ON "Lehrer"."Dienstbez"="Dienstbez"."Kuerzel") LEFT
OUTER JOIN " "."Konfessionen" "Konfessionen" ON
"Lehrer"."Konfession"="Konfessionen"."Kuerzel"} WHERE "Lehrer"."Status"=1
ORDER BY "Lehrer"."Mandant", "Lehrer"."Nachname", "Lehrer"."Vorname"\ 0"
SDWORD -3
DIAG [HY000] [ODBC Firebird
Driver][Firebird]Dynamic SQL Error
SQL error code = -104
Token unknown - line 1, column 460
. (-104)
Is this behaviour known?
Any idea if this can be solved?
regards
Antonio Cambule
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-odbc-devel mailing list
Firebird-odbc-devel@lists.sourceforge.net<mailto:Firebird-odbc-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-odbc-devel mailing list
Firebird-odbc-devel@lists.sourceforge.net<mailto:Firebird-odbc-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Firebird-odbc-devel mailing list
Firebird-odbc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel