在Db2中创建LOB表空间

时间:2018-08-08 08:44:24

标签: db2 tablespace lob

我正在运行下面提到的用于创建LOB表空间的查询,但出现错误。 任何人都可以检查为什么会出现此错误。

查询:-

CREATE LOB TABLESPACE RESUMETS IN BLUDB LOG NO CLOSE NO;

错误:-

SQL> CREATE LOB TABLESPACE RESUMETS IN BLUDB LOG NO;
ERROR near line 1:
SQL0104N  An unexpected token "CREATE LOB TABLESPACE" was found following
 "BEGIN-OF-STATEMENT".  Expected tokens may include:  "<select>".

Error :- 
db2 =>  CREATE LOB TABLESPACE RESUMETS IN BLUDB LOG NO CLOSE NO
DB21034E  The command was processed as an SQL statement because it was not a
valid Command Line Processor command.  During SQL processing it returned:
SQL0104N  An unexpected token "CREATE LOB TABLESPACE" was found following
"BEGIN-OF-STATEMENT".  Expected tokens may include:  "<select>".
SQLSTATE=42601

1 个答案:

答案 0 :(得分:0)

在Linux,Unix和Windows的DB2中没有“ LOB表空间”之类的东西。请在此处查看CREATE TABLESPACE文档。

https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.sql.ref.doc/doc/r0000929.html