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

    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 01:36 AM.
    |SCJP-1.6 91%|

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    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, 07: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, 11:47 AM
  3. Replies: 1
    Last Post: 10-25-2010, 12:20 PM
  4. Replies: 4
    Last Post: 01-17-2010, 11:13 PM
  5. Replies: 1
    Last Post: 01-08-2010, 06: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
  •