开发者

How to print DDL command in Apache Derby

开发者 https://www.devze.com 2023-04-12 01:50 出处:网络
In Apache Derby using the embedded ij command client, what should be the statement to execute to generate a DDL for a particular object say a table?

In Apache Derby using the embedded ij command client, what should be the statement to execute to generate a DDL for a particular object say a table?

I tried it开发者_如何学编程 with this one.

ij> describe client;

But this does show only the structure of the table and not the DDL. I wnat it to be printed on the console.

Any thoughts?


I don't think this is possible, you will need to use a GUI SQL client.

This wiki page lists several tools which are known to work with Derby:

http://wiki.apache.org/db-derby/UsesOfDerby#GUI_Tools


You might try dblook: http://db.apache.org/derby/docs/10.8/tools/ctoolsdblook.html

0

精彩评论

暂无评论...
验证码 换一张
取 消