Skip to content

top generates a query that is invalid for MSSQL #7

Description

@dfrese

The (top!) query generates an SQL statement like select ... from ... limit N, but MSSQL does not accept that. There the result set can be reduced like select top N from ....

Afaik, there is no way to change that in a custom 'backend', is it?

I don't know if adjusting the SQL generated from the expression is the best way to go, or allowing a library user to add new sqlosure expressions, so that I could write my own mssql-top.

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