Greg --
Here's a sql query for pulling information from WTParts, WTDocs and EPMDocs
with a RELEASED state. Hope this gives you an idea for what you might be
trying to do.
(select a.wtpartnumber as NUM, b.versionida2versioninfo as REV,
b.iterationida2iterationinfo as ITER, b.statestate as STATE, b.classnamea2a2
as TYP
from wtpartmaster a, wtpart b
where b.statestate='RELEASED' and b.ida3masterreference=a.ida2a2)
union
(select a.wtdocumentnumber as NUM, b.versionida2versioninfo as REV,
b.iterationida2iterationinfo as ITER, b.statestate as STATE, b.classnamea2a2
as TYP
from wtdocumentmaster a, wtdocument b
where b.statestate='RELEASED' and b.ida3masterreference=a.ida2a2)
union
(select a.documentnumber as NUM, b.versionida2versioninfo as REV,
b.iterationida2iterationinfo as ITER, b.statestate as STATE, b.classnamea2a2
as TYP
from epmdocumentmaster a, epmdocument b
where b.statestate='RELEASED' and b.ida3masterreference=a.ida2a2);
Regards,
On Tue, Mar 9, 2010 at 12:23 PM, Kemner, Greg (AS) <->wrote:
> Can someone help me with the oracle command line prompts in order to
> accomplish the following in Windchill 9.0?
>
> I need to generate a list all objects in the database that meet the
> following criteria:
>
> Iteration = LATEST
>
> Revision = LATEST
>
> State = RELEASE
>
> I am trying to write a script to generate this list on a regular basis so I
> have to figure out the command prompt commands to use. I know how to log
> into Sqlplus from the Windchill shell but it is the commands that I need after
> that that has me stumped at the moment.
>
> Thanks!
>