|
|
Choosing A Webhost: |
Re: Backslash NOT being stored: msg#00012db.mysql.bugs
Hi! On Apr 09, Paul McNeil wrote: > Good day. If I do the following... > INSERT INTO myTable (data) VALUES('Here is a backslash \ '); > > I escape it prior to sending so the value that gets sent to the DB is.... > INSERT INTO myTable (data) VALUES('Here is a backslash \\ '); > > BUT when I check the DB the data field reads > [Here is a backslash ] > > It eats the single backslash. > > How can I prevent this? According to http://dev.mysql.com/doc/mysql/en/String_syntax.html backslash is an escape character and must be escaped. Regards, Sergei -- __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@xxxxxxxxx> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Senior Software Developer /_/ /_/\_, /___/\___\_\___/ Osnabrueck, Germany <___/ www.mysql.com -- MySQL Bugs Mailing List For list archives: http://lists.mysql.com/bugs To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Backslash NOT being stored, Andreas Pardeike |
|---|---|
| Next by Date: | Re: Backslash NOT being stored, John Wythe |
| Previous by Thread: | Re: Backslash NOT being stored, Andreas Pardeike |
| Next by Thread: | Re: Backslash NOT being stored, John Wythe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |