Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 21446 invoked from network); 8 Jun 2010 08:11:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Jun 2010 08:11:28 -0000 Received: (qmail 28102 invoked by uid 500); 8 Jun 2010 08:11:28 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 27887 invoked by uid 500); 8 Jun 2010 08:11:25 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 27875 invoked by uid 99); 8 Jun 2010 08:11:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 08:11:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fjanon@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jun 2010 08:11:17 +0000 Received: by vws9 with SMTP id 9so248472vws.31 for ; Tue, 08 Jun 2010 01:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=V6kbZlhpSH020RWCs+89nAL9x83P3ic0NmmKrRmQXDc=; b=HKMSATOUhbJ8AQosDabfYzbx+0ughibVLzew5qZlx8VQgv8NdDDDyRSxoGu0WSanHU Q7e7EikPKtSRGbCBOQ0OIDIKW3dE1qFYMb89iqLVOWw0HLx5/QQYXRdItyOb4Z2pbbBG 4UjVTMdSIaqbLiNahcNfQLsg4YGepmO1vUbwQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gXw18wioGLsk9gz8tsMN9ppGhF1RAGHoaW1H+3lK3Tjci6NfKTfGVb607fQUzt/nkk 18ZiCibUyLBvklemTuqiK/gEE43RNLzInIYZNnQO580MiVqKoEpUINac2E8wu6RKOTwh ktPFU5K4XNt4tMYw40MYxR9n4oMnNo+VRjT1g= MIME-Version: 1.0 Received: by 10.229.211.18 with SMTP id gm18mr5532780qcb.12.1275984656011; Tue, 08 Jun 2010 01:10:56 -0700 (PDT) Received: by 10.229.102.9 with HTTP; Tue, 8 Jun 2010 01:10:55 -0700 (PDT) In-Reply-To: <4C0DF839.2060503@sun.com> References: <4C0DF839.2060503@sun.com> Date: Tue, 8 Jun 2010 16:10:55 +0800 Message-ID: Subject: Re: Is 'SET SCHEMA' a supported IJ command? From: Fred Janon To: Derby Discussion Content-Type: multipart/alternative; boundary=0016363b8b822912950488805419 X-Virus-Checked: Checked by ClamAV on apache.org --0016363b8b822912950488805419 Content-Type: text/plain; charset=ISO-8859-1 OK, great, thanks Knut. Fred On Tue, Jun 8, 2010 at 15:58, Knut Anders Hatlen wrote: > On 06/ 8/10 09:37 AM, Fred Janon wrote: > > Hi, > > > > I was trying to set the 'default' schema in ij to avoid typing the > > schema name in front of the tables names but could not find any > > command to do that in the 'derbytools.pdf' file. After searching the > > mail archive, I saw mention of 'SET SCHEMA XXX'. I tried it and it > > seems to work but not documented. > > > > Is it really a supported command? > > Hi Fred, > > SET SCHEMA is supported, but it's an SQL statement rather than an IJ > command, so you'll have to look in the reference manual instead of the > tools guide. Here's the relevant section: > http://db.apache.org/derby/docs/10.6/ref/rrefsqlj32268.html > > -- > Knut Anders > > --0016363b8b822912950488805419 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable OK, great, thanks Knut.

Fred

On Tu= e, Jun 8, 2010 at 15:58, Knut Anders Hatlen <Knut.Hatlen@sun.com> wrote:
On 06/ 8/10 09:37 AM, Fred Janon wrote: > Hi,
>
> I was trying to set the 'default' schema in ij to avoid typing= the
> schema name in front of the tables names but could not find any
> command to do that in the 'derbytools.pdf' file. After searchi= ng the
> mail archive, I saw mention of 'SET SCHEMA XXX'. I tried it an= d it
> seems to work but not documented.
>
> Is it really a supported command?

Hi Fred,

SET SCHEMA is supported, but it's an SQL statement rather than an IJ command, so you'll have to look in the reference manual instead of the<= br> tools guide. Here's the relevant section:
http://db.apache.org/derby/docs/10.6/ref/rrefsqlj32268.html<= /a>

--
Knut Anders


--0016363b8b822912950488805419--