Book a Demo

Author Topic: Query for "Find in All Diagrams"  (Read 3586 times)

Gokcen Guner

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Query for "Find in All Diagrams"
« on: October 29, 2013, 12:51:23 am »
Hello,
I need to implement the functionality provided in GUI by CTRL-U. Is there a way to do this?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Query for "Find in All Diagrams"
« Reply #1 on: October 29, 2013, 01:51:25 am »
You can write a SQL to accomplish that. It's probably just a couple of Joins you need. Sorry, I can't give a ready to use solution here.

q.

Gokcen Guner

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Query for "Find in All Diagrams"
« Reply #2 on: October 29, 2013, 01:58:51 am »
OK I will try to write it and share here.
Thank you.

Gokcen Guner

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Query for "Find in All Diagrams"
« Reply #3 on: October 29, 2013, 04:46:23 am »
This works:

select * from t_diagramobjects dobj1, t_diagramobjects dobj2 where dobj1.object_id=dobj2.object_id and dobj1.diagram_id!=dobj2.diagram_id;

Thanks.