Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 21673 invoked from network); 3 May 2009 12:13:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 May 2009 12:13:52 -0000 Received: (qmail 93044 invoked by uid 500); 3 May 2009 12:13:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 92966 invoked by uid 500); 3 May 2009 12:13:51 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 92958 invoked by uid 99); 3 May 2009 12:13:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 May 2009 12:13:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 May 2009 12:13:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 501B1234C003 for ; Sun, 3 May 2009 05:13:30 -0700 (PDT) Message-ID: <934110193.1241352810323.JavaMail.jira@brutus> Date: Sun, 3 May 2009 05:13:30 -0700 (PDT) From: "Steve Radman (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-4208) Parameters ? with OFFSET and/or FETCH MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Parameters ? with OFFSET and/or FETCH ------------------------------------- Key: DERBY-4208 URL: https://issues.apache.org/jira/browse/DERBY-4208 Project: Derby Issue Type: New Feature Affects Versions: 10.5.1.1 Reporter: Steve Radman The new OFFSET/FETCH syntax does not support Parameters. >From ij against the toursdb I would like to do the following: ij> prepare foo as 'select * from cities offset ? rows fetch first 10 rows only'; but results in the following syntax error: ERROR 42X01: Syntax error: Encountered "?" at line 1, column 29. Parameterized OFFSET/FETCH is important for performance (can be prepared) and security (SQL strings not created on the fly). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.