kettle资源库语句.docx
- 文档编号:29279125
- 上传时间:2023-07-21
- 格式:DOCX
- 页数:55
- 大小:31.37KB
kettle资源库语句.docx
《kettle资源库语句.docx》由会员分享,可在线阅读,更多相关《kettle资源库语句.docx(55页珍藏版)》请在冰豆网上搜索。
kettle资源库语句
kettle创建资源库的语句
--Repositorycreation/upgradeDDL:
--
--Nothingwascreatednormodifiedinthetargetrepositorydatabase.
--HittheOKbuttontoexecutethegeneratedSQLorClosetorejectthechanges.
--Pleasenotethatitispossibletochange/editthegeneratedSQLbeforeexecution.
--
CREATETABLER_REPOSITORY_LOG
(
ID_REPOSITORY_LOGBIGINTNOTNULLPRIMARYKEY
REP_VERSIONVARCHAR(255)
LOG_DATEDATETIME
LOG_USERVARCHAR(255)
OPERATION_DESCMEDIUMTEXT
)
;
CREATETABLER_VERSION
(
ID_VERSIONBIGINTNOTNULLPRIMARYKEY
MAJOR_VERSIONINT
MINOR_VERSIONINT
UPGRADE_DATEDATETIME
IS_UPGRADEBOOLEAN
)
;
INSERTINTOR_VERSION(ID_VERSION,MAJOR_VERSION,MINOR_VERSION,UPGRADE_DATE,IS_UPGRADE)VALUES(1,5,0,'2016/09/1814:
24:
43.329','N');
CREATETABLER_DATABASE_TYPE
(
ID_DATABASE_TYPEBIGINTNOTNULLPRIMARYKEY
CODEVARCHAR(255)
DESCRIPTIONVARCHAR(255)
)
;
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(1,'INGRES','Ingres');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(2,'INTERBASE','BorlandInterbase');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(3,'INFOBRIGHT','Infobright');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(4,'ORACLE','Oracle');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(5,'EXTENDB','ExtenDB');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(6,'MSACCESS','MSAccess');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(7,'SYBASE','Sybase');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(8,'PALO','PaloMOLAPServer');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(9,'INFORMIX','Informix');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(10,'LucidDB','LucidDB');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(11,'TERADATA','Teradata');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(12,'UNIVERSE','UniVersedatabase');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(13,'MONETDB','MonetDB');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(14,'KettleThin','PentahoDataServices');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(15,'CACHE','IntersystemsCache');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(16,'MSSQL','MSSQLServer');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(17,'GREENPLUM','Greenplum');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(18,'GENERIC','Genericdatabase');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(19,'SQLITE','SQLite');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(20,'REMEDY-AR-SYSTEM','RemedyActionRequestSystem');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(21,'MONDRIAN','NativeMondrian');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(22,'NETEZZA','Netezza');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(23,'VERTICA5','Vertica5+');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(24,'IMPALA','Impala');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(25,'POSTGRESQL','PostgreSQL');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(26,'EXASOL4','Exasol4');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(27,'HYPERSONIC','Hypersonic');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(28,'AS/400','AS/400');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(29,'ORACLERDB','OracleRDB');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(30,'DBASE','dBaseIII,IVor5');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(31,'KINGBASEES','KingbaseES');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(32,'HIVE','HadoopHive');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(33,'SAPR3','SAPERPSystem');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(34,'SQLBASE','GuptaSQLBase');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(35,'DERBY','ApacheDerby');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(36,'VERTICA','Vertica');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(37,'INFINIDB','CalpontInfiniDB');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(38,'HIVE2','HadoopHive2');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(39,'MYSQL','MySQL');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(40,'MSSQLNATIVE','MSSQLServer(Native)');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(41,'H2','H2');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(42,'SAPDB','MaxDB(SAPDB)');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(43,'VECTORWISE','IngresVectorWise');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(44,'DB2','IBMDB2');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(45,'NEOVIEW','Neoview');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(46,'IMPALASIMBA','ClouderaImpala');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(47,'SYBASEIQ','SybaseIQ');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(48,'REDSHIFT','Redshift');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(49,'FIREBIRD','FirebirdSQL');
INSERTINTOR_DATABASE_TYPE(ID_DATABASE_TYPE,CODE,DESCRIPTION)VALUES(50,'OpenERPDatabaseMeta','OpenERPServer');
CREATETABLER_DATABASE_CONTYPE
(
ID_DATABASE_CONTYPEBIGINTNOTNULLPRIMARYKEY
CODEVARCHAR(255)
DESCRIPTIONVARCHAR(255)
)
;
INSERTINTOR_DATABASE_CONTYPE(ID_DATABASE_CONTYPE,CODE,DESCRIPTION)VALUES(1,'Native','Native(JDBC)');
INSERTINTOR_DATABASE_CONTYPE(ID_DATABASE_CONTYPE,CODE,DESCRIPTION)VALUES(2,'ODBC','ODBC');
INSERTINTOR_DATABASE_CONTYPE(ID_DATABASE_CONTYPE,CODE,DESCRIPTION)VALUES(3,'OCI','OCI');
INSERTINTOR_DATABASE_CONTYPE(ID_DATABASE_CONTYPE,CODE,DESCRIPTION)VALUES(4,'Plugin','Pluginspecificaccessmethod');
INSERTINTOR_DATABASE_CONTYPE(ID_DATABASE_CONTYPE,CODE,DESCRIPTION)VALUES(5,'JNDI','JNDI');
INSERTINTOR_DATABASE_CONTYPE(ID_DATABASE_CONTYPE,CODE,DESCRIPTION)VALUES(6,',','Custom');
CREATETABLER_NOTE
(
ID_NOTEBIGINTNOTNULLPRIMARYKEY
VALUE_STRMEDIUMTEXT
GUI_LOCATION_XINT
GUI_LOCATION_YINT
GUI_LOCATION_WIDTHINT
GUI_LOCATION_HEIGHTINT
FONT_NAMEMEDIUMTEXT
FONT_SIZEINT
FONT_BOLDBOOLEAN
FONT_ITALICBOOLEAN
FONT_COLOR_REDINT
FONT_COLOR_GREENINT
FONT_COLOR_BLUEINT
FONT_BACK_GROUND_COLOR_REDINT
FONT_BACK_GROUND_COLOR_GREENINT
FONT_BACK_GROUND_COLOR_BLUEINT
FONT_BORDER_COLOR_REDINT
FONT_BORDER_COLOR_GREENINT
FONT_BORDER_COLOR_BLUEINT
DRAW_SHADOWBOOLEAN
)
;
CREATETABLER_DATABASE
(
ID_DATABASEBIGINTNOTNULLPRIMARYKEY
NAMEVARCHAR(255)
ID_DATABASE_TYPEINT
ID_DATABASE_CONTYPEINT
HOST_NAMEVARCHAR(255)
DATABASE_NAMEMEDIUMTEXT
PORTINT
USERNAMEVARCHAR(255)
PASSWORDVARCHAR(255)
SERVERNAMEVARCHAR(255)
DATA_TBSVARCHAR(255)
INDEX_TBSVARCHAR(255)
)
;
CREATETABLER_DATABASE_ATTRIBUTE
(
ID_DATABASE_ATTRIBUTEBIGINTNOTNULLPRIMARYKEY
ID_DATABASEINT
CODEVARCHAR(255)
VALUE_STRMEDIUMTEXT
)
;
CREATEUNIQUEINDEXIDX_RDATONR_DATABASE_ATTRIBUTE(ID_DATABASE,CODE)
;
CREATETABLER_DIRECTORY
(
ID_DIRECTORYBIGINTNOTNULLPRIMARYKEY
ID_DIRECTORY_PARENTINT
DIRECTORY_NAMEVARCHAR(255)
)
;
CREATEUNIQUEINDEXIDX_RDIRONR_DIRECTORY(ID_DIRECTORY_PARENT,DIRECTORY_NAME)
;
CREATETABLER_TRANSFORMATION
(
ID_TRANSFORMATIONBIGINTNOTNULLPRIMARYKEY
ID_DIRECTORYINT
NAMEVARCHAR(255)
DESCRIPTIONMEDIUMTEXT
EXTENDED_DESCRIPTIONMEDIUMTEXT
TRANS_VERSIONVARCHAR(255)
TRANS_STATUSINT
ID_STEP_READINT
ID_STEP_WRITEINT
ID_STEP_INPUTINT
ID_STEP_OUTPUTINT
ID_STEP_UPDATEINT
ID_DATABASE_LOGINT
TABLE_NAME_LOGVARCHAR(255)
USE_BATCHIDBOOLEAN
USE_LOGFIELDBOOLEAN
ID_DATABASE_MAXDATEINT
TABLE_NAME_MAXDATEVARCHAR(255)
FIELD_NAME_MAXDATEVARCHAR(255)
OFFSET_MAXDATEDOUBLE
DIFF_MAXDATEDOUBLE
CREATED_USERVARCHAR(255)
CREATED_DATEDATETIME
MODIFIED_USERVARCHAR(255)
MODIFIED_DATEDATETIME
SIZE_ROWSETINT
)
;
CREATETABLER_TRANS_ATTRIBUTE
(
ID_TRANS_ATTRIBUTEBIGINTNOTNULLPRIMARYKEY
ID_TRANSFORMATIONINT
NRINT
CODEVARCHAR(255)
VALUE_NUMBIGINT
VALUE_STRMEDIUMTEXT
)
;
CREATEUNIQUEINDEXIDX_TATTONR_TRANS_ATTRIBUTE(ID_TRANSFORMATION,CODE,NR)
;
CREATETABLER_JOB_ATTRIBUTE
(
ID_JOB_ATTRIBUTEBIGINTNOTNULLPRIMARYKEY
ID_JOBINT
NRINT
CODEVARCHAR(255)
VALUE_NUMBIGINT
VALUE_STRMEDIUMTEXT
)
;
CREATEUNIQUEINDEXIDX_JATTONR_JOB_ATTRIBUTE(ID_JOB,CODE,NR)
;
CREATETABLER_DEPENDENCY
(
ID_DEPENDENCYBIGINTNOTNULLPRIMARYKEY
ID_TRANSFORMATIONINT
ID_DATABASEINT
TABLE_NAMEVARCHAR(255)
FIELD_NAMEVARCHAR(255)
)
;
CREATETABLER_PARTITION_SCHEMA
(
ID_PARTITION_SCHEMABIGINTNOTNULLPRIMARYKEY
NAMEVARCHAR(255)
DYNAMIC_DEFINITIONBOOLEAN
PARTITIONS_PER_SLAVEVARCHAR(255)
)
;
CREATETABLER_PARTITION
(
ID_PARTITIONBIGINTNOTNULLPRIMARYKEY
ID_PARTITION_SCHEMAINT
PARTITION_IDVARCHAR(255)
)
;
CREATETABLER_TRANS_
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- kettle 资源库 语句