Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 34761 invoked from network); 22 Aug 2008 13:12:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2008 13:12:25 -0000 Received: (qmail 61110 invoked by uid 500); 22 Aug 2008 13:12:22 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 61091 invoked by uid 500); 22 Aug 2008 13:12:22 -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 61080 invoked by uid 99); 22 Aug 2008 13:12:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2008 06:12:22 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bruehlicke@gmail.com designates 209.85.217.12 as permitted sender) Received: from [209.85.217.12] (HELO mail-gx0-f12.google.com) (209.85.217.12) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2008 13:11:23 +0000 Received: by gxk5 with SMTP id 5so1058166gxk.7 for ; Fri, 22 Aug 2008 06:10:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=8ChCG5V12G60lCbASNsFJeYHCARUBQoe53hRN4gxj9E=; b=eIc8nj1si22hrGm+mBdhg6/deLwCMV31b1jg9VuXcm0XWkZwxFvFMstpZXMBK1i2fP foa7GqNYsJW29rBfi6h2CRBN0uu/fbH4TP+2NC4lkv2nYX/x5VyU4v6PI3JKDJPA/fnC o/M9sKesGiq8slVkQs0MtNPgaUu4Lax6MVlnM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=cwvC1OwpyObfx5M+SaK1o4XiqYOpobVx4ZVQrz+DvqdcJLMoT4OyTTCtc71KujczhW HJlxBlSx27jQHjPXT2DrBs1GTDTsM793LjCVK7KyR/oZ3XoDeYrZeJKpFVruVEEVqINr 4TByTFrmrjdxiTiq/Uytjv9YaqcHmP3Gck40I= Received: by 10.151.42.20 with SMTP id u20mr1769716ybj.231.1219410652226; Fri, 22 Aug 2008 06:10:52 -0700 (PDT) Received: by 10.151.45.18 with HTTP; Fri, 22 Aug 2008 06:10:52 -0700 (PDT) Message-ID: <6ac05c90808220610r6bde00a9g40687b7b418ad026@mail.gmail.com> Date: Fri, 22 Aug 2008 08:10:52 -0500 From: bruehlicke To: "Derby Discussion" Subject: Re: Show Tables command is not working with ij Tool In-Reply-To: <19105443.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_34487_34529.1219410652218" References: <19105443.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_34487_34529.1219410652218 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am using Derby 10.4.1.3 Using ij I can confirm that "show tables;" and "describe "; works for example: ij> show tables; TABLE_SCHEM |TABLE_NAME |REMARKS ------------------------------------------------------------------------ SYS |SYSALIASES | SYS |SYSCHECKS | SYS |SYSCOLPERMS | SYS |SYSCOLUMNS | SYS |SYSCONGLOMERATES | SYS |SYSCONSTRAINTS | SYS |SYSDEPENDS | SYS |SYSFILES | ij> describe sys.syscolumns; COLUMN_NAME |TYPE_NAME|DEC&|NUM&|COLUM&|COLUMN_DEF|CHAR_OCTE&|IS_NULL& ------------------------------------------------------------------------------ REFERENCEID |CHAR |NULL|NULL|36 |NULL |72 |NO COLUMNNAME |VARCHAR |NULL|NULL|128 |NULL |256 |NO COLUMNNUMBER |INTEGER |0 |10 |10 |NULL |NULL |NO COLUMNDATATYPE |org.apac&|NULL|NULL|-1 |NULL |NULL |NO COLUMNDEFAULT |java.io.&|NULL|NULL|-1 |NULL |NULL |YES COLUMNDEFAULTID |CHAR |NULL|NULL|36 |NULL |72 |YES AUTOINCREMENTVALUE |BIGINT |0 |10 |19 |NULL |NULL |YES AUTOINCREMENTSTART |BIGINT |0 |10 |19 |NULL |NULL |YES AUTOINCREMENTINC |BIGINT |0 |10 |19 |NULL |NULL |YES 9 rows selected Hope this helps. B-) On Fri, Aug 22, 2008 at 6:24 AM, munugalaramesh wrote: > > Dear All, > > Can any one help on this. > > I integrated ij tool with Eclipse (Europa) according to Apache Derby > documentation. > > I tried with the following commands,all of them are not working > > show tables; > describe tables; > show schemas; > > I am getting folowing error > > ERROR 42X01: Syntax error: Encountered "describe" at line 1, column 1. > > Advance thanks > > > > -- > View this message in context: > http://www.nabble.com/Show-Tables-command-is-not-working-with-ij-Tool-tp19105443p19105443.html > Sent from the Apache Derby Users mailing list archive at Nabble.com. > > ------=_Part_34487_34529.1219410652218 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
I am using Derby 10.4.1.3

Using ij I can confirm that "show tables;"  and "describe <tablename>"; works  for example:

ij> show tables;
TABLE_SCHEM         |TABLE_NAME                    |REMARKS
------------------------------------------------------------------------
SYS                 |SYSALIASES                    |
SYS                 |SYSCHECKS                     |
SYS                 |SYSCOLPERMS                   |
SYS                 |SYSCOLUMNS                    |
SYS                 |SYSCONGLOMERATES              |
SYS                 |SYSCONSTRAINTS                |
SYS                 |SYSDEPENDS                    |
SYS                 |SYSFILES                      |



ij> describe sys.syscolumns;
COLUMN_NAME         |TYPE_NAME|DEC&|NUM&|COLUM&|COLUMN_DEF|CHAR_OCTE&|IS_NULL&
------------------------------------------------------------------------------
REFERENCEID         |CHAR     |NULL|NULL|36    |NULL      |72        |NO
COLUMNNAME          |VARCHAR  |NULL|NULL|128   |NULL      |256       |NO
COLUMNNUMBER        |INTEGER  |0   |10  |10    |NULL      |NULL      |NO
COLUMNDATATYPE      |org.apac&|NULL|NULL|-1    |NULL      |NULL      |NO
COLUMNDEFAULT       |java.io.&|NULL|NULL|-1    |NULL      |NULL      |YES
COLUMNDEFAULTID     |CHAR     |NULL|NULL|36    |NULL      |72        |YES
AUTOINCREMENTVALUE  |BIGINT   |0   |10  |19    |NULL      |NULL      |YES
AUTOINCREMENTSTART  |BIGINT   |0   |10  |19    |NULL      |NULL      |YES
AUTOINCREMENTINC    |BIGINT   |0   |10  |19    |NULL      |NULL      |YES

9 rows selected

Hope this helps.

B-)



On Fri, Aug 22, 2008 at 6:24 AM, munugalaramesh <ramesh.yem@gmail.com> wrote:

Dear All,

 Can any one help on this.

 I integrated ij tool with Eclipse (Europa) according to Apache Derby
documentation.

 I tried with the following commands,all of them are not working

 show tables;
describe tables;
show schemas;

 I am getting folowing error

ERROR 42X01: Syntax error: Encountered "describe" at line 1, column 1.

Advance thanks



--
View this message in context: http://www.nabble.com/Show-Tables-command-is-not-working-with-ij-Tool-tp19105443p19105443.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.


------=_Part_34487_34529.1219410652218--