Skip to content

remove quotemarks: PostgreSQL case sensitivity (& msSQL compatability) #392

Open

Description

@Justus-Maier

The legacy database im using exists in postgres and mssql variants, the postgre db has everything lowercased, while the tables in the mssql db have also some capital letters.

  • MSSQL seems not to care about the casing of table and column names at all
  • PostgreSQL cares about casing, if quotemarks are used!
  • PostgreSQL uses 'public' schema, msSQL doesn't use one

Obviously I want to select one dialect and have it just work.
I'd like to keep using camel case, but since everything in the postgre db is lowercase, I have to use those names (moduleid, modulename), because querying without quotemarks is not possible?

Please help me to solve this properly, creating an abstraction over those sql dialects!

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions