[英]How to generate DDL scripts from tables in Oracle NoSql?
I have some tables with huge columns (more than 600 columns
) and don't have DDL
(create table) scripts for it.我有一些表有很大的列(超过
600 columns
)并且没有DDL
(创建表)脚本。 I can create the script by seeing the table schema using DESCRIBE
keyword in oracle nosql, but it's a huge pain in the back because of manual operation.我可以通过在 oracle nosql 中使用
DESCRIBE
关键字查看表模式来创建脚本,但是由于手动操作,这在后面是一个巨大的痛苦。
Is there any way to generate DDL
scripts for existing tables in Oracle NoSql
database?有什么方法可以为
Oracle NoSql
数据库中的现有表生成DDL
脚本吗?
There is no way to do this at this time.目前没有办法做到这一点。 It's being considered as an extension to the sql shell. One option in user code would be to use the "describe as json..." call and parse the JSON description of the table to construct the DDL string
它被认为是对 sql shell 的扩展。用户代码中的一个选项是使用“描述为 json...”调用并解析表的 JSON 描述以构造 DDL 字符串
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.