--------------------------------------------------------
--  DDL for Table SRC_NLCORP_PRODUCTION_ACCOUNTS_OCI_FOOTPRINT_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_NLCORP_PRODUCTION_ACCOUNTS_OCI_FOOTPRINT_TB" 
   (	"ACCOUNT_CREATED" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"DELETED_DATE" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"DATACENTER" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"SERVICE_TIER" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"STATUS" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"ID" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"INTERNAL_ID" NUMBER, 
	"CUSTOMER" VARCHAR2(256 BYTE) COLLATE "USING_NLS_COMP", 
	"INDUSTRY" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"INDUSTRY_SUB_CATEGORY" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
	"COMPANY_SIZE" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"ANNUAL_REVENUE" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"SERVICE_TIER_LICENSE_END_DATE" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
	"BILLING_COUNTRY" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
	"DATA_CENTER_DEPRECATED" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"ACTIVE_USERS" NUMBER, 
	"CUSTOMER_USERS" NUMBER, 
	"PAID_USERS" NUMBER, 
	"REGION" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
	"METADATA_ACCOUNT_CREATED_UTC" DATE, 
	"METADATA_DELETED_DATE_UTC" DATE, 
	"METADATA_SERVICE_TIER_LICENSE_END_DATE_UTC" DATE, 
	"METADATA_DOWNLOADED_TIMESTAMP_UTC" DATE
   )  DEFAULT COLLATION "USING_NLS_COMP" SEGMENT CREATION DEFERRED 
  PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 
 COLUMN STORE COMPRESS FOR QUERY HIGH ROW LEVEL LOCKING LOGGING
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  DDL for Index SRC_NLCORP_PRODUCTION_ACCOUNTS_OCI_FOOTPRINT_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_NLCORP_PRODUCTION_ACCOUNTS_OCI_FOOTPRINT_TB_PK" ON "OTHQ_OWN"."SRC_NLCORP_PRODUCTION_ACCOUNTS_OCI_FOOTPRINT_TB" ("ID", "INTERNAL_ID") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_NLCORP_PRODUCTION_ACCOUNTS_OCI_FOOTPRINT_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_NLCORP_PRODUCTION_ACCOUNTS_OCI_FOOTPRINT_TB" MODIFY ("ID" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_NLCORP_PRODUCTION_ACCOUNTS_OCI_FOOTPRINT_TB" MODIFY ("INTERNAL_ID" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_NLCORP_PRODUCTION_ACCOUNTS_OCI_FOOTPRINT_TB" ADD CONSTRAINT "SRC_NLCORP_PRODUCTION_ACCOUNTS_OCI_FOOTPRINT_TB_PK" PRIMARY KEY ("ID", "INTERNAL_ID")
  USING INDEX PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA"  ENABLE;
