Meaningless Drivel is fun!*
The moose likes JDBC and the fly likes How to use escape sequence Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to use escape sequence" Watch "How to use escape sequence" New topic
Author

How to use escape sequence

John King
Ranch Hand

Joined: Aug 27, 2002
Posts: 165
Could anyone post an example on
escape sequence in JDBC? Why should we
use it? Thanks.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Are you curious about escaping certain characters?
The easiest thing is to not worry about it. Take a look at using a PreparedStatement.
I'd suggest taking a look at the PreparedStatement documentation and trying a quick search on this forum. (The search page link is at the top right of this page.)
[ April 04, 2003: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
jQuery in Action, 2nd edition
 
subject: How to use escape sequence
 
Similar Threads
" within String
What escape sequence is this ?????
invalid char gets displayed
Problems with replaceAll()
Strange output