Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: adepreter on February 08, 2016, 07:39:30 pm
-
What is the most effective way to delete all baselines from the repository in one go.
Is all baseline information stored ONLY in the t_document table (where t_document.ElementID = t_package.ea_guid) ?
Thanks
Alain
-
Alain,
I believe it is indeed only stored in the t_document, but it is not the only thing that is stored in that table.
So you'll have to make sure that your selection is precise enough to delete ONLY the baselines.
Geert
-
DELETE FROM t_document WHERE ElementType="Baseline"
should do. See p. 28 of my Inside book.
q.
-
Thank you very much! I guess you meant DocType and not ElementType.
DELETE FROM t_document WHERE DocType="Baseline"
-
Yes. It looks like I need to clarify the according paragraph in my book ;D
q.