[
https://issues.apache.org/jira/browse/CALCITE-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde updated CALCITE-3344:
---------------------------------
Description:
In JDBC adapter, generate "SELECT TOP\(n)" for Microsoft SQL Server (MSSQL)
2008 and earlier, because it doesn't support "FETCH".
For MSSQL 2012 and higher, continue to generate "FETCH NEXT n ROWS".
I have started work here:
[https://github.com/julianhyde/calcite/tree/3344-top-n]
was:
In JDBC adapter, generate "SELECT TOP(n)" for Microsoft SQL Server (MSSQL) 2008
and earlier, because it doesn't support "FETCH".
For MSSQL 2012 and higher, continue to generate "FETCH NEXT n ROWS".
I have started work here:
[https://github.com/julianhyde/calcite/tree/3344-top-n]
> In JDBC adapter, generate "SELECT TOP(n)" for MSSQL 2008 and earlier
> --------------------------------------------------------------------
>
> Key: CALCITE-3344
> URL: https://issues.apache.org/jira/browse/CALCITE-3344
> Project: Calcite
> Issue Type: Bug
> Components: jdbc-adapter
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Priority: Major
>
> In JDBC adapter, generate "SELECT TOP\(n)" for Microsoft SQL Server (MSSQL)
> 2008 and earlier, because it doesn't support "FETCH".
> For MSSQL 2012 and higher, continue to generate "FETCH NEXT n ROWS".
> I have started work here:
> [https://github.com/julianhyde/calcite/tree/3344-top-n]
--
This message was sent by Atlassian Jira
(v8.3.2#803003)