Results 1 to 2 of 2
  1. #1
    drimades is offline Member
    Join Date
    Mar 2012
    Rep Power

    Default Autoincrement field in JavaDB

    How can I add an autoincrement field in an existing JavaDB table?
    When I use INSERT INTO statement what should I put as value for the autoincrement field?

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power

    Default Re: Autoincrement field in JavaDB

    You really need to go through the docs.
    It will be an ALTER TABLE command.

    As for the insert, you don't include the field at all.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. front end display of field description when clicking the field name
    By neils in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 10-29-2010, 11:47 AM
  2. Help setting up JavaDB
    By java_beginner in forum JDBC
    Replies: 1
    Last Post: 05-08-2010, 08:34 AM
  3. Replies: 4
    Last Post: 01-18-2010, 12:13 AM
  4. JavaDB Help
    By Sysem in forum New To Java
    Replies: 5
    Last Post: 05-29-2008, 09:21 PM
  5. JavaDB Installation
    By PhilArmstrong in forum New To Java
    Replies: 6
    Last Post: 05-13-2008, 02:09 PM

Posting Permissions

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