[ http://issues.apache.org/jira/browse/DERBY-1164?page=all ]

Håvard Mork updated DERBY-1164:
-------------------------------

    Attachment: 1164_2.diff

Thank you for all your feedback. I've thought more about this, but I've been 
unable to find a good way to using the returned resultsets from 
DatabaseMetaData directly, while still getting a nice layout.

In the attached patch, I have made local versions of the DatabaseMetaData query 
strings. Where possible, I've tried to cast data types so rows will fit on 
80-char display widths. As for the querying parts, I'm unsure wether this is 
the best approach.

> 'show tables' and 'describe' commands in ij
> -------------------------------------------
>
>          Key: DERBY-1164
>          URL: http://issues.apache.org/jira/browse/DERBY-1164
>      Project: Derby
>         Type: New Feature

>   Components: Tools
>     Reporter: Håvard Mork
>     Priority: Trivial
>  Attachments: 1164.diff, 1164_2.diff
>
> New users migrating from mysql are familiar with commands 'show tables' and 
> 'describe'  to respectively display all permanent tables, and show fields in 
> a given table. These are not standard sql, but I suggest to implement them 
> only in the IJ tool for user-friendliness.
> As suggested in db-dev, using DatabaseMetaData should provide the necessary 
> query strings.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to