Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebird token unknown error #445

Closed
e-belair opened this issue Jan 20, 2021 · 1 comment
Closed

Firebird token unknown error #445

e-belair opened this issue Jan 20, 2021 · 1 comment

Comments

@e-belair
Copy link

Hi, I'm getting this error when I try a simple select query:

FirebirdSql.Data.FirebirdClient.FbException: 'Dynamic SQL Error
SQL error code = -104
Token unknown - line 1, column 15
['

This the code:

var connection = new FbConnection(connectionString);
var compiler = new SqlServerCompiler();

var db = new QueryFactory(connection, compiler);
var communes = db.Query("communes").Select().Get();

Note that I don't get the error if I'm using fromRaw("communes")
I'm using the v2.2.0

@e-belair
Copy link
Author

I've made a mistake by using SqlServerCompiler instead of FirebirdCompiler .... my bad ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant