• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Escape Character Help

 
sumeet mittal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my query is
insert into table1 values('sumeet's','query1')
both column's are of varchar datatype
How can i do this.??
 
Bosun Bello
Ranch Hand
Posts: 1510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are better of using a prepared statement. It takes care of escape characters
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic