question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MSSQL support: minimum required version?

See original GitHub issue

What is the minimum version of MSSQL server that Knex now supports? I’m asking, because when I do this:

        return knex('table')
            .select('id')
            .orderBy('id', 'asc')
            .limit(20)
            .offset(10);

I get this:

Fatal error: select [id] from [table] order by [id] ASC offset @p0 rows fetch next @p1 rows only - Invalid usage of the option next in the FETCH statement.

This is on MSSQL server 2008.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:17 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
minecrawlercommented, Aug 10, 2017

Knex should definitely support older versions of MSSQL, or professionals will never be able to use Knex. In big companies, still having SQL 2008 servers is not rare - even today!

3reactions
juhguucommented, Sep 21, 2018

I have this bug using SQL server 2017 for linux on Docker.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL Server 2019: Hardware & software requirements
Hardware requirements ; Memory *, Minimum: Express Editions: 512 MB All other editions: 1 GB Recommended: Express Editions: 1 GB All other ...
Read more >
MSSQL support: minimum required version? #1527 - GitHub
What is the minimum version of MSSQL server that Knex now supports? I'm asking, because when I do this: return knex('table') .select('id') ....
Read more >
What are the requirements for SQL Server 2016? - ServerMania
The absolute minimum amount of RAM is 512MB for the Express version of SQL Server 2016. To adequately meet the needs of all...
Read more >
Installing SQL Server 2016 - SQLShack
Operating System​​ Systems that are currently supported for SQL Server 2016 installation are: Windows 8 and 8.1 (All 64 bit editions) Windows 10 ......
Read more >
Is your SQL Server version still supported? - Monin
The same goes up for Microsoft SQL Server. From the initial release, each version is supported for a minimum of 10 years (according...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found