<og:query command="{@command}" debug="{@debug}" dbid="{@DBID1}" maxRowCount="{@maxRowCount}">
	select B.SYSTEM_ID,B.TABLE_NAME,B.CLM,B.UNIQ,
			B.NAME_JA AS BEFORE,'{@ARROW}',A.NAME_JA AS AFTER
	from GEA08 A inner join GF05 B
	on    A.CLM       = UPPER(B.CLM)
	and   A.NAME_JA   != B.NAME_JA
	where A.SYSTEM_ID in ( '{@SYSTEM_ID1}','{@AST1}')
	and   B.SYSTEM_ID in ( '{@SYSTEM_ID2}','{@AST2}')
	and   B.TBLSYU    = '{@TBLSYU2}'
	and   A.LANG      = 'ja'
	and   A.FGJ       = '1'
	and   B.FGJ       = '1'
	order by B.SYSTEM_ID,B.CLM,B.TABLE_NAME
</og:query>

<og:value key="lblKey" value="C" />

<og:hidden name="SQL">
	UPDATE GF05 SET
			NAME_JA   = [AFTER],
			CDKH      = 'C',
			DYUPD     = '{@USER.YMDH}',
			USRUPD    = '{@USER.ID}',
			PGUPD    = '{@GUI.KEY}'
	WHERE SYSTEM_ID  = [SYSTEM_ID]
	AND   TBLSYU     = '{@TBLSYU2}'
	AND   TABLE_NAME = [TABLE_NAME]
	AND   CLM        = [CLM]
</og:hidden>
