anchor.diff:  		psmt = conn.prepareStatement(sql);
   		rs = psmt.executeQuery();
   
  -		ResultSetMetaData md = rs.getMetaData();
  +		md = rs.getMetaData();
   		
   		out.println("<hr/><h1>META INFO</h1>");
   		// Print the column labels
   		for (int i = 1; i <= md.getColumnCount(); i++){
  +			colsListStr += "sql += \""+md.getColumnLabel(i)+",\";<br/>";
   			out.println(md.getColumnLabel(i) + " : ");
   			out.println(md.getColumnTypeName(i) + " : ");
   			out.println(md.getPrecision(i) + " ");
  
positive.code: 			out.println();
  			*/
  			if(md.getColumnTypeName(i).equals("nvarchar") || md.getColumnTypeName(i).equals("char") || md.getColumnTypeName(i).equals("varchar")){
  				out.println("dSet.put(\""+md.getColumnLabel(i)+"\", rs.getString(\""+md.getColumnLabel(i)+"\"), "+md.getPrecision(i)+" );<br/>");
  			}else if(md.getColumnTypeName(i).equals("numeric") || md.getColumnTypeName(i).equals("money") ){
  				out.println("dSet.put(\""+md.getColumnLabel(i)+"\", rs.getDouble(\""+md.getColumnLabel(i)+"\"), "+md.getPrecision(i)+", "+md.getScale(i)+" );<br/>");
  			}else if(md.getColumnTypeName(i).equals("tinyint") || md.getColumnTypeName(i).equals("int")){
  				out.println("dSet.put(\""+md.getColumnLabel(i)+"\", rs.getInt(\""+md.getColumnLabel(i)+"\"), "+md.getPrecision(i)+" );<br/>");
  			}
  		}
  
  		// Loop through the result set
  		/*
  		while (rs.next()) {
  
negative.code: 	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  	<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
  	<title>META DATABASE</title>
  	<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.8.0/styles/default.min.css">
  	<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.8.0/highlight.min.js"></script>
  	<script>hljs.initHighlightingOnLoad();</script>
  </head>
  <body>
  	<input type="button" value="BACK" onclick='location.href="/adv/dev/meta.jsp";'/>
  <%
  	Connection conn = null;
  	PreparedStatement psmt = null;
  	ResultSet rs = null;
  	ResultSetMetaData md = null;
  	String putStr = "";
  	String whereStr = "";
  	String paramsStr = "";
  	String colsListStr = "";
  	Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
  	String url = "jdbc:sqlserver://210.102.8.8:14303;databaseName=adv;user=sa;password=todakftk06735!#%;";
  	//String url = "jdbc:sqlserver://210.102.8.8:14303;databaseName=EASY2000_5080;user=sa;password=todakftk06735!#%;";
  	conn = DriverManager.getConnection(url);
  	try {
  		String txtTbNm = (request.getParameter("txtTbNm") == null) ? "" : request.getParameter("txtTbNm");
  		String mode = (request.getParameter("mode") == null) ? "" : request.getParameter("mode");
  		String txtQStr = (request.getParameter("txtQStr") == null) ? "" : request.getParameter("txtQStr");
  		System.out.println(txtTbNm);
  		
  		String sql = "";
  		if(mode.equals("0")){
  			sql = "";
  			sql += "SELECT TOP 1 * ";
  			//sql += "FROM " + dbSid.trim() + ".dbo." + txtTbNm;
  			sql += "FROM " + txtTbNm;
  			//sql += "WHERE NAME LIKE '%" + sKey + "%' ";
  			//sql += "ORDER BY NAME,CODE ";
  		}else{
  			sql = txtQStr;
  		}
  