comp.lang.java.databases
  Home FAQ Contact Sign in
comp.lang.java.databases only
 
Advanced search
June 2008
motuwethfrsasuw
      1 22
2345678 23
9101112131415 24
16171819202122 25
23242526272829 26
30       27
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.java.databases Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  colon questions         


Author: Vishwas
Date: Jun 30, 2008 23:40

Hi

i am createing a update string such as below
"update __ values ( ' " + var1 +" ' ) ";

but whenever the var1 contains something like this 'tom's ' , the
string contains the extra colon, and the string breaks when i try to
use this command to update to the database.

How can i bypass this?
10 Comments