<!-- PostgreSQL ”Å -->
<og:equals val1="{@DBF.NAME @DBID}" val2="POSTGRES">
  <og:query command="NEW" dbid="{@DBID}" debug="{@debug}" maxRowCount="100000">
		select TABLENAME AS TABLE_NAME ,TABLENAME AS NAME_JA,
				0 AS JKENSU,1000 AS SKENSU,TABLESPACE AS TABLESPACE_NAME, 
				0 AS INITIAL_EXTENT,0 AS NEXT_EXTENT,'' AS COMMENTS,
				'{@TBLSYU}' TBLSYU,'{@SYSTEM_ID}' SYSTEM_ID
		from pg_tables
		<og:where>
			<og:and value = "TABLENAME like '{@TABLE_NAME}%'" />
			<og:and value = "SCHEMANAME = 'public'" />
		</og:where>
		order by TABLENAME
  </og:query>
</og:equals>

<!-- ORACLE ”Å -->
<og:equals val1="{@DBF.NAME @DBID}" val2="ORACLE">
  <og:query command="NEW" dbid="{@DBID}" debug="{@debug}" maxRowCount="100000">
		select TABLE_NAME,TABLE_NAME AS NAME_JA,
				0 AS JKENSU,1000 AS SKENSU,TABLESPACE_NAME,
				INITIAL_EXTENT/1024 AS INITIAL_EXTENT,
				NVL(NEXT_EXTENT/1024,0) AS NEXT_EXTENT,'' AS COMMENTS,
				'{@TBLSYU}' AS TBLSYU,'{@SYSTEM_ID}' AS SYSTEM_ID
		from USER_TABLES
		<og:where>
			<og:and value = "TABLE_NAME like '{@TABLE_NAME}%'" />
			<og:and value = "INSTR(TABLE_NAME,'$') < 1" />
		</og:where>
		order by TABLE_NAME
  </og:query>
</og:equals>

<!-- FIREBIRD ”Å -->
<og:equals val1="{@DBF.NAME @DBID}" val2="FIREBIRD">
  <og:query command="NEW" dbid="{@DBID}" debug="{@debug}" maxRowCount="100000">
		select RDB$RELATION_NAME AS TABLE_NAME,RDB$RELATION_NAME AS NAME_JA,
				0 AS JKENSU,1000 AS SKENSU,'XX' AS TABLESPACE_NAME,
				0 AS INITIAL_EXTENT,
				0 AS NEXT_EXTENT,'' AS COMMENTS,
				'{@TBLSYU}' AS TBLSYU,'{@SYSTEM_ID}' AS SYSTEM_ID
		from RDB$RELATIONS
		where RDB$SYSTEM_FLAG   = 0 
		and   RDB$RELATION_TYPE = 0 
		<og:where startKey="and">
			<og:and value = "RDB$RELATION_NAME like '{@TABLE_NAME}%'" />
		</og:where>
		order by RDB$RELATION_NAME
  </og:query>
</og:equals>
