still problem

Discussion in 'JSP' started by qurratulain, Jan 19, 2007.

  1. qurratulain

    qurratulain New Member

    Joined:
    Oct 16, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    sir i m still having problem in the update query.i use the syntax withour brackets,

    i used the syntax
    Code:
    stmt.executeUpdate("UPDATE tabel SET NAME='"+name+"'");
    
    now suggest me what to do.
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    Field and table names are case-sensitive.Try printing your SQL query before executing it.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice