[freetds] Feature request

ZIGLIO Frediano Frediano.Ziglio at vodafone.com
Wed May 28 03:53:09 EDT 2003


> 
> > Is there no way in PHP to tell it to delete all white 
> spaces from a variable? 
> > 
> > I know you can do an rtrim() function to remove any blank 
> characters from a 
> > variable.  I do not know if that helps.
> 
> You are right. We can do it with PHP, but when you have about 
> 400 web sites
> writen with sybase driver, you can't easily modify all PHP scripts ...
> 
> We can also convert not null CHAR column to null CHAR column, 
> but this could
> impact insert and update statements.
> 
> We are looking for the most transparent way to migrate from sybase to
> FreeTDS.
> 

Now is clear.
You compiled PHP with Sybase CT-Lib and with FreeTDS.
Sybase CT-Lib strip blanks while FreeTDS not...
I'll check Sybase CT-Lib and fix this behavior

freddy77



More information about the FreeTDS mailing list