<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Interesting Observation of Logon Trigger On All Servers</title>
	<atom:link href="http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sat, 25 May 2013 15:33:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Biny</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-462514</link>
		<dc:creator><![CDATA[Biny]]></dc:creator>
		<pubDate>Wed, 24 Apr 2013 02:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-462514</guid>
		<description><![CDATA[I run into similar issue actually I had a stored procedure that was called from within such similar trigger and my mail box (received it in my Gmail account) was filled up by that same message about security warning any help or findings pls]]></description>
		<content:encoded><![CDATA[<p>I run into similar issue actually I had a stored procedure that was called from within such similar trigger and my mail box (received it in my Gmail account) was filled up by that same message about security warning any help or findings pls</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monica Pepe</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-384364</link>
		<dc:creator><![CDATA[Monica Pepe]]></dc:creator>
		<pubDate>Sat, 01 Dec 2012 01:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-384364</guid>
		<description><![CDATA[Hi Pinal,

2 questions....

1) Where is this trigger stored?  On the serverlogonhistory table?

2) I suspect I can put a &quot;where clause&quot; in the trigger create script, such as... 

    WHERE System_User not in (&#039;sa&#039;, &#039;_SYSADMIN_&#039;, &#039;mydomain\myusername&#039;)

My goal is to capture only the logons for the application that runs on top of sql and not the logins by our service accounts, sqlreporting services, management studio connections, etc.  I would also store the logon table not in a separate db but in the sql db associated to the application that we use.

Please advise.

Monica]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>2 questions&#8230;.</p>
<p>1) Where is this trigger stored?  On the serverlogonhistory table?</p>
<p>2) I suspect I can put a &#8220;where clause&#8221; in the trigger create script, such as&#8230; </p>
<p>    WHERE System_User not in (&#8216;sa&#8217;, &#8216;_SYSADMIN_&#8217;, &#8216;mydomain\myusername&#8217;)</p>
<p>My goal is to capture only the logons for the application that runs on top of sql and not the logins by our service accounts, sqlreporting services, management studio connections, etc.  I would also store the logon table not in a separate db but in the sql db associated to the application that we use.</p>
<p>Please advise.</p>
<p>Monica</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Holt</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-355962</link>
		<dc:creator><![CDATA[Nick Holt]]></dc:creator>
		<pubDate>Thu, 04 Oct 2012 21:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-355962</guid>
		<description><![CDATA[In fact I can&#039;t even log in as sa, because I get the same error. This is a disaster. I&#039;m going to have to uninstall and reinstall SQL Server on my machine. Thanks for nothing PD.]]></description>
		<content:encoded><![CDATA[<p>In fact I can&#8217;t even log in as sa, because I get the same error. This is a disaster. I&#8217;m going to have to uninstall and reinstall SQL Server on my machine. Thanks for nothing PD.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Holt</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-355961</link>
		<dc:creator><![CDATA[Nick Holt]]></dc:creator>
		<pubDate>Thu, 04 Oct 2012 21:10:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-355961</guid>
		<description><![CDATA[I ran your code, but now I can&#039;t logon to SQL Server&gt; I get the message &#039;Cannot connect to Nick-PC\SQL.
Additional Information:
Login failed for login &#039;Nick-PC\Nick&#039; due to trigger execution.
Changed database context to master.
Changed language setting to us_english. (Microsoft SQL Server, Error, 17892)

How do I log into SQL Server to fix this?]]></description>
		<content:encoded><![CDATA[<p>I ran your code, but now I can&#8217;t logon to SQL Server&gt; I get the message &#8216;Cannot connect to Nick-PC\SQL.<br />
Additional Information:<br />
Login failed for login &#8216;Nick-PC\Nick&#8217; due to trigger execution.<br />
Changed database context to master.<br />
Changed language setting to us_english. (Microsoft SQL Server, Error, 17892)</p>
<p>How do I log into SQL Server to fix this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jagan</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-326514</link>
		<dc:creator><![CDATA[jagan]]></dc:creator>
		<pubDate>Tue, 07 Aug 2012 13:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-326514</guid>
		<description><![CDATA[hi pinal,
i have a question regarding putting session time limit on users connecting to the database in sql server 2000, how do i implement it using logon triggers or with any other way?]]></description>
		<content:encoded><![CDATA[<p>hi pinal,<br />
i have a question regarding putting session time limit on users connecting to the database in sql server 2000, how do i implement it using logon triggers or with any other way?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Significance of Various Kinds of Triggers- Quiz &#8211; Puzzle &#8211; 2 of 31 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-230361</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Significance of Various Kinds of Triggers- Quiz &#8211; Puzzle &#8211; 2 of 31 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Tue, 03 Jan 2012 01:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-230361</guid>
		<description><![CDATA[[...] and Explanation Disable All Triggers on a Database – Disable All Triggers on All Servers Interesting Observation of Logon Trigger On All Servers Disable Triggers – [...]]]></description>
		<content:encoded><![CDATA[<p>[...] and Explanation Disable All Triggers on a Database – Disable All Triggers on All Servers Interesting Observation of Logon Trigger On All Servers Disable Triggers – [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neeta Chander</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-186834</link>
		<dc:creator><![CDATA[Neeta Chander]]></dc:creator>
		<pubDate>Wed, 02 Nov 2011 06:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-186834</guid>
		<description><![CDATA[The same error also comes even if the database has not been dropped. This comes when you login with Windows authetication and occurs if the user does not have permission over AuditDB database to execute the trigger. Solution for this is to create Trigger with Execute as sa clause
i.e.
CREATE TRIGGER Tr_ServerLogon
ON ALL SERVER WITH Execute As &#039;sa&#039;  FOR LOGON
AS
BEGIN
INSERT INTO AuditDb.dbo.ServerLogonHistory
SELECT SYSTEM_USER,USER,@@SPID,GETDATE()
END
GO]]></description>
		<content:encoded><![CDATA[<p>The same error also comes even if the database has not been dropped. This comes when you login with Windows authetication and occurs if the user does not have permission over AuditDB database to execute the trigger. Solution for this is to create Trigger with Execute as sa clause<br />
i.e.<br />
CREATE TRIGGER Tr_ServerLogon<br />
ON ALL SERVER WITH Execute As &#8216;sa&#8217;  FOR LOGON<br />
AS<br />
BEGIN<br />
INSERT INTO AuditDb.dbo.ServerLogonHistory<br />
SELECT SYSTEM_USER,USER,@@SPID,GETDATE()<br />
END<br />
GO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ritesh Kumar</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-146887</link>
		<dc:creator><![CDATA[Ritesh Kumar]]></dc:creator>
		<pubDate>Fri, 08 Jul 2011 12:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-146887</guid>
		<description><![CDATA[Hi,
I was facing same problem.  
When I have inserted ORIGINAL_DB_NAME()  in ServerLogonHistory  table I observed in my cases It is happening due to other applications like report sever etc. is also accessing the sql server. When I stopped those services which solved my problem. Logon trigger fires when new session is established (For example when we open a new query page due to its execute USE YourDb) .
 To stop such entry we can write :

SELECT SYSTEM_USER,USER,@@SPID,GETDATE() WHERE ORIGINAL_DB_NAME()  = &#039;&#039;]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
I was facing same problem.<br />
When I have inserted ORIGINAL_DB_NAME()  in ServerLogonHistory  table I observed in my cases It is happening due to other applications like report sever etc. is also accessing the sql server. When I stopped those services which solved my problem. Logon trigger fires when new session is established (For example when we open a new query page due to its execute USE YourDb) .<br />
 To stop such entry we can write :</p>
<p>SELECT SYSTEM_USER,USER,@@SPID,GETDATE() WHERE ORIGINAL_DB_NAME()  = &#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oskar Gunn</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-98848</link>
		<dc:creator><![CDATA[Oskar Gunn]]></dc:creator>
		<pubDate>Wed, 10 Nov 2010 11:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-98848</guid>
		<description><![CDATA[Hi,

I´ve been trying your logon trigger on SQL2K5. It seems to work when I log on with Windows Authentication but logon fails with SQL Server Authentication.... for all users except sa.

I see that you tested sq auth for sa, have you also tried for a normal user? :/

( I get Error: 17892 )]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I´ve been trying your logon trigger on SQL2K5. It seems to work when I log on with Windows Authentication but logon fails with SQL Server Authentication&#8230;. for all users except sa.</p>
<p>I see that you tested sq auth for sa, have you also tried for a normal user? :/</p>
<p>( I get Error: 17892 )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joaqiuin</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-98083</link>
		<dc:creator><![CDATA[Joaqiuin]]></dc:creator>
		<pubDate>Fri, 05 Nov 2010 21:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-98083</guid>
		<description><![CDATA[Hey Men,

Thx for the Help us

All work Ok

Greating from Lima . Peru]]></description>
		<content:encoded><![CDATA[<p>Hey Men,</p>
<p>Thx for the Help us</p>
<p>All work Ok</p>
<p>Greating from Lima . Peru</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kareem</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-85194</link>
		<dc:creator><![CDATA[Kareem]]></dc:creator>
		<pubDate>Wed, 25 Aug 2010 08:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-85194</guid>
		<description><![CDATA[Hii,

In the similar way..

 Can any one please let me know the process that how can we create trigger so that it grab the job failure logs when the job fails and that error log details will sends to mail via SMTP.

I am using SQL 2000.

Please provide some URL&#039;s for this task is much helpfull for me.

Thanks in Advance.
Kareem.]]></description>
		<content:encoded><![CDATA[<p>Hii,</p>
<p>In the similar way..</p>
<p> Can any one please let me know the process that how can we create trigger so that it grab the job failure logs when the job fails and that error log details will sends to mail via SMTP.</p>
<p>I am using SQL 2000.</p>
<p>Please provide some URL&#8217;s for this task is much helpfull for me.</p>
<p>Thanks in Advance.<br />
Kareem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fadi</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-82840</link>
		<dc:creator><![CDATA[Fadi]]></dc:creator>
		<pubDate>Tue, 03 Aug 2010 10:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-82840</guid>
		<description><![CDATA[I copied the code and pasted it in the SQL2005 but i got this error message


Msg 1084, Level 15, State 1, Procedure Tr_ServerLogon, Line 3
&#039;LOGON&#039; is an invalid event type.]]></description>
		<content:encoded><![CDATA[<p>I copied the code and pasted it in the SQL2005 but i got this error message</p>
<p>Msg 1084, Level 15, State 1, Procedure Tr_ServerLogon, Line 3<br />
&#8216;LOGON&#8217; is an invalid event type.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-61800</link>
		<dc:creator><![CDATA[Greg]]></dc:creator>
		<pubDate>Thu, 25 Feb 2010 23:56:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-61800</guid>
		<description><![CDATA[This is excellent, but it doesnt log failed logon attempts how can I log failed logon’s

...

The login trigger only fires after successful authentication to the server.  For failed logins, you still have to rely on SQL Server auditing.]]></description>
		<content:encoded><![CDATA[<p>This is excellent, but it doesnt log failed logon attempts how can I log failed logon’s</p>
<p>&#8230;</p>
<p>The login trigger only fires after successful authentication to the server.  For failed logins, you still have to rely on SQL Server auditing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-61328</link>
		<dc:creator><![CDATA[Paul]]></dc:creator>
		<pubDate>Wed, 17 Feb 2010 10:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-61328</guid>
		<description><![CDATA[This is excellent, but it doesnt log failed logon attempts how can I log failed logon&#039;s

eg

INSERT INTO AuditDb.dbo.ServerLogonHistory
SELECT SYSTEM_USER, HOST_NAME(),USER, @@SPID, GETDATE(), APP_NAME(), DB_NAME()
END]]></description>
		<content:encoded><![CDATA[<p>This is excellent, but it doesnt log failed logon attempts how can I log failed logon&#8217;s</p>
<p>eg</p>
<p>INSERT INTO AuditDb.dbo.ServerLogonHistory<br />
SELECT SYSTEM_USER, HOST_NAME(),USER, @@SPID, GETDATE(), APP_NAME(), DB_NAME()<br />
END</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg hilsheimer</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-60005</link>
		<dc:creator><![CDATA[Greg hilsheimer]]></dc:creator>
		<pubDate>Wed, 20 Jan 2010 16:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-60005</guid>
		<description><![CDATA[Re:multiple trigger events
We are getting a logon trigger event fired on a .Net connection with pooling on for a simple query.

If I do not do a query it only fires once, pooling is working
but if execute an sql statement on connection for example:

&quot;SELECT 1&quot;  an perform a .Net Execute scalar the trigger is fired.

The spids are always the same.

If take query out and open an close connection with same connection string, event is only fired once]]></description>
		<content:encoded><![CDATA[<p>Re:multiple trigger events<br />
We are getting a logon trigger event fired on a .Net connection with pooling on for a simple query.</p>
<p>If I do not do a query it only fires once, pooling is working<br />
but if execute an sql statement on connection for example:</p>
<p>&#8220;SELECT 1&#8243;  an perform a .Net Execute scalar the trigger is fired.</p>
<p>The spids are always the same.</p>
<p>If take query out and open an close connection with same connection string, event is only fired once</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Fix : Error : 17892 Logon failed for login due to trigger execution. Changed database context to ‘master’. Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-53284</link>
		<dc:creator><![CDATA[SQL SERVER – Fix : Error : 17892 Logon failed for login due to trigger execution. Changed database context to ‘master’. Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Sat, 27 Jun 2009 07:20:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-53284</guid>
		<description><![CDATA[[...] SQL SERVER – Interesting Observation of Logon Trigger On All Servers [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER – Interesting Observation of Logon Trigger On All Servers [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Interesting Observation of Logon Trigger On All Servers – Solution Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-53266</link>
		<dc:creator><![CDATA[SQL SERVER – Interesting Observation of Logon Trigger On All Servers – Solution Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Fri, 26 Jun 2009 01:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-53266</guid>
		<description><![CDATA[[...] an article on my interesting observation regarding logon triggers. I would advise you to first read SQL SERVER – Interesting Observation of Logon Trigger On All Servers before continuing with this article further to have a complete idea of the [...]]]></description>
		<content:encoded><![CDATA[<p>[...] an article on my interesting observation regarding logon triggers. I would advise you to first read SQL SERVER – Interesting Observation of Logon Trigger On All Servers before continuing with this article further to have a complete idea of the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sriki</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-52539</link>
		<dc:creator><![CDATA[sriki]]></dc:creator>
		<pubDate>Fri, 29 May 2009 14:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-52539</guid>
		<description><![CDATA[Hi Simon,

Thanks for info. Pardon my ignorance. I now disabled SSIS/SSRS/SSAS/SQL Agent and as far as I know there is no app using my instance of SQL. But, I still see multiple entries in the table(even for the time when I am not logged into SSMS. Am I missing anything else??

Sriki]]></description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>Thanks for info. Pardon my ignorance. I now disabled SSIS/SSRS/SSAS/SQL Agent and as far as I know there is no app using my instance of SQL. But, I still see multiple entries in the table(even for the time when I am not logged into SSMS. Am I missing anything else??</p>
<p>Sriki</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Worth</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-52516</link>
		<dc:creator><![CDATA[Simon Worth]]></dc:creator>
		<pubDate>Thu, 28 May 2009 15:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-52516</guid>
		<description><![CDATA[Sriki 
If you have the SQL agent running it will show up in the table as well.  If reporting services is running it will show up a ton of times in the table too.  Any services and applications you have running on the machine or remote apps and services that use your SQL Server instance will all show up.  I find Reporting Services to be the biggest though, generally logging in every minute - and therefore adding an another entry into the table.  Even if you refresh an open table in Management studio, that counts as another login and adds another record to the table.  Jobs that run add records, as well as clean up tasks.  You&#039;d be surprised how much activity is going on behind the scenes when you are doing nothing with SQL Server.]]></description>
		<content:encoded><![CDATA[<p>Sriki<br />
If you have the SQL agent running it will show up in the table as well.  If reporting services is running it will show up a ton of times in the table too.  Any services and applications you have running on the machine or remote apps and services that use your SQL Server instance will all show up.  I find Reporting Services to be the biggest though, generally logging in every minute &#8211; and therefore adding an another entry into the table.  Even if you refresh an open table in Management studio, that counts as another login and adds another record to the table.  Jobs that run add records, as well as clean up tasks.  You&#8217;d be surprised how much activity is going on behind the scenes when you are doing nothing with SQL Server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: reena trikha</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-52487</link>
		<dc:creator><![CDATA[reena trikha]]></dc:creator>
		<pubDate>Wed, 27 May 2009 15:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-52487</guid>
		<description><![CDATA[Dear Mr. Dave
I tried  the above mentioned code in my Sql Server @005. But I am getting this error
logon is an invalid event type

I need to know the reason
Thanks
Reena]]></description>
		<content:encoded><![CDATA[<p>Dear Mr. Dave<br />
I tried  the above mentioned code in my Sql Server @005. But I am getting this error<br />
logon is an invalid event type</p>
<p>I need to know the reason<br />
Thanks<br />
Reena</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sriki</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-52486</link>
		<dc:creator><![CDATA[sriki]]></dc:creator>
		<pubDate>Wed, 27 May 2009 14:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-52486</guid>
		<description><![CDATA[Another update.

I deleted all the data from the ServerLogonHistory table and was doing some other stuff(non-sql). When I logged back into SSMS, I saw a lot entries with timestamps of the time when I was working on something else or infact doing nothing. This is clearly not an issue related to connections to Object Explorer, Intellisense, and query window as Simon mention. Anybody wants to chip in. I am stumped.]]></description>
		<content:encoded><![CDATA[<p>Another update.</p>
<p>I deleted all the data from the ServerLogonHistory table and was doing some other stuff(non-sql). When I logged back into SSMS, I saw a lot entries with timestamps of the time when I was working on something else or infact doing nothing. This is clearly not an issue related to connections to Object Explorer, Intellisense, and query window as Simon mention. Anybody wants to chip in. I am stumped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcos</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-52484</link>
		<dc:creator><![CDATA[Marcos]]></dc:creator>
		<pubDate>Wed, 27 May 2009 14:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-52484</guid>
		<description><![CDATA[I add APP_NAME() and it shows me connecting to Management Studio and also when I opened a query window, as a result, multiple entries added to my table.  Thanks for the challenge, very interesting.]]></description>
		<content:encoded><![CDATA[<p>I add APP_NAME() and it shows me connecting to Management Studio and also when I opened a query window, as a result, multiple entries added to my table.  Thanks for the challenge, very interesting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Lowell</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-52483</link>
		<dc:creator><![CDATA[Jeremy Lowell]]></dc:creator>
		<pubDate>Wed, 27 May 2009 14:23:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-52483</guid>
		<description><![CDATA[Pinal,

I&#039;ve done this before in a different manner.  I created a trace (capture login events), dump to file, load to table, cleanup.  Similar behavior; but it&#039;s also expected as there are numerous logins via SSMS, VS, etc... due to the different contexts of the app.  I.E. you will authenticate seperatley for server explorer than a query window etc...

In my experience, the auditors loved having this information even though it was overkill in my opinion.]]></description>
		<content:encoded><![CDATA[<p>Pinal,</p>
<p>I&#8217;ve done this before in a different manner.  I created a trace (capture login events), dump to file, load to table, cleanup.  Similar behavior; but it&#8217;s also expected as there are numerous logins via SSMS, VS, etc&#8230; due to the different contexts of the app.  I.E. you will authenticate seperatley for server explorer than a query window etc&#8230;</p>
<p>In my experience, the auditors loved having this information even though it was overkill in my opinion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Worth</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-52482</link>
		<dc:creator><![CDATA[Simon Worth]]></dc:creator>
		<pubDate>Wed, 27 May 2009 13:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-52482</guid>
		<description><![CDATA[What you are probably seeing is the connections to Object Explorer, Intellisense, and your query window.  These all have their own connections.]]></description>
		<content:encoded><![CDATA[<p>What you are probably seeing is the connections to Object Explorer, Intellisense, and your query window.  These all have their own connections.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Argenis Fernandez</title>
		<link>http://blog.sqlauthority.com/2009/05/27/sql-server-interesting-observation-of-logon-trigger-on-all-servers/#comment-52478</link>
		<dc:creator><![CDATA[Argenis Fernandez]]></dc:creator>
		<pubDate>Wed, 27 May 2009 12:24:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5185#comment-52478</guid>
		<description><![CDATA[Pinal,

Maybe Intellisense is to blame for the additional logons...you can extend the logon trigger to include APP_NAME()

Regards,

Argenis]]></description>
		<content:encoded><![CDATA[<p>Pinal,</p>
<p>Maybe Intellisense is to blame for the additional logons&#8230;you can extend the logon trigger to include APP_NAME()</p>
<p>Regards,</p>
<p>Argenis</p>
]]></content:encoded>
	</item>
</channel>
</rss>
