A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Problem in meta character into data
Joined: Jun 10, 2008
Jun 16, 2008 00:41:00
I want to check against meta data in my query
I have one table with one record with single quote.I want to select all the records without this record contains single quote value
i wrote select * from tab where filename='xxx'' so i am getting error.can anybody help me to sort out this prob
Joined: Apr 14, 2004
Jun 16, 2008 02:55:00
Use a PreparedStatement. That way you don't have to worry about special characters.
Have you checked out
subject: Problem in meta character into data
Multiple or Single updates from JTABLE?
Joining Two Tables
Need help in GUI
B&S: RandomAccessFile contains one file pointer?
How to save value from ResultSet as a single value in database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015