<og:query command="{@command}" debug="{@debug}" dbid="{@DBID1}" maxRowCount="{@maxRowCount}">
	select B.SYSTEM_ID,B.TABLE_NAME,B.UNIQ,
			B.NAME_JA AS BEFORE,'{@ARROW}',A.NAME_JA AS AFTER
	from GEA08 A inner join GF02 B
	on    A.CLM       = B.TABLE_NAME
	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.TABLE_NAME
</og:query>

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

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