Hello Andreas,

> -----Original Message-----
> From: Andreas Bohn [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 24, 2004 2:49 PM
> To: Schroeder, Alexander; [EMAIL PROTECTED]
> Subject: RE: SQLDBC getObject() and bindColumn()/fetch() returning too
> man y chars
> 
> 
> hello alexander,
> 
> > the difference is in CHAR/VARCHAR data type. CHAR types are always
> > padded with the
> > fill character, where VARCHAR values have a *variable* length. 
> > 
> > So, it is a feature, not a bug.
> 
> wow, that's a surprising feature.
> i dont expected that. that's quit different from CPC code, 
> where the content of CHAR columns returned is *exactly* 
> what you originally stuffed in.

For the CPC, it depends on a variety of things (host variable type,
database type, SQL mode, ...). Also it is not 'exactly' - trailing blanks
would be trimmed, too, as MaxDB cannot handle trailing blanks. 

Regards
Alexander Schr�der
SAP DB, SAP Labs Berlin

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to