create tablespace pur120000 datafile 'D:\orcldata\pur120000.dbf' size 1024m reuse autoextend on next 1024m; create tablespace pur150000 datafile 'D:\orcldata\pur150000.dbf' size 1024m reuse autoextend on next 1024m; create tablespace pur220000 datafile 'D:\orcldata\pur220000.dbf' size 1024m reuse autoextend on next 1024m; create tablespace pur320000 datafile 'D:\orcldata\pur320000.dbf' size 1024m reuse autoextend on next 1024m; create tablespace pur340000 datafile 'D:\orcldata\pur340000.dbf' size 1024m reuse autoextend on next 1024m; create tablespace pur360000 datafile 'D:\orcldata\pur360000.dbf' size 1024m reuse autoextend on next 1024m; create tablespace pur370000 datafile 'D:\orcldata\pur370000.dbf' size 1024m reuse autoextend on next 1024m; create tablespace pur420000 datafile 'D:\orcldata\pur420000.dbf' size 1024m reuse autoextend on next 1024m; create tablespace pur450000 datafile 'D:\orcldata\pur450000.dbf' size 1024m reuse autoextend on next 1024m; create tablespace pur650000 datafile 'D:\orcldata\pur650000.dbf' size 1024m reuse autoextend on next 1024m; CREATE TABLE base_purchaseinfofq partition by list(provinceareaid) ( partition pur120000 ') tablespace pur120000, partition pur150000 ') tablespace pur150000, partition pur220000 ') tablespace pur220000, partition pur320000 ') tablespace pur320000, partition pur340000 ') tablespace pur340000, partition pur360000 ') tablespace pur360000, partition pur370000 ') tablespace pur370000, partition pur420000 ') tablespace pur420000, partition pur450000 ') tablespace pur450000, partition pur650000 ') tablespace pur650000 ) AS SELECT * FROM base_purchaseinfo where provinceareaid in( ') ; ;