<?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>Intrebari generale</title><link>http://sqlserver.ro/forums/16/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: Host Name</title><link>http://sqlserver.ro/forums/thread/8336.aspx</link><pubDate>Fri, 11 Jun 2010 04:32:02 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8336</guid><dc:creator>ignatandrei</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8336.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8336</wfw:commentRss><description>super, merge!&lt;br&gt;Multumesc amindorura!&lt;br&gt;</description></item><item><title>Re: Host Name</title><link>http://sqlserver.ro/forums/thread/8335.aspx</link><pubDate>Thu, 10 Jun 2010 07:17:55 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8335</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8335.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8335</wfw:commentRss><description>Macar pentru cel mai recent statement per sesiune poti incerca&lt;br /&gt;&lt;br /&gt;SELECT conn.most_recent_session_id, conn.client_net_address, qry.TEXT &lt;br /&gt;FROM sys.[dm_exec_connections] conn&lt;br /&gt; CROSS APPLY sys.[dm_exec_sql_text](conn.[most_recent_sql_handle]) AS qry&lt;br /&gt;&lt;br /&gt;Sursa: http://www.mssqltips.com/tip.asp?tip=1799</description></item><item><title>Re: Host Name</title><link>http://sqlserver.ro/forums/thread/8333.aspx</link><pubDate>Thu, 10 Jun 2010 06:09:53 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8333</guid><dc:creator>crestinul</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8333.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8333</wfw:commentRss><description>Daca poti modifca codul stocatelor ai putea lua ip-ul depe care se executa conexiunea curenta folosind view-ul select * from sys.dm_exec_connections &lt;br /&gt;where session_id = @@SPID &lt;br /&gt;Apoi cu raiseerror poti ridica un mesaj de errroare de o severitate mai mare ca 10 ca sa poti lansa o alerta in care sa contina ip-ul repscpectiv de unde s-a lamsat stocata.&lt;br /&gt;Apoi in alert iti poti defini o alerta sa te notifice de fiecare date cand se executa stocate mai exact raiseerror cu mesajul tau...</description></item><item><title>Host Name</title><link>http://sqlserver.ro/forums/thread/8332.aspx</link><pubDate>Wed, 09 Jun 2010 08:46:27 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8332</guid><dc:creator>ignatandrei</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8332.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8332</wfw:commentRss><description>Date : &lt;br&gt;retea interna. Utilizam pentru rapoarte fisiere Excel care acceseaza proceduri stocate. Connection string-ul are un UID/PWD unic.&lt;br&gt;Fisierele Excel, teoretic , sunt pe un intranet - dar utilizatorii le-au copiat si pe local.&lt;br&gt;&lt;br&gt;As vrea sa fac un audit care sa imi spuna cine ce procedura acceseaza .&lt;br&gt;&lt;br&gt;Am vrut sa aflu prin Host_Name, dar, din pacate,in connection string e setat WSID &lt;br&gt;http://msdn.microsoft.com/en-us/library/aa177865%28SQL.80%29.aspx&lt;br&gt;&lt;br&gt;As putea sa aflu cumva masina de pe care se acceseaza ?(user-ul, asa cum am spus, este comun...)&lt;br&gt;</description></item></channel></rss>