On 05/05/11 09:40, Rich Serafin wrote:
> Hi Folks,
>
> We are looking for an easy way to find items that have no usage in our Intralink
> 3.4 database. We're also looking for a method to identify parts & assemblies
> that have the same name, i.e., xxxxxx.prt & xxxxxx.asm.
This will show you objects with the same basename:
alter session set current_schema=pdm;
column basename format a100;
set lines 100;
set pages 500;
select substr(piname, 1, instr(piname,'.',1) - 1) basename
from pdm_productitem
where piname like '%.asm' or piname like '%.prt'
group by substr(piname, 1, instr(piname,'.',1) - 1)
having count(piname) > 1
order by basename;
> I haven't found a way to
> create a reliable search for either task and doing it manually is time
> consuming. Any help would be greatly appreciated!
>
> Rich
>
>
--
------------------------------------------------------------------------
Randy Jones
Systems Administrator
Great Plains Mfg., Inc.
1525 E North St
PO Box 5060
Salina, KS USA 67401
email: -
Phone: 785-823-3276
Fax: 785-667-2695
------------------------------------------------------------------------