> If you are using the latest JAR and SQL Server 7, specifying your jdbc > URL as > > jdbc:freetds:sqlserver://myserver/mydb;tds=7.0 > > should make it work without a CAST. Char columns with more than 255 > chars are new in TDS 7.0 and you have to explicitly enable support > for it. Ah, even better, didn't have to change my code now. Thank you Stefan. /Daniel