我实际上想要在oracle中创建表脚本,为此我搜索并在下面的链接中找到了一些SQL, How can I generate (or get) a ddl script on an existing table in oracle? I have to re-create them in Hive
这就是,
SQL> set long 100000
SQL> set head off
SQL> set echo off
SQL> set pagesize 0
SQL> set verify off
SQL> set feedback off
SQL> select dbms_metadata.get_ddl('TABLE', 'EMP') from dual
但是在SQL CMD中执行此操作后,我收到如下错误,
ORA-24813:无法发送或接收不受支持的LOB
请告诉我如何获得DDL