<?xml version='1.0' encoding='UTF-8'?>
<ROWSET tableName='GE72'>
/****************************************************************************/
/* GE72 ( 処理定義ﾏｽﾀ )                                                     */
/*                                                                          */
/* Created : 2017/07/31 15:48:55                                            */
/****************************************************************************/
<EXEC_SQL>
CREATE TABLE GE72 (
   SYSTEM_ID        VARCHAR (   10 )                    NOT NULL                
 , EXECID           VARCHAR (   20 )                    NOT NULL                
 , NAME_JA          VARCHAR (  200 )                                            
 , SEQNO            INTEGER                 DEFAULT 0   NOT NULL                
 , RUNTYPE          VARCHAR (    1 )                    NOT NULL                
 , RUNPG            VARCHAR (  200 )                                            
 , CLMS             VARCHAR ( 1000 )                                            
 , PARAMS           VARCHAR ( 4000 )                                            
 , DBID             VARCHAR (   20 )                                            
 , TABLE_NAME       VARCHAR (   50 )                                            
 , SHT_NOS          VARCHAR (   50 )                                            
 , FILE_ENC         VARCHAR (   20 )                                            
 , SKIP_CNT         INTEGER                             NOT NULL                
 , RELEASE_NOTES    VARCHAR (  120 )                                            
 , RDC_CODE         VARCHAR (   20 )                                            
 , UNIQ             BIGINT                              NOT NULL                
 , FGJ              VARCHAR (    1 )                    NOT NULL                
 , DYSET            VARCHAR (   14 )                                            
 , PGSET            VARCHAR (   10 )                                            
 , PGPSET           VARCHAR (   10 )                                            
 , USRSET           VARCHAR (   10 )                                            
 , DYUPD            VARCHAR (   14 )                                            
 , PGUPD            VARCHAR (   10 )                                            
 , PGPUPD           VARCHAR (   10 )                                            
 , USRUPD           VARCHAR (   10 )                                            
)
</EXEC_SQL>

<EXEC_SQL>
CREATE SEQUENCE GE72S00 
</EXEC_SQL>

<EXEC_SQL>
CREATE TRIGGER GE72T00 FOR GE72
  BEFORE INSERT AS 
  BEGIN 
    NEW.UNIQ = GEN_ID( GE72S00,1 );
  END; 
</EXEC_SQL>
</ROWSET>
