Results 1 to 2 of 2
  1. #1
    JavaDreams is offline Member
    Join Date
    Jan 2011
    Rep Power

    Default Multivalued field in a table.

    I have to provide a mechanism to add friends on my website.
    I have one user table with a primary key login.
    And another table with this login primary key as foreign key and a field friends.
    Now Please tell me how to insert value in that field and will that work as a multivalued field, or any suggestion from your side!

    Last edited by JavaDreams; 05-22-2011 at 02:36 AM.
    |SCJP-1.6 91%|

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    Uhm, with multiple rows using a unique index over the both of the fields? Why do you not ask on a forum dedicated to your db as this forum (although it is simply called database) is meant for JDBC.

Similar Threads

  1. Update field in table
    By tarkowc in forum JDBC
    Replies: 5
    Last Post: 02-10-2011, 08:25 PM
  2. 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, 12:47 PM
  3. Replies: 1
    Last Post: 10-25-2010, 01:20 PM
  4. Replies: 4
    Last Post: 01-18-2010, 12:13 AM
  5. Replies: 1
    Last Post: 01-08-2010, 07:19 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