[
https://issues.apache.org/jira/browse/CALCITE-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16929666#comment-16929666
]
Jess Balint commented on CALCITE-3344:
--------------------------------------
this will also improve compatibility with Sybase ASE which supports only TOP,
and not FETCh or LIMIT
> 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)