[#2842] Sybase CAST(? AS LONG VARCHAR) must not contain a length