<?xml version='1.0' encoding='UTF-8'?>
<ROWSET tableName='GE70'>
/****************************************************************************/
/* GE70 ( 取込要求ﾃｰﾌﾞﾙ )                                                   */
/*                                                                          */
/* Created : 2018/09/28 16:03:35                                            */
/****************************************************************************/
<EXEC_SQL>
CREATE TABLE GE70 (
   SYSTEM_ID        VARCHAR (   10 )                    NOT NULL                
 , RSRV_NO          INTEGER                             NOT NULL                
 , NAME_JA          VARCHAR (  200 )                                            
 , EXECID           VARCHAR (   20 )                    NOT NULL                
 , FGYKAN           VARCHAR (    1 )        DEFAULT '2' NOT NULL                
 , DIR_BASE         VARCHAR (  200 )                                            
 , DIR_SUB          VARCHAR (  200 )                                            
 , DIR_WORK         VARCHAR (  200 )                                            
 , DIR_BKUP_OK      VARCHAR (  200 )                                            
 , DIR_BKUP_NG      VARCHAR (  200 )                                            
 , FILE_FILTER      VARCHAR ( 4000 )                                            
 , RELEASE_NOTES    VARCHAR (  120 )                                            
 , RDC_CODE         VARCHAR (   20 )                                            
 , UNIQ             BIGINT                              NOT NULL                
 , FGJ              VARCHAR (    1 )        DEFAULT '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 GE70S00 
</EXEC_SQL>

<EXEC_SQL>
CREATE TRIGGER GE70T00 FOR GE70
  BEFORE INSERT AS 
  BEGIN 
    NEW.UNIQ = GEN_ID( GE70S00,1 );
  END; 
</EXEC_SQL>
</ROWSET>
