<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CM DB device.datetimeinserted contains nothing in Management</title>
    <link>https://community.cisco.com/t5/management/cm-db-device-datetimeinserted-contains-nothing/m-p/3418531#M16</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's possible (maybe even likely?) that the datetimeinserted field was defined at some point in the DB historically but never actually used by the CUCM code implementation, or its function was removed...if it's not getting written, then the assumption is somewhat necessarily that this is by design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To some extent, apps dealing with accessing the raw SQL data must face the sometimes unexplained quirks of the system...I.e. engineering would likely not contemplate a bug report or enhancement request to start populating this field purely for 3rd party app convenience...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I'm not aware of another way of getting such timestamp info.&amp;nbsp; About the only suggestion would be to consider the 'Change Notification' system, whereby the app could become aware of CRUD operations on DB items (like devices) in semi-real-time, and assign its own internal time-stamp...&lt;/P&gt;&lt;P&gt;&lt;A href="http://developer.cisco.com/site/axl/documents/axl-developer-guide-v11-0/#data-change-notification" title="http://developer.cisco.com/site/axl/documents/axl-developer-guide-v11-0/#data-change-notification"&gt;Cisco DevNet: Administrative XML (AXL) - AXL Developer Guide v11.0&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Mar 2016 00:41:46 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2016-03-30T00:41:46Z</dc:date>
    <item>
      <title>CM DB device.datetimeinserted contains nothing</title>
      <link>https://community.cisco.com/t5/management/cm-db-device-datetimeinserted-contains-nothing/m-p/3418529#M14</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I've got problem while sql querying Cm database.&lt;/P&gt;&lt;P&gt;Should &lt;STRONG&gt;&lt;EM&gt;datetimeinserted&lt;/EM&gt;&lt;/STRONG&gt; field of &lt;STRONG&gt;&lt;EM&gt;device&lt;/EM&gt;&lt;/STRONG&gt; table return timestamp of when phone profile has been created?&lt;/P&gt;&lt;P&gt;I'm getting just empty string, while values of other fields in this table returned successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UCM 10.5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Dec 2015 04:43:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cm-db-device-datetimeinserted-contains-nothing/m-p/3418529#M14</guid>
      <dc:creator>wizzard344</dc:creator>
      <dc:date>2015-12-25T04:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: CM DB device.datetimeinserted contains nothing</title>
      <link>https://community.cisco.com/t5/management/cm-db-device-datetimeinserted-contains-nothing/m-p/3418530#M15</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;that's correct, &lt;STRONG&gt;datetimeinserted&lt;/STRONG&gt; field shows the time when device inserted.&lt;/P&gt;&lt;P&gt;See the information below the field name in CUCM SQL Dictionary &lt;A href="https://developer.cisco.com/media/UCM10.5DataDictionary/UCM10.5DataDictionary.htm#device" title="https://developer.cisco.com/media/UCM10.5DataDictionary/UCM10.5DataDictionary.htm#device"&gt;https://developer.cisco.com/media/UCM10.5DataDictionary/UCM10.5DataDictionary.htm#device&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already performed some tests with sql query on cucm 10.5 and 8.6.&lt;/P&gt;&lt;P&gt;Like you, I get NULL in datetimeinserted but maybe Cisco just give us the option to change this value over insert/update SQL queries.&lt;/P&gt;&lt;P&gt;I performed SQL update on device specific and the field changed &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run sql update device set datetimeinserted="131101" where pkid='f514f548-9bc4-3dd7-0cef-1222c3996d4c'&lt;/P&gt;&lt;P&gt;pkid&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datetimeinserted&lt;/P&gt;&lt;P&gt;===============================&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =====================&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ==============&lt;/P&gt;&lt;P&gt;f514f548-9bc4-3dd7-0cef-1222c3996d4c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXL 7861 Phone Template&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 131101&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 21:49:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cm-db-device-datetimeinserted-contains-nothing/m-p/3418530#M15</guid>
      <dc:creator>lior look</dc:creator>
      <dc:date>2016-03-29T21:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: CM DB device.datetimeinserted contains nothing</title>
      <link>https://community.cisco.com/t5/management/cm-db-device-datetimeinserted-contains-nothing/m-p/3418531#M16</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's possible (maybe even likely?) that the datetimeinserted field was defined at some point in the DB historically but never actually used by the CUCM code implementation, or its function was removed...if it's not getting written, then the assumption is somewhat necessarily that this is by design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To some extent, apps dealing with accessing the raw SQL data must face the sometimes unexplained quirks of the system...I.e. engineering would likely not contemplate a bug report or enhancement request to start populating this field purely for 3rd party app convenience...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I'm not aware of another way of getting such timestamp info.&amp;nbsp; About the only suggestion would be to consider the 'Change Notification' system, whereby the app could become aware of CRUD operations on DB items (like devices) in semi-real-time, and assign its own internal time-stamp...&lt;/P&gt;&lt;P&gt;&lt;A href="http://developer.cisco.com/site/axl/documents/axl-developer-guide-v11-0/#data-change-notification" title="http://developer.cisco.com/site/axl/documents/axl-developer-guide-v11-0/#data-change-notification"&gt;Cisco DevNet: Administrative XML (AXL) - AXL Developer Guide v11.0&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 00:41:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cm-db-device-datetimeinserted-contains-nothing/m-p/3418531#M16</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2016-03-30T00:41:46Z</dc:date>
    </item>
  </channel>
</rss>

