Skip to content

RuntimeError (Unknown bind columns. We can account for this.): #239

@CloCkWeRX

Description

@CloCkWeRX

Similar to #118

$ cat Gemfile.lock | grep sql
activerecord-sqlserver-adapter (3.2.10)
activerecord-sqlserver-adapter (~> 3.2.0)

Creating a view with a lower case name fails to correctly map.

The below fails to map to a 'Views::ExampleViewName' class
CREATE VIEW example_view_name AS ...

Combined with
Views::ExampleViewName.find(1)

produces:
RuntimeError (Unknown bind columns. We can account for this.):

Creating the view with uppercase appears to work
CREATE VIEW EXAMPLE_VIEW_NAME AS ...

Misc other things:
$ dpkg -l | grep tds
ii freetds-bin 0.91-1build1 amd64 FreeTDS command-line utilities
ii freetds-common 0.91-1build1 all configuration files for FreeTDS SQL client libraries
ii freetds-dev 0.91-1build1 amd64 MS SQL and Sybase client library (static libs and headers)
ii libjtds-java 1.2.5+dfsg-2ubuntu1 all JDBC 3.0 driver for Microsoft SQL Server(tm) and Sybase(tm)
ii tdsodbc:amd64 0.91-1build1 amd64 ODBC driver for connecting to MS SQL and Sybase SQL servers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions