Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: mtechera on August 03, 2015, 10:15:32 pm

Title: How to duplicate tables in DB diagram?
Post by: mtechera 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
Title: Re: How to duplicate tables in DB diagram?
Post by: qwerty on August 03, 2015, 10:39:24 pm
Do you need a copy of the diagram or of the table?

q.
Title: Re: How to duplicate tables in DB diagram?
Post by: mtechera on August 03, 2015, 11:58:07 pm
Just a copy of the table.
Title: Re: How to duplicate tables in DB diagram?
Post by: qwerty 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.
Title: Re: How to duplicate tables in DB diagram?
Post by: Geert Bellekens 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
Title: Re: How to duplicate tables in DB diagram?
Post by: Eve 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.