Inserting a backslash
From: Joe Ray (raymis_at_hotmail.com)
Date: 07/21/04
- Previous message: Stylus Studio: "ANN: Stylus Studio 5 XML IDE Adds XQuery Development Support for Saxon 7 Java XQuery Processor"
- Next in thread: Chris: "Re: Inserting a backslash"
- Reply: Chris: "Re: Inserting a backslash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Jul 2004 13:10:21 -0700
I am trying to insert string data into my MySQL database. Some of the
string data has a backslash as a character. I tried to make a simple
insert of a backslash into the database using the following statement
in java. Notice that i used two backslashes.
stmt.executeUpdate("INSERT INTO DICTIONARY VALUES('\\')");
However the database did not accept that I received an SQL exception.
I am stumped. Any suggestions? Thanx in advance
Joe
- Previous message: Stylus Studio: "ANN: Stylus Studio 5 XML IDE Adds XQuery Development Support for Saxon 7 Java XQuery Processor"
- Next in thread: Chris: "Re: Inserting a backslash"
- Reply: Chris: "Re: Inserting a backslash"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|