I am trying to issue the following command

Discussion in 'Software' started by BrokenArrows, Mar 29, 2005.

  1. BrokenArrows

    BrokenArrows Sergeant

    I am trying to issue the following command

    stmt.execute("INSERT INTO current_guests VALUES (room_num, name, age, address)";);

    The problem is that it is not recognising room_num, name, age, address as variables.

    How can i get java to execute this command and properly insert the values that the variables represent.
     
  2. BrokenArrows

    BrokenArrows Sergeant

    Cool just became a Corporal with that last post.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds