title: javascript - accessing a field of datatype varchar(max) in resultset
body: <p>Within a javascript app, we're calling a sproc on SQL Server 2005 that's returning a resultset with 3 columns of type: bigint, varchar(20), and varchar(MAX).</p>
  
  <p>When calling the sproc and reading the results, there's no exception being thrown. When enumerating the resultset:</p>
  
  <pre><code>var dbConn = DatabaseConnectionFactory.createDatabaseConnection("1","2","3","4");    
  var myResultSet = dbConn.executeCachedQuery("EXEC MySproc");
  dbConn.close();
  
  var myString = myResultSet.getString("MyVarcharMaxField");
  </code></pre>
  
  <p>When examining the value of myString, the value is not what I expect:</p>
  
  <pre><code>javax.sql.rowset.serial.SerialClob@15b4206
  </code></pre>
  
  <p>Any idea how to get the real value of the field? </p>
  
  <p>Calling another method other than getString() maybe?</p>