List:General Discussion« Previous MessageNext Message »
From:Csongor Fagyal Date:January 24 2003 4:51pm
Subject:Re: insert query
View as plain text  
Stefan Hinz, iConnect (Berlin) wrote:

>Murthy,
>
>  
>
>>how to insert only blank spaces into a field using insert query. Its
>>    
>>
>getting
>  
>
>>trimmed off.
>>    
>>
>
>If you are using VARCHAR for this, you're right. It's a documented
>behaviour of MySQL ("Values are not padded; instead, trailing spaces are
>removed when values are stored. (This space removal differs from the
>ANSI SQL specification.)"): http://www.mysql.com/doc/en/CHAR.html
>
BTW, why is this?

- Cs.


Thread
insert queryMurthy24 Jan
  • Re: insert queryRoger Baklund24 Jan
  • Re: insert queryJoseph Bueno24 Jan
  • Re: insert queryiConnect \(Berlin\) Stefan Hinz24 Jan
  • Re: insert queryCsongor Fagyal24 Jan