title: Why it says "java.sql.SQLException: invalid column name"
body: <p>I'm trying to get results from DB</p>
  
  <pre><code>        String strCommand = "select TO_CHAR (realdate, 'YYYYMMDD'), PURCHASE_PRICE, SELLING_PRICE from CURRENCY_VI where RATE_NAME='EUR'";
  
          cs.setQueryTimeout(m_nTimeout);
  
          ResultSet rs = cs.executeQuery(strCommand);
  
          while (rs.next()){
              System.out.println("!!!\n\nDATE = " + rs.getString("realdate") + " PURCHASE_PRICE = " + rs.getString("PURCHASE_PRICE") + " SELLING_PRICE = " + rs.getString("SELLING_PRICE"));
          }
  </code></pre>
  
  <p>It says that <code>rs.getString("realdate")</code> - "<em>java.sql.SQLException: invalid column name</em>", why?</p>
  
  <p>Without <code>rs.getString("realdate")</code> everything works fine.</p>
  
  <p>Actually, table has this column</p>
  
  <pre><code>  CREATE TABLE "GPB"."CURRENCY_VI" 
     (           "REALDATE" DATE, 
                  "PURCHASE_PRICE" FLOAT(126), 
                  "SELLING_PRICE " FLOAT(126), 
                  "RATE_NAME" VARCHAR2(20 BYTE)
     )
  </code></pre>
  
  <p>Thank you!</p>