<!-- PostgreSQL ”Å -->
<og:equals val1="{@DBF.NAME}" val2="POSTGRES">
  <og:query command="NEW" dbid="{@DBID}" debug="{@debug}" maxRowCount="{@maxRowCount}">
		select TABLENAME AS TABLE_NAME ,TABLESPACE AS TABLESPACE_NAME, TABLENAME AS NAME_JA,
				1000 AS SKENSU,0 AS JKENSU,
				1 AS INITIAL_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}" val2="ORACLE">
  <og:query command="NEW" dbid="{@DBID}" debug="{@debug}" maxRowCount="{@maxRowCount}">
		select TABLE_NAME,TABLESPACE_NAME,TABLE_NAME AS NAME_JA,
				1000 AS SKENSU,0 AS JKENSU,
				INITIAL_EXTENT/1024 AS INITIAL_EXTENT,
				NEXT_EXTENT/1024 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>
