Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Repeating data in tables

Former Member
0 Likes
1,422

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

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,019

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

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

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,020

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

Read only

Former Member
0 Likes
1,019

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

Read only

Former Member
0 Likes
1,019

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

Read only

Former Member
0 Likes
1,019

Hi,

remove primary key check in se11 in ur table

to accept duplicates values.

Regards

Amole

Read only

Former Member
0 Likes
1,019

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.