anchor.diff:  <center><b>DB: <c:out value="${db}" /></b></center>
   <table width="100%">
     <tr>
  -    <td class="DarkBackground" colspan="2" align="center">Tables</td>
  +    <td class="DarkBackground" colspan="3" align="center">Tables</td>
     </tr>
     <%-- Check if there are tables to display  --%>
     <c:choose>
  
positive.code:       	    <c:set var="tdClass" scope="page" value="MediumBackground" />
        	  </c:otherwise>
        	</c:choose>
          <c:forEach var="column" items="${row}">
          <td class="<c:out value='${tdClass}' />"><c:out value="${column}" /></td>
          <td class="<c:out value='${tdClass}' />" align="center">
            <%-- Select table prefix --%>
            <c:choose>
              <c:when test="${viewTables == 'application'}">
                <c:set var="tblPrefix" scope="page" value="" />
              </c:when>
              <c:when test="${viewTables == 'system'}">
                <c:set var="tblPrefix" scope="page" value="SYS." />
              </c:when>
            </c:choose>
            <a href="<portlet:actionURL portletMode="view">
                       <portlet:param name="action" value="viewTableContents" />
                       <portlet:param name="db" value="${db}" />
                       <portlet:param name="tbl" value="${tblPrefix}${column}" />
                       <portlet:param name="viewTables" value="${viewTables}" />
                     </portlet:actionURL>">View Contents</a>
          </td>
          </c:forEach>
        </tr>
        </c:forEach>
      </c:otherwise>
  
negative.code:     <%-- Set select statement depending on the view table type --%>
      <c:choose>
        <c:when test="${viewTables == 'application'}">
          select s.schemaname, t.tablename from sys.sysschemas s join sys.systables t on s.schemaid = t.schemaid
            where TABLETYPE='T'
            order by s.schemaname, t.tablename
        </c:when>
        <c:when test="${viewTables == 'system'}">
            select s.schemaname, t.tablename from sys.sysschemas s join sys.systables t on s.schemaid = t.schemaid
              where s.schemaname='SYS'
              order by s.schemaname, t.tablename
        </c:when>
      </c:choose>
    </sql:query>
  