<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlserver.ro/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>T-SQL</title><link>http://sqlserver.ro/forums/15/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6766.aspx</link><pubDate>Thu, 12 Feb 2009 18:24:27 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6766</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6766.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6766</wfw:commentRss><description>&lt;br&gt;&lt;font size="2"&gt;O problema ar fi totusi "SET TRUSTWORTHY ON"...&lt;/font&gt;&lt;br&gt;</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6763.aspx</link><pubDate>Thu, 12 Feb 2009 12:57:27 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6763</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6763.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6763</wfw:commentRss><description>...sigur ca ma astept ca audit-ul sa fie cat de cat selectiv - deci nu chiar pentru toate tabelele...&lt;img src="http://sqlserver.ro/emoticons/emotion-1.gif" alt="Smile" /&gt;. Si probabil trebuie gasita si o solutie de "cleanup" pentru &lt;FONT size=2&gt;MasterAuditTable...etc...&lt;/FONT&gt;</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6762.aspx</link><pubDate>Thu, 12 Feb 2009 12:54:41 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6762</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6762.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6762</wfw:commentRss><description>&lt;P&gt;Andrei, da, solutia propusa foloseste triggeri. Dar, dupa cum semnaleaza autorul, poti folosi clauza "OUTPUT" pentru insert, delete... - nu-i "musai" trigger-ul.&amp;nbsp;Trigger-ul de pe tabela Person trimite date intr-o coada ("TargetAuditQueue") in baza MasterAudit. Din&amp;nbsp;TargetAuditQueue mesajele sunt procesate asincron de catre mai multe (aici max. 50) instante ale procedurii "&lt;FONT size=2&gt;usp_WriteAuditData&lt;/FONT&gt;". Deci impactul asupra performantei nu ar trebui sa fie semnificativ.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eu deocamdata sunt incepator in ceea ce priveste Service Broker si incerc sa inteleg functionarea cautand situatii "din practica". Asta mi s-a parut potrivit pentru Alex. Sunt si eu curioasa cum merge pentru o baza cu 900 tabele, mii de insert/update/delete pe zi, etc...&lt;/P&gt;</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6761.aspx</link><pubDate>Thu, 12 Feb 2009 12:00:20 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6761</guid><dc:creator>ignatandrei</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6761.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6761</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Diana:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Alex:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;Salut, &lt;/p&gt;
&lt;p&gt;exista vreo tabela pe sql server 2005 unde pot vedea ultima data in care a fost folosit un obiect in special ma intereseaza la tabela (cand a fost ultima data facuta vreo operatie pe ea)&lt;/p&gt;
&lt;p&gt;multumesc.&lt;/p&gt;
&lt;p&gt;alex.&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;&lt;br&gt;Uite si o solutie bazata pe Service Broker. Se apropie destul de mult de ce iti trebuie. Partea "proasta" e ca va trebui sa te familiarizezi cu Service Broker...Daca incerci, te rog tine-ne la curent cu impresiile tale...&lt;br&gt;http://www.sqlteam.com/article/centralized-asynchronous-auditing-with-service-broker&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;Diana,&lt;br&gt;Pare sa fie facuta tot cu trigger &lt;br&gt;CREATE TRIGGER dbo.trgPersonAudit&lt;br&gt;ON Person&lt;br&gt;AFTER INSERT, UPDATE, DELETE &lt;br&gt;AS&lt;br&gt;&lt;br&gt;doar ca foloseste service broker in loc sa foloseasca pur si simplu un insert intr-o tabela de log-uri ...&lt;br&gt;Dar poate ca ma insel ...&lt;br&gt;</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6760.aspx</link><pubDate>Thu, 12 Feb 2009 11:54:27 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6760</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6760.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6760</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Alex:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;Salut, &lt;/p&gt;
&lt;p&gt;exista vreo tabela pe sql server 2005 unde pot vedea ultima data in care a fost folosit un obiect in special ma intereseaza la tabela (cand a fost ultima data facuta vreo operatie pe ea)&lt;/p&gt;
&lt;p&gt;multumesc.&lt;/p&gt;
&lt;p&gt;alex.&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;&lt;br&gt;Uite si o solutie bazata pe Service Broker. Se apropie destul de mult de ce iti trebuie. Partea "proasta" e ca va trebui sa te familiarizezi cu Service Broker...Daca incerci, te rog tine-ne la curent cu impresiile tale...&lt;br&gt;http://www.sqlteam.com/article/centralized-asynchronous-auditing-with-service-broker&lt;br&gt;&lt;br&gt;</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6624.aspx</link><pubDate>Mon, 26 Jan 2009 14:37:14 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6624</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6624.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6624</wfw:commentRss><description>Nici o problema...&lt;img src="http://sqlserver.ro/emoticons/emotion-1.gif" alt="Smile" /&gt;</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6623.aspx</link><pubDate>Mon, 26 Jan 2009 14:32:02 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6623</guid><dc:creator>ignatandrei</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6623.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6623</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Diana:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;BOL spune ca sys.objects.modufy_date este "Date the object was last modified by using an ALTER statement. If the object is a table or a view, &lt;b&gt;modify_date&lt;/b&gt; also changes when a clustered index on the table or view is created or altered."...&lt;/p&gt;
&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;scuze,,,,&lt;br&gt;</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6622.aspx</link><pubDate>Mon, 26 Jan 2009 14:16:14 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6622</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6622.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6622</wfw:commentRss><description>Vezi si &lt;A href="http://sqlblog.com/blogs/louis_davidson/archive/2007/07/22/sys-dm-db-index-usage-stats.aspx"&gt;http://sqlblog.com/blogs/louis_davidson/archive/2007/07/22/sys-dm-db-index-usage-stats.aspx&lt;/A&gt;.</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6621.aspx</link><pubDate>Mon, 26 Jan 2009 13:34:48 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6621</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6621.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6621</wfw:commentRss><description>&lt;P&gt;BOL spune ca sys.objects.modufy_date este "Date the object was last modified by using an ALTER statement. If the object is a table or a view, &lt;B&gt;modify_date&lt;/B&gt; also changes when a clustered index on the table or view is created or altered."...&lt;/P&gt;
&lt;P&gt;Cred ca ar trebui sa-ti definesti mai bine cerinta - ce tabele te intereseaza in primul rand, in ce consta "curatenia" pe care vrei sa o faci...Incearca sa folosesti sys.dm_db_index_usage_stats - dupa cum au fost folositi indecsii, cred ca poti deduce data ultimei operatiuni pe tabel.&lt;/P&gt;</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6620.aspx</link><pubDate>Mon, 26 Jan 2009 13:21:32 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6620</guid><dc:creator>ignatandrei</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6620.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6620</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;Alex:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;sunt cam 900 tabele in baza de date, nu as vrea sa pun trigger pt ca sunt tabele pe care se executa mii de insert-uri etc pe minut si ar ingreuna lucrul....as fi vrut sa aflu daca exista o tabela de system in care pot gasi asemenea informatii...cum pot afla data la care a fost creat un obiect as fi vrut sa vad si data ultima la care a fost folosit.&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;select * from sys.tables&lt;br&gt;Vezi modified date ...&lt;br&gt;&lt;br&gt;</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6619.aspx</link><pubDate>Mon, 26 Jan 2009 13:13:22 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6619</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6619.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6619</wfw:commentRss><description>&lt;P&gt;sunt cam 900 tabele in baza de date, nu as vrea sa pun trigger pt ca sunt tabele pe care se executa mii de insert-uri etc pe minut si ar ingreuna lucrul....as fi vrut sa aflu daca exista o tabela de system in care pot gasi asemenea informatii...cum pot afla data la care a fost creat un obiect as fi vrut sa vad si data ultima la care a fost folosit.&lt;/P&gt;</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6618.aspx</link><pubDate>Mon, 26 Jan 2009 13:06:03 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6618</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6618.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6618</wfw:commentRss><description>Cate tabele? Poti sa pui triggere pe acele tabele? Vezi si &lt;A href="http://articles.techrepublic.com.com/5100-10878_11-6175865.html"&gt;http://articles.techrepublic.com.com/5100-10878_11-6175865.html&lt;/A&gt;.</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6617.aspx</link><pubDate>Mon, 26 Jan 2009 12:40:26 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6617</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6617.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6617</wfw:commentRss><description>&lt;P&gt;vreau sa aflu cand au fost folosite ultima data tabelele(insert/update/delete) ca sa pot face putina curatenie in baza de date (lasand la o parte nomenclatoarele)&lt;/P&gt;
&lt;P&gt;multumesc&lt;/P&gt;
&lt;P&gt;alex.&lt;/P&gt;</description></item><item><title>Re: ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6616.aspx</link><pubDate>Mon, 26 Jan 2009 12:33:18 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6616</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6616.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6616</wfw:commentRss><description>&lt;P&gt;Mai exact, care este problema cu care te confrunti?&lt;/P&gt;</description></item><item><title>ultima data de folosire pt obiecte - SQL Server 2005</title><link>http://sqlserver.ro/forums/thread/6615.aspx</link><pubDate>Mon, 26 Jan 2009 12:26:06 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:6615</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/6615.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=6615</wfw:commentRss><description>&lt;P&gt;Salut, &lt;/P&gt;
&lt;P&gt;exista vreo tabela pe sql server 2005 unde pot vedea ultima data in care a fost folosit un obiect in special ma intereseaza la tabela (cand a fost ultima data facuta vreo operatie pe ea)&lt;/P&gt;
&lt;P&gt;multumesc.&lt;/P&gt;
&lt;P&gt;alex.&lt;/P&gt;</description></item></channel></rss>