<?xml version='1.0' encoding='UTF-8'?>
<ROWSET tableName='GEA03'>
/****************************************************************************/
/* GEA03 ( ｶﾗﾑ定義 )                                                        */
/*                                                                          */
/* Created : 2017/07/18 08:41:53                                            */
/****************************************************************************/
<EXEC_SQL>
CREATE TABLE GEA03 (
   SYSTEM_ID        VARCHAR (   10 )                    NOT NULL                
 , CLM              VARCHAR (   30 )                    NOT NULL                
 , NAME_JA          VARCHAR (  200 )                                            
 , CLS_NAME         VARCHAR (   10 )                                            
 , USE_LENGTH       VARCHAR (    9 )        DEFAULT '0' NOT NULL                
 , VIEW_LENGTH      VARCHAR (   10 )                                            
 , RENDERER         VARCHAR (   10 )                                            
 , EDITOR           VARCHAR (   10 )                                            
 , DBTYPE           VARCHAR (   10 )                                            
 , DATA_DEFAULT     VARCHAR (   30 )                                            
 , LABEL_CLM        VARCHAR (   30 )                                            
 , CODE_CLM         VARCHAR (   30 )                                            
 , RENDERER_PARAM   VARCHAR (  200 )                                            
 , EDITOR_PARAM     VARCHAR (  200 )                                            
 , TYPE_PARAM       VARCHAR (  200 )                                            
 , COMMENTS         VARCHAR (  500 )                                            
 , CDKH             VARCHAR (    1 )                                            
 , FGLOAD           VARCHAR (    1 )        DEFAULT '0' NOT NULL                
 , KBSAKU           VARCHAR (    1 )        DEFAULT '1' NOT NULL                
 , RELEASE_NOTES    VARCHAR (  120 )                                            
 , RDC_CODE         VARCHAR (   20 )                                            
 , ROLES            VARCHAR ( 2000 )                                            
 , CLM_PARAM        VARCHAR (  200 )                                            
 , 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 GEA03S00 
</EXEC_SQL>

<EXEC_SQL>
CREATE TRIGGER GEA03T00 FOR GEA03
  BEFORE INSERT AS 
  BEGIN 
    NEW.UNIQ = GEN_ID( GEA03S00,1 );
  END; 
</EXEC_SQL>
</ROWSET>
