<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1786 "Error SQLCODE=-670" during schema creation using DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1786 "Error SQLCODE=-670" during schema creation using DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2</link><pubDate>Wed, 14 Nov 2018 22:33:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 11/14/2018 10:33:36 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is printed in the&amp;nbsp;&lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;&amp;nbsp;file when Appian tries to create a table on the DB2 database or&amp;nbsp;when Appian is restarted after a successful installation of an Appian instance with a DB2 database:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The error mentioned above can occur:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;during table creation&lt;/li&gt;
&lt;li&gt;on cast specification&amp;nbsp;&lt;/li&gt;
&lt;li&gt;when updating tables&lt;/li&gt;
&lt;li&gt;if the LOB column with INLINE LENGTH clause exceeds the page size limit&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above,&amp;nbsp;please&amp;nbsp;conduct the following steps in the&amp;nbsp;given order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ensure that the driver version is correct as&amp;nbsp;specified on&amp;nbsp;our&amp;nbsp;&lt;a title="documentation" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#databases" target="_blank"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the above mentioned driver version is correct then reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;If reducing the row length doesn&amp;#39;t resolve the issue then assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;li&gt;Enable the EXTENDED_ROW_SZ configuration on the database per the &lt;a title="DB2 documentation" href="https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.config.doc/doc/r0061056.html" target="_blank"&gt;DB2 documentation&lt;/a&gt;.
&lt;p&gt;&lt;code&gt;update db &amp;lt;TABLE NAME&amp;gt; using EXTENDED_ROW_SZ ENABLE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;If the above mentioned steps don&amp;#39;t work and if this is a new Appian installation then delete the existing database and re-create blank database with correct page size. Please note that doing so will erase all the data from the database and should only be used for new Appian installations and not any existing installation or upgrade.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error SQLCODE=-670 during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/14</link><pubDate>Wed, 14 Nov 2018 11:39:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 14 posted to Appian Knowledge Base by Iram Khan on 11/14/2018 11:39:01 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is printed in the&amp;nbsp;&lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;&amp;nbsp;file when Appian tries to create a table on the DB2 database or&amp;nbsp;when Appian is restarted after a successful installation of an Appian instance with a DB2 database:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The error mentioned above can occur:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;during table creation&lt;/li&gt;
&lt;li&gt;on cast specification&amp;nbsp;&lt;/li&gt;
&lt;li&gt;when updating tables&lt;/li&gt;
&lt;li&gt;if the LOB column with INLINE LENGTH clause exceeds the page size limit&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above,&amp;nbsp;please follow the steps in the order given below to resolve the issue on the DB2 instance.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ensure that the driver version is correct as&amp;nbsp;specified on&amp;nbsp;our&amp;nbsp;&lt;a title="documentation" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#databases" target="_blank"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the above mentioned driver version is correct then reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;If reducing the row length doesn&amp;#39;t resolve the issue then assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;li&gt;Enable the EXTENDED_ROW_SZ configuration on the database per the &lt;a title="DB2 documentation" href="https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.config.doc/doc/r0061056.html" target="_blank"&gt;DB2 documentation&lt;/a&gt;.
&lt;p&gt;&lt;code&gt;update db &amp;lt;TABLE NAME&amp;gt; using EXTENDED_ROW_SZ ENABLE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;If the above mentioned steps don&amp;#39;t work and if this is a new Appian installation then delete the existing database and re-create blank database with correct page size. Please note that doing so will erase all the data from the database and should only be used for new Appian installations and not any existing installation or upgrade.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error SQLCODE=-670 during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/13</link><pubDate>Wed, 14 Nov 2018 11:34:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 13 posted to Appian Knowledge Base by Iram Khan on 11/14/2018 11:34:24 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is printed in the&amp;nbsp;&lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;&amp;nbsp;file when Appian tries to create a table on the DB2 database or&amp;nbsp;when Appian is restarted after a successful installation of an Appian instance with a DB2 database:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The error mentioned above can occur:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;during table creation&lt;/li&gt;
&lt;li&gt;on cast specification&amp;nbsp;&lt;/li&gt;
&lt;li&gt;when updating tables&lt;/li&gt;
&lt;li&gt;if the LOB column with INLINE LENGTH clause exceeds the page size limit&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above,&amp;nbsp;please follow the steps in the order given below to resolve the issue on the DB2 instance.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ensure that the driver version is correct as&amp;nbsp;specified on&amp;nbsp;our&amp;nbsp;&lt;a title="documentation" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#databases" target="_blank"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the above mentioned driver version is correct then reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;If reducing the row length doesn&amp;#39;t resolve the issue then assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;li&gt;Enable the EXTENDED_ROW_SZ configuration on the database per the DB2 documentation.
&lt;p&gt;&lt;code&gt;update db &amp;lt;TABLE NAME&amp;gt; using EXTENDED_ROW_SZ ENABLE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;If the above mentioned steps don&amp;#39;t work and if this is a new Appian installation then delete the existing database and re-create blank database with correct page size. Please note that doing so will erase all the data from the database and should only be used for new Appian installations and not any existing installation or upgrade.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error SQLCODE=-670 during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/12</link><pubDate>Wed, 14 Nov 2018 11:24:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 12 posted to Appian Knowledge Base by Iram Khan on 11/14/2018 11:24:08 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is printed in the&amp;nbsp;&lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;&amp;nbsp;file when Appian tries to create a table on the DB2 database or&amp;nbsp;when Appian is restarted after a successful installation of an Appian instance with a DB2 database:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The error mentioned above can occur:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;during table creation&lt;/li&gt;
&lt;li&gt;on cast specification&amp;nbsp;&lt;/li&gt;
&lt;li&gt;when updating tables&lt;/li&gt;
&lt;li&gt;if the LOB column with INLINE LENGTH clause exceeds the page size limit&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above, any of the following steps can be taken to resolve the issue on the DB2 instance.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ensure that the driver version is correct as&amp;nbsp;specified on&amp;nbsp;our&amp;nbsp;&lt;a title="documentation" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#databases" target="_blank"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;Assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;li&gt;Delete the existing database and re-create blank database with correct page size.&lt;/li&gt;
&lt;li&gt;Add this configuration to the DB2 instance. This configuration is set to disabled by default. This parameter can be added&amp;nbsp;when the database is created.
&lt;p&gt;&lt;code&gt;update db cfg using EXTENDED_ROW_SZ ENABLE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error SQLCODE=-670 during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/11</link><pubDate>Wed, 14 Nov 2018 11:21:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 11 posted to Appian Knowledge Base by Iram Khan on 11/14/2018 11:21:17 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is printed in the&amp;nbsp;&lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;&amp;nbsp;file when Appian tries to create a table on the DB2 database or&amp;nbsp;when Appian is restarted after a successful installation of an Appian instance with a DB2 database:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The error mentioned above can occur:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;during table creation&lt;/li&gt;
&lt;li&gt;on cast specification&amp;nbsp;&lt;/li&gt;
&lt;li&gt;when updating tables&lt;/li&gt;
&lt;li&gt;if the LOB column with INLINE LENGTH clause exceeds the page size limit&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above, check and fix the following anomalies on the DB2 instance.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;Assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;li&gt;Delete the existing database and re-create blank database with correct page size.&lt;/li&gt;
&lt;li&gt;Ensure that the driver version is correct as&amp;nbsp;specified on&amp;nbsp;our&amp;nbsp;&lt;a title="documentation" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#databases" target="_blank"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Add this configuration to the DB2 instance. This configuration is set to disabled by default. This parameter can be added&amp;nbsp;when the database is created.
&lt;p&gt;&lt;code&gt;update db cfg using EXTENDED_ROW_SZ ENABLE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error SQLCODE=-670 during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/10</link><pubDate>Wed, 14 Nov 2018 11:20:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Iram Khan on 11/14/2018 11:20:58 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is printed in the&amp;nbsp;&lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;&amp;nbsp;file when Appian tries to create a table on the DB2 database or&amp;nbsp;when Appian is restarted after a successful installation of an Appian instance with a DB2 database:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The error mentioned above can occur:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;during table creation&lt;/li&gt;
&lt;li&gt;on cast specification&amp;nbsp;&lt;/li&gt;
&lt;li&gt;when updating tables&lt;/li&gt;
&lt;li&gt;if the LOB column with INLINE LENGTH clause exceeds the page size limit&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above, check and fix the following anomalies on the DB2 instance.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;Assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;li&gt;Delete the existing database and re-create blank database with correct page size.&lt;/li&gt;
&lt;li&gt;Ensure that the driver version is correct as&amp;nbsp;specified on&amp;nbsp;our&amp;nbsp;&lt;a title="documentation" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#databases" target="_blank"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Add this configuration to the DB2 instance. This configuration is set to disabled by default. This parameter can be added&amp;nbsp;when the database is created.
&lt;p&gt;&lt;code&gt;update db cfg using EXTENDED_ROW_SZ ENABLE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 18.3 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error SQLCODE=-670 during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/9</link><pubDate>Wed, 14 Nov 2018 11:19:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 9 posted to Appian Knowledge Base by Iram Khan on 11/14/2018 11:19:07 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is printed in the&amp;nbsp;&lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;&amp;nbsp;file when Appian tries to create a table on the DB2 database or&amp;nbsp;when Appian is restarted after a successful installation of an Appian instance with a DB2 database:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Error code -670 from&amp;nbsp;&lt;a title="IBM's documentation" href="https://www.ibm.com/support/knowledgecenter/en/SSEPEK_11.0.0/codes/src/tpc/n670.html" target="_blank"&gt;IBM&amp;#39;s documentation&lt;/a&gt;&amp;nbsp;refers to the row length of the table exceeding the page size limit. The error mentioned above happens on table creation but this can also occur on cast specification or updating tables.&lt;/p&gt;
&lt;p&gt;Additionally this could also occur due to the LOB column with INLINE LENGTH clause&amp;nbsp;contributing to exceeding the page size limit.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above, check and fix the following anomalies on the DB2 instance.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;Assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;li&gt;Delete the existing database and re-create blank database with correct page size.&lt;/li&gt;
&lt;li&gt;Also make sure that the driver version is correct as&amp;nbsp;specified on&amp;nbsp;our&amp;nbsp; &lt;a title="documentation" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#databases" target="_blank"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Add this configuration to the DB2 instance. This configuration is set to disabled by default. This parameter can be added&amp;nbsp;when the database is created.
&lt;p&gt;&lt;code&gt;update db cfg using EXTENDED_ROW_SZ ENABLE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian running 18.3 or later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/1</link><pubDate>Fri, 09 Nov 2018 16:25:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Iram Khan on 11/9/2018 4:25:39 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error SQLCODE=-670 during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/8</link><pubDate>Fri, 09 Nov 2018 12:04:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Iram Khan on 11/9/2018 12:04:26 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;1. Error noticed in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;&amp;nbsp;file when Appian tries to create a table on the DB2 database.&lt;/p&gt;
&lt;p&gt;2. This error can also occur when Appian is restarted after a successful installation of an Appian instance with a DB2 database.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Error code -670 from&amp;nbsp;&lt;a title="IBM's documentation" href="https://www.ibm.com/support/knowledgecenter/en/SSEPEK_11.0.0/codes/src/tpc/n670.html" target="_blank"&gt;IBM&amp;#39;s documentation&lt;/a&gt;&amp;nbsp;refers to the row length of the table exceeding the page size limit. The error mentioned above happens on table creation but this can also occur on cast specification or updating tables.&lt;/p&gt;
&lt;p&gt;Additionally this could also occur due to the LOB column with INLINE LENGTH clause&amp;nbsp;contributing to exceeding the page size limit.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above, check and fix the following anomalies on the DB2 instance.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;Assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;li&gt;Delete the existing database and re-create blank database with correct page size.&lt;/li&gt;
&lt;li&gt;Also make sure that the driver version is correct as&amp;nbsp;specified on&amp;nbsp;our&amp;nbsp; &lt;a title="documentation" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#databases" target="_blank"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Add this configuration to the DB2 instance. This configuration is set to disabled by default. This parameter can be added&amp;nbsp;when the database is created.
&lt;p&gt;&lt;code&gt;update db cfg using EXTENDED_ROW_SZ ENABLE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian running 18.3 or later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error SQLCODE=-670 during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/7</link><pubDate>Fri, 09 Nov 2018 12:03:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Iram Khan on 11/9/2018 12:03:49 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;1. Error noticed in the &lt;strong&gt;tomcat-stdOut.log&lt;/strong&gt;&amp;nbsp;file when Appian tries to create a table on the DB2 database.&lt;/p&gt;
&lt;p&gt;2. This error can also occur when Appian is restarted after a successful installation of an Appian instance with a DB2 database.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Error code -670 from&amp;nbsp;&lt;a title="IBM's documentation" href="https://www.ibm.com/support/knowledgecenter/en/SSEPEK_11.0.0/codes/src/tpc/n670.html" target="_blank"&gt;IBM&amp;#39;s documentation&lt;/a&gt;&amp;nbsp;refers to the row length of the table exceeding the page size limit. The error mentioned above happens on table creation but this can also occur on cast specification or updating tables.&lt;/p&gt;
&lt;p&gt;Additionally this could also occur due to the LOB column with INLINE LENGTH clause&amp;nbsp;contributing to exceeding the page size limit.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above, check and fix the following anomalies on the DB2 instance.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;Assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;li&gt;Delete the existing database and re-create blank database with correct page size.&lt;/li&gt;
&lt;li&gt;Also make sure that the driver version is correct as&amp;nbsp;specified on&amp;nbsp;our&amp;nbsp; &lt;a title="documentation" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#databases" target="_blank"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Add this configuration to DB2. This configuration is set to disabled by default. This parameter can be added at DB creation.
&lt;p&gt;&lt;code&gt;update db cfg using EXTENDED_ROW_SZ ENABLE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian running 18.3 or later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error SQLCODE=-670 during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/6</link><pubDate>Fri, 09 Nov 2018 12:01:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Iram Khan on 11/9/2018 12:01:38 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;1. Error noticed in the &lt;strong&gt;tomcat-stdout.log&lt;/strong&gt; file when Appian tries to create a table on the DB2 database.&lt;/p&gt;
&lt;p&gt;2. This error can also occur when Appian is restarted after a successful installation of an Appian instance with a DB2 database.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Error code -670 from&amp;nbsp;&lt;a title="IBM's documentation" href="https://www.ibm.com/support/knowledgecenter/en/SSEPEK_11.0.0/codes/src/tpc/n670.html" target="_blank"&gt;IBM&amp;#39;s documentation&lt;/a&gt;&amp;nbsp;refers to the row length of the table exceeding the page size limit. The error mentioned above happens on table creation but this can also occur on cast specification or updating tables.&lt;/p&gt;
&lt;p&gt;Additionally this could also occur due to the LOB column with INLINE LENGTH clause&amp;nbsp;contributing to exceeding the page size limit.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above, check and fix the following anomalies on the DB2 instance.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;Assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;li&gt;Delete the existing database and re-create blank database with correct page size.&lt;/li&gt;
&lt;li&gt;Also make sure that the driver version is correct as&amp;nbsp;specified on&amp;nbsp;our&amp;nbsp; &lt;a title="documentation" href="https://docs.appian.com/suite/help/latest/System_Requirements.html#databases" target="_blank"&gt;documentation&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian running 18.3 or later.&lt;/p&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;November 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error SQLCODE=-670 during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/5</link><pubDate>Fri, 09 Nov 2018 11:50:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Iram Khan on 11/9/2018 11:50:34 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;1. Error noticed in the tomcat-stdout.log file when Appian tries to create a table on the DB2 database.&lt;/p&gt;
&lt;p&gt;2. This error can also occur when Appian is restarted after a successful installation of an Appian instance with a DB2 database.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Error code -670 from&amp;nbsp;&lt;a title="IBM's documentation" href="https://www.ibm.com/support/knowledgecenter/en/SSEPEK_11.0.0/codes/src/tpc/n670.html" target="_blank"&gt;IBM&amp;#39;s documentation&lt;/a&gt;&amp;nbsp;refers to the row length of the table exceeding the page size limit. The error mentioned above happens on table creation but this can also occur on cast specification or updating tables.&lt;/p&gt;
&lt;p&gt;Additionally this could also occur due to the LOB column with INLINE LENGTH clause&amp;nbsp;contributing to exceeding the page size limit.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above, check and fix the following anomalies on the DB2 instance.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;Assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;h2&gt;&amp;nbsp;&lt;/h2&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error SQLCODE=-670 during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/4</link><pubDate>Fri, 09 Nov 2018 11:50:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Iram Khan on 11/9/2018 11:50:19 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;1. Error noticed in the tomcat-stdout.log file when Appian tries to create a table on the DB2 database.&lt;/p&gt;
&lt;p&gt;2. This error can also occur when Appian is restarted after a successful installation of an Appian instance with a DB2 database.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;Error code -670 from &lt;a title="IBM's documentation" href="https://www.ibm.com/support/knowledgecenter/en/SSEPEK_11.0.0/codes/src/tpc/n670.html" target="_blank"&gt;IBM&amp;#39;s documentation&lt;/a&gt; refers to the row length of the table exceeding the page size limit. The error mentioned above happens on table creation but this can also occur on cast specification or updating tables.&lt;/p&gt;
&lt;p&gt;Additionally this could also occur due to the LOB column with INLINE LENGTH clause&amp;nbsp;contributing to exceeding the page size limit.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To fix the error noticed above, check and fix the following anomalies on the DB2 instance.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reduce the row length of the table by reducing the length of one or more of the columns.&lt;/li&gt;
&lt;li&gt;Assign the table to a table space that uses a larger buffer pool.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/3</link><pubDate>Fri, 09 Nov 2018 11:38:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Iram Khan on 11/9/2018 11:38:19 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;1. Error noticed in the tomcat-stdout.log file when Appian tries to create a table on the DB2 database.&lt;/p&gt;
&lt;p&gt;2. This error can also occur when Appian is restarted after a successful installation of an Appian instance with a DB2 database.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;Error code -670 from &lt;a title="IBM's documentation" href="https://www.ibm.com/support/knowledgecenter/en/SSEPEK_11.0.0/codes/src/tpc/n670.html" target="_blank"&gt;IBM&amp;#39;s documentation&lt;/a&gt; refers to the record length of the table exceeding the page size limit.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Error during schema creation on DB2</title><link>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2/revision/2</link><pubDate>Fri, 09 Nov 2018 11:33:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57276ec1-d8dc-4b6d-a25e-bd80e26d259d</guid><dc:creator>Iram Khan</dc:creator><comments>https://community.appian.com/support/w/kb/1215/kb-1786-error-sqlcode--670-during-schema-creation-using-db2#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Iram Khan on 11/9/2018 11:33:59 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;Error noticed:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Caused by: liquibase.exception.DatabaseException: Error executing SQL CREATE TABLE record_type (id BIGINT GENERATED BY 
DEFAULT AS IDENTITY NOT NULL, uuid NVARCHAR(255) NOT NULL, name NVARCHAR(255) NOT NULL, plural_name 
NVARCHAR(255) NOT NULL, description NVARCHAR(4000), src_type NVARCHAR(255) NOT NULL, src_uuid NVARCHAR(255) 
NOT NULL, lv_tmpt_expr NVARCHAR(4000) NOT NULL, url_stub NVARCHAR(255) NOT NULL, created_ts BIGINT NOT NULL, 
created_by BIGINT NOT NULL, updated_ts BIGINT NOT NULL, updated_by BIGINT NOT NULL, CONSTRAINT 
PK_RECORD_TYPE PRIMARY KEY (id), CONSTRAINT record_type_uuid_uc UNIQUE (uuid), CONSTRAINT 
record_type_urlstub_uc UNIQUE (url_stub)): DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, 
DRIVER=4.24.92 at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62) at
 liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:105) at 
liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1014) at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:998) at 
liquibase.changelog.ChangeSet.execute(ChangeSet.java:317) ... 118 more

Caused by: com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-670, SQLSTATE=54010, SQLERRMC=32677;;38193, DRIVER=4.24.92&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, db2, infrastructure, 18.3&lt;/div&gt;
</description></item></channel></rss>