[ 
https://issues.apache.org/jira/browse/CALCITE-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16929668#comment-16929668
 ] 

Julian Hyde commented on CALCITE-3344:
--------------------------------------

Do any versions of Sybase ASE support FETCH?

> 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)

Reply via email to