Skip to content

Firebird can't be used with case sensitive (quoted) table names #431

Description

@jlogar

Description

I have a DB that uses quoted (camel case) table names. I couldn't find a way to make the provider use correct names so all my queries fail.

Repro steps

Do a query on a table that was created using quotes. Something like "Assistant". Query using sth like:

    let ctx = sql.GetDataContext()
    let a = query {
             for ass in ctx.Dbo.Assistant do
             select ass
             }

Expected behavior

Rows should be returned.

Actual behavior

An exception occurs because the provider tries to use an unquoted table name so upper case is used by Firebird (eg. ASSISTANT). The query fails with:

SQL error code = -204
Table unknown
ASSISTANT

Related information

  • Firebird 2.5.6
  • Win 10
  • .NET 4.6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions