<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Dependency records are best.  There are a few known issues with
    that. I believe it was that dependency records did not display BAT
    templates that used phone templates.<br>
    <br>
    dependency should be first approach.  if you need an SQL approach
    here is a starting point:<br>
    run sql select pkid,name from phonetemplate where pkid not in (
    select distinct fkphonetemplate from device)<br>
    <br>
    it 'looks' right, but I did not validate all scenarios. provided
    as-is with no warranty.<br>
    <br>
    Regards,<br>
    Wes<br>
    <br>
    On 3/17/2011 1:25 PM, Lelio Fulgenzi wrote:
    <blockquote
cite="mid:549597943.2535868.1300382701457.JavaMail.root@simcoe.cs.uoguelph.ca"
      type="cite">
      <style type="text/css">p { margin: 0; }</style>
      <div style="font-family: Verdana; font-size: 10pt; color: rgb(0,
        0, 0);">aside from running a dependency report on each one, not
        sure if there is away from the gui.<br>
        <br>
        probably with an SQL statement there is though.<br>
        <span><br>
          <span name="x"></span>---<br>
          Lelio Fulgenzi, B.A.<br>
          Senior Analyst (CCS) * University of Guelph * Guelph, Ontario
          N1G 2W1<br>
          (519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)<br>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
          Cooking with unix is easy. You just sed it and forget it. <br>
                                        - LFJ (with apologies to Mr.
          Popeil)<br>
          <span name="x"></span><br>
        </span><br>
        <hr id="zwchr"><b>From: </b>"Neal Haas"
        <a class="moz-txt-link-rfc2396E" href="mailto:nhaas@co.fresno.ca.us"><nhaas@co.fresno.ca.us></a><br>
        <b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
        <b>Sent: </b>Thursday, March 17, 2011 12:03:33 PM<br>
        <b>Subject: </b>[cisco-voip] Orphaned Phone Button Templates<br>
        <br>
        <style><!--
/* Font Definitions */
@font-face
        {font-family:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
        <div class="WordSection1">
          <p class="MsoNormal">I am cleaning up the Individual Phone
            button templates, that are customer care individuals create.</p>
          <p class="MsoNormal"> </p>
          <p class="MsoNormal">I have noticed that some Individual
            templates are not associated with a phone any longer. Is
            there a way to find Phone Button Templates that have “0”
            phones associated with them???</p>
          <p class="MsoNormal"> </p>
          <p class="MsoNormal" style=""><span style="font-size: 10pt;
              font-family: "Cambria","serif";">Thanks</span></p>
          <p class="MsoNormal" style=""><span style="font-size: 10pt;
              font-family: "Cambria","serif";"> </span></p>
          <p class="MsoNormal" style=""><span style="font-size: 10pt;
              font-family: "Cambria","serif";">Neal
              Haas</span></p>
          <p class="MsoNormal"> </p>
        </div>
        <br>
        _______________________________________________<br>
        cisco-voip mailing list<br>
        <a class="moz-txt-link-abbreviated" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
        <a class="moz-txt-link-freetext" href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
cisco-voip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>
<a class="moz-txt-link-freetext" href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a>
</pre>
    </blockquote>
  </body>
</html>