Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2011
    Posts
    23
    Rep Power
    0

    Default insert or update from variables ?

    Hey everyone...I've got a little problem when I try to execute an insert statement in eclipse ...
    I have this database (picture 1)

    And an integer variable a = 500 for example

    what I want to do is to update table a so that instead of having the value 42 on the second row to have the value from the variable a (500)...so that's how I did it (print2),,,I got no errors or anything but the update isn't working...am I doing something wrong? is my statement correct?

    Kind regards !
    Attached Thumbnails Attached Thumbnails insert or update from variables ?-print1.jpg   insert or update from variables ?-print2.jpg  
    Last edited by ady_bavarezu89; 04-22-2011 at 04:33 PM.

  2. #2
    Join Date
    Jan 2011
    Posts
    23
    Rep Power
    0

Similar Threads

  1. Replies: 13
    Last Post: 10-30-2010, 04:01 PM
  2. Replies: 2
    Last Post: 07-28-2010, 04:14 PM
  3. How to insert '{'
    By izrydka in forum New To Java
    Replies: 3
    Last Post: 05-18-2010, 08:38 PM
  4. What are Instance variables and static variables?
    By sandeshforu in forum New To Java
    Replies: 3
    Last Post: 09-09-2009, 05:48 PM
  5. Replies: 3
    Last Post: 02-28-2009, 09:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •