CREATE TABLE test ( id BIGINT not null, col2 BIGINT, col3 BIGINT, tp BIGINT not null, PRIMARY KEY (id) ) partition by range(tp) (part p1 starting '1',part p2 starting '2',part p3 starting '3',part p4 starting '4' ending maxvalue)
Test the table partition function of DB2 and find that the error is returned -8027
DB2's problem should go directly to IBM's website to search for the cause of the error.
https://www.ibm.com/support/knowledgecenter/zh/search/For
8027 errors
https://www .ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.messages.sql.doc/doc/msql08027n.html
quote
SQL8027N The table partitioning feature is being used without a DB2 Enterprise Server Edition license. The database manager has detected that the table partitioning feature is being used without a DB2 Enterprise Server Edition license. Make sure that you have purchased valid DB2 Enterprise Server Edition entitlements from your IBM representative or authorized reseller and have updated your license using the db2licm command.
In order to test too TM uncomfortable. . . I wonder why so many people insist on tossing this thing with what sybase (it was acquired, and almost no information has to be found) Self-abuse