| 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 query | Murthy | 24 Jan |
| • Re: insert query | Roger Baklund | 24 Jan |
| • Re: insert query | Joseph Bueno | 24 Jan |
| • Re: insert query | iConnect \(Berlin\) Stefan Hinz | 24 Jan |
| • Re: insert query | Csongor Fagyal | 24 Jan |
