You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2019/09/20 19:56:00 UTC
[jira] [Resolved] (CALCITE-3344) In JDBC adapter, generate "SELECT
TOP(n)" for MSSQL 2008 and earlier, and for Sybase ASE
[ https://issues.apache.org/jira/browse/CALCITE-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved CALCITE-3344.
----------------------------------
Fix Version/s: 1.22.0
Resolution: Fixed
Fixed in [02a4ced3|https://github.com/apache/calcite/commit/02a4ced35cb1f9fdc18b16528db1f922365a33c2].
> In JDBC adapter, generate "SELECT TOP(n)" for MSSQL 2008 and earlier, and for Sybase ASE
> ----------------------------------------------------------------------------------------
>
> 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
> Fix For: 1.22.0
>
>
> 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.4#803005)