Duplicate column names in same or different table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2018 01:53 AM
Hi,
what happens if i use the same column name(not column label) in 2 tables? Will it cause any issue? If Yes, what type of issue will be caused.
Thanks,
Manikandan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2018 07:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2018 04:44 AM
Hi Manikandan,
You can have same column name in 2 different tables but in child table it is not allowed to create field with same name as in parent table If we try to create it then it give a message column already exists in table or extended from it.
If you want to duplicate a table with all the column names then extends the table into another table which you want to duplicate.
Mark Correct/Helpful, if this helps you.
Thanks and regards,
Tejal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2018 12:34 PM
There is no Issue with the use of "same column name" in two different tables. But it is not possible when the table is inherited.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 02:38 PM
Hi,
Piggy backing off this topic here. The incident table already has a field called category but my users don't want the INC prefix and prefer to have their own prefix for ticket numbering. Because of this, I am thinking about creating a new table and add another category field for this table. Is it okay to have a field called category in 2 separate tables? Is there a way to reuse that category field from the incident table while still having my new prefix for ticket numbers to go along with the inc prefix for incidents?