Book a Demo

Author Topic: How to duplicate tables in DB diagram?  (Read 6055 times)

mtechera

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
How to duplicate tables in DB diagram?
« on: August 03, 2015, 10:15:32 pm »
Hi,

I have a DB diagram with several very large tables. I need to make new tables that are almost identical. Is there any way to make a copy of the existing tables and modify those instead of creating completely new ones?

Regards,
Mario

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to duplicate tables in DB diagram?
« Reply #1 on: August 03, 2015, 10:39:24 pm »
Do you need a copy of the diagram or of the table?

q.

mtechera

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: How to duplicate tables in DB diagram?
« Reply #2 on: August 03, 2015, 11:58:07 pm »
Just a copy of the table.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to duplicate tables in DB diagram?
« Reply #3 on: August 04, 2015, 12:52:40 am »
Use Copy/Paste / Copy Package to Clipboard and / Paste from. This will create a clone of the package. Assuming your tables are in a single package.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to duplicate tables in DB diagram?
« Reply #4 on: August 04, 2015, 05:06:03 pm »
The fastest way to make a copy of one or more elements is to select them on a diagram, hold the control key and then drag them to an empty location on the diagram.

huh :-? wow! :o

EA is full of these kind of little gems :)

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: How to duplicate tables in DB diagram?
« Reply #5 on: August 05, 2015, 08:34:56 am »
Quote
hold the control key and then drag them to an empty location on the diagram.
ie. the same action you can use in Windows explorer to duplicate files.