Skip to Content
author's profile photo Former Member
Former Member

Repeating data in tables

In new entries of the table, if we give the same id number again it shows the id already exists..so how to repeat the data in tables

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Sep 01, 2006 at 03:44 PM

    If you need to have mulitple records per id, then this field can not be part of the key. You will need to use some kind of internal numbering for your record which will be the key, then your ID value can have multiple records.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2006 at 03:45 PM

    Hi,

    if the field is primary key field,it does not accept repeated values, i mean to say it holds only unique data.

    check if ur field is key field, in that case it is not possible to give same value again.

    Regards,

    Sowjanya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2006 at 03:45 PM

    Hi,

    remove primary key check in se11 in ur table

    to accept duplicates values.

    Regards

    Amole

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2006 at 03:45 PM

    KEY field combination values can NOT be accepted again in to the table.

    thats we call as "PRIMARY KEY",if you dont want this,remove one or more key fields from PRIMARY KEY Combination.

    Regards

    srikanth

    Message was edited by: Srikanth Kidambi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2006 at 03:49 PM

    Hi ,

    Include system time or some sequence number in your unique or primary key combination. I mean to say you need to add one field to your key whose value is unique like the time of record entry etc. This will allow you to enter record with same data except time.

    Hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.