<?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; 2005 &#8211; Server and Database Level DDL Triggers Examples and Explanation</title>
	<atom:link href="http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Mon, 13 Feb 2012 15:11:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: TAP</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-243602</link>
		<dc:creator><![CDATA[TAP]]></dc:creator>
		<pubDate>Wed, 25 Jan 2012 19:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-243602</guid>
		<description><![CDATA[Hello.
Is it possible to create a trigger to insert, update and delete data from all tables of current database?

Something like this:


CREATE TRIGGER myTrigger 
	ON 
FOR INSERT, UPDATE, DELETE
AS IF (@@ERROR  0)
BEGIN
	INSERT into #tableSomething VALUES (1)
END

I&#039;m using SQL Server 2008.
Thank you
TAP]]></description>
		<content:encoded><![CDATA[<p>Hello.<br />
Is it possible to create a trigger to insert, update and delete data from all tables of current database?</p>
<p>Something like this:</p>
<p>CREATE TRIGGER myTrigger<br />
	ON<br />
FOR INSERT, UPDATE, DELETE<br />
AS IF (@@ERROR  0)<br />
BEGIN<br />
	INSERT into #tableSomething VALUES (1)<br />
END</p>
<p>I&#8217;m using SQL Server 2008.<br />
Thank you<br />
TAP</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/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-230359</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:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-230359</guid>
		<description><![CDATA[[...] Interview Questions and Answers ISBN: 1466405643 Page#24-25 Disadvantages (Problems) of Triggers Server and Database Level DDL Triggers Examples and Explanation Disable All Triggers on a Database – Disable All Triggers on All Servers Interesting Observation [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Interview Questions and Answers ISBN: 1466405643 Page#24-25 Disadvantages (Problems) of Triggers Server and Database Level DDL Triggers Examples and Explanation Disable All Triggers on a Database – Disable All Triggers on All Servers Interesting Observation [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nishad</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-166464</link>
		<dc:creator><![CDATA[nishad]]></dc:creator>
		<pubDate>Thu, 08 Sep 2011 07:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-166464</guid>
		<description><![CDATA[i want to execute the trigger whenever the new login is created i.e. new entry added to master..syslogins table ,

 

Which server trigger i need to have and whats the synatx and minimum permissions needed to create it , now i am security admin.]]></description>
		<content:encoded><![CDATA[<p>i want to execute the trigger whenever the new login is created i.e. new entry added to master..syslogins table ,</p>
<p>Which server trigger i need to have and whats the synatx and minimum permissions needed to create it , now i am security admin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-154833</link>
		<dc:creator><![CDATA[Mahesh]]></dc:creator>
		<pubDate>Mon, 08 Aug 2011 04:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-154833</guid>
		<description><![CDATA[Hi,
There is an syntax error in the IF. check this out.
create trigger check_id
ON dbo.interest_rate
AFTER INSERT,UPDATE
AS
BEGIN
SET NOCOUNT ON;
IF(select Interest_rate from inserted) &lt;100
print(&#039;not allowed&#039;)
END]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
There is an syntax error in the IF. check this out.<br />
create trigger check_id<br />
ON dbo.interest_rate<br />
AFTER INSERT,UPDATE<br />
AS<br />
BEGIN<br />
SET NOCOUNT ON;<br />
IF(select Interest_rate from inserted) &lt;100<br />
print(&#039;not allowed&#039;)<br />
END</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-148166</link>
		<dc:creator><![CDATA[Amir]]></dc:creator>
		<pubDate>Thu, 14 Jul 2011 02:46:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-148166</guid>
		<description><![CDATA[Hi Phillip,

I am trying to create a simple DDL trigger on server level, everything is fine on my local machine but when I am trying on our server (SQL 2005 Clustered) I am getting Error, any idea?

Create TRIGGER test
ON ALL SERVER
FOR DDL_DATABASE_LEVEL_EVENTS
AS
BEGIN
	print &#039;Hello&#039;
END

Msg 1098, Level 15, State 1, Procedure test, Line 7
The specified event type(s) is/are not valid on the specified target object.]]></description>
		<content:encoded><![CDATA[<p>Hi Phillip,</p>
<p>I am trying to create a simple DDL trigger on server level, everything is fine on my local machine but when I am trying on our server (SQL 2005 Clustered) I am getting Error, any idea?</p>
<p>Create TRIGGER test<br />
ON ALL SERVER<br />
FOR DDL_DATABASE_LEVEL_EVENTS<br />
AS<br />
BEGIN<br />
	print &#8216;Hello&#8217;<br />
END</p>
<p>Msg 1098, Level 15, State 1, Procedure test, Line 7<br />
The specified event type(s) is/are not valid on the specified target object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 3 of 31 Journey to SQLAuthority</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-145408</link>
		<dc:creator><![CDATA[SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 3 of 31 Journey to SQLAuthority]]></dc:creator>
		<pubDate>Sun, 03 Jul 2011 01:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-145408</guid>
		<description><![CDATA[[...] Nested Trigger: A trigger can also contain INSERT, UPDATE and DELETE logic within itself; so when the trigger is fired because of data modification, it can also cause another data modification, thereby firing another trigger. A trigger that contains data modification logic within itself is called a nested trigger. (Read more here) [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Nested Trigger: A trigger can also contain INSERT, UPDATE and DELETE logic within itself; so when the trigger is fired because of data modification, it can also cause another data modification, thereby firing another trigger. A trigger that contains data modification logic within itself is called a nested trigger. (Read more here) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikram</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-106866</link>
		<dc:creator><![CDATA[vikram]]></dc:creator>
		<pubDate>Mon, 20 Dec 2010 12:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-106866</guid>
		<description><![CDATA[Help Plz..

Well hello there.. i am facing problem in updating using trigger

following the trigger..

well my requirements is to update the column . I want to store(update) the prev. value while updating in another columns correspond to id.

like prevsal and newsalary.

following trigger which i have created...

*as we know when we update then (inserted and deleted will fire also in which the old value which we can retrieve using (select * from deleted))



ALTER trigger [dbo].[tb] on [dbo].[tb_name]
for insert, update
as


declare @count int

declare @loop int

declare @empid int

select @loop =1

select @count = (select * from tblname)

WHILE(@loop &lt;= @count)

update tblname set newsalary=1200 where id=@loop and date=&#039;12/12/2010&#039;

set @loop= @loop+1

update tblname set prevsal=(select newsalary from deleted)


End

*if there any Error then let me know well i am updating the field with column name newsalary but for column name prevsal they givng me NULL value except old value..

hope you can understand my requirement

with regards

vikram]]></description>
		<content:encoded><![CDATA[<p>Help Plz..</p>
<p>Well hello there.. i am facing problem in updating using trigger</p>
<p>following the trigger..</p>
<p>well my requirements is to update the column . I want to store(update) the prev. value while updating in another columns correspond to id.</p>
<p>like prevsal and newsalary.</p>
<p>following trigger which i have created&#8230;</p>
<p>*as we know when we update then (inserted and deleted will fire also in which the old value which we can retrieve using (select * from deleted))</p>
<p>ALTER trigger [dbo].[tb] on [dbo].[tb_name]<br />
for insert, update<br />
as</p>
<p>declare @count int</p>
<p>declare @loop int</p>
<p>declare @empid int</p>
<p>select @loop =1</p>
<p>select @count = (select * from tblname)</p>
<p>WHILE(@loop &lt;= @count)</p>
<p>update tblname set newsalary=1200 where id=@loop and date=&#039;12/12/2010&#039;</p>
<p>set @loop= @loop+1</p>
<p>update tblname set prevsal=(select newsalary from deleted)</p>
<p>End</p>
<p>*if there any Error then let me know well i am updating the field with column name newsalary but for column name prevsal they givng me NULL value except old value..</p>
<p>hope you can understand my requirement</p>
<p>with regards</p>
<p>vikram</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: minakshi bhardwaj</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-92128</link>
		<dc:creator><![CDATA[minakshi bhardwaj]]></dc:creator>
		<pubDate>Mon, 11 Oct 2010 16:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-92128</guid>
		<description><![CDATA[hi sir i m  creating trigger as
create trigger check_id
ON dbo.teacher
AFTER INSERT,UPDATE
AS
BEGIN
SET NOCOUNT ON;
IF(t_no&lt;100)
THEN
print(&#039;not allowed&#039;);
END;
but getting an error
Msg 156, Level 15, State 1, Procedure check_id, Line 8
Incorrect syntax near the keyword &#039;THEN&#039;
pls. help me as ma a beginner in sql .]]></description>
		<content:encoded><![CDATA[<p>hi sir i m  creating trigger as<br />
create trigger check_id<br />
ON dbo.teacher<br />
AFTER INSERT,UPDATE<br />
AS<br />
BEGIN<br />
SET NOCOUNT ON;<br />
IF(t_no&lt;100)<br />
THEN<br />
print(&#039;not allowed&#039;);<br />
END;<br />
but getting an error<br />
Msg 156, Level 15, State 1, Procedure check_id, Line 8<br />
Incorrect syntax near the keyword &#039;THEN&#039;<br />
pls. help me as ma a beginner in sql .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saroj</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-70818</link>
		<dc:creator><![CDATA[saroj]]></dc:creator>
		<pubDate>Fri, 14 May 2010 12:06:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-70818</guid>
		<description><![CDATA[Hello,

I wish to track when anyone does INSERT,UPDATE, DELETE on any of the tables in a database. Is it possible to write database level trigger for this case?

Thanks,
-Saroj]]></description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I wish to track when anyone does INSERT,UPDATE, DELETE on any of the tables in a database. Is it possible to write database level trigger for this case?</p>
<p>Thanks,<br />
-Saroj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kalyan</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-65431</link>
		<dc:creator><![CDATA[kalyan]]></dc:creator>
		<pubDate>Mon, 19 Apr 2010 09:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-65431</guid>
		<description><![CDATA[hai ved,

use test
go

create trigger preventdropsp

on database

for drop_procedure

as

print  PRINT ‘Dropping Procedure is not allowed.’

ROLLBACK;

GO




Regards
kalyan]]></description>
		<content:encoded><![CDATA[<p>hai ved,</p>
<p>use test<br />
go</p>
<p>create trigger preventdropsp</p>
<p>on database</p>
<p>for drop_procedure</p>
<p>as</p>
<p>print  PRINT ‘Dropping Procedure is not allowed.’</p>
<p>ROLLBACK;</p>
<p>GO</p>
<p>Regards<br />
kalyan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virag</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64799</link>
		<dc:creator><![CDATA[Virag]]></dc:creator>
		<pubDate>Thu, 08 Apr 2010 09:39:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64799</guid>
		<description><![CDATA[Thank you sir.]]></description>
		<content:encoded><![CDATA[<p>Thank you sir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ved</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64491</link>
		<dc:creator><![CDATA[Ved]]></dc:creator>
		<pubDate>Mon, 05 Apr 2010 16:58:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64491</guid>
		<description><![CDATA[Dear Sir

Thanks for your reply .However i am getting same error ..

Can you please give me any one of DDL Trigger Example.

Thanks
Ved]]></description>
		<content:encoded><![CDATA[<p>Dear Sir</p>
<p>Thanks for your reply .However i am getting same error ..</p>
<p>Can you please give me any one of DDL Trigger Example.</p>
<p>Thanks<br />
Ved</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64344</link>
		<dc:creator><![CDATA[Pinal Dave]]></dc:creator>
		<pubDate>Fri, 02 Apr 2010 21:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64344</guid>
		<description><![CDATA[Hello Ved,

Write this as following:

CREATE TRIGGER PreventDropSP
ON DATABASE
FOR DROP_PROCEDURE
AS
PRINT ‘Dropping Procedure is not allowed.’
ROLLBACK;
GO


Regards,
Pinal Dave]]></description>
		<content:encoded><![CDATA[<p>Hello Ved,</p>
<p>Write this as following:</p>
<p>CREATE TRIGGER PreventDropSP<br />
ON DATABASE<br />
FOR DROP_PROCEDURE<br />
AS<br />
PRINT ‘Dropping Procedure is not allowed.’<br />
ROLLBACK;<br />
GO</p>
<p>Regards,<br />
Pinal Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64275</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Fri, 02 Apr 2010 07:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64275</guid>
		<description><![CDATA[I think you should use a windows scheduler to do this job]]></description>
		<content:encoded><![CDATA[<p>I think you should use a windows scheduler to do this job</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64273</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Fri, 02 Apr 2010 07:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64273</guid>
		<description><![CDATA[If you use version 2005, use

select * from sys.triggers]]></description>
		<content:encoded><![CDATA[<p>If you use version 2005, use</p>
<p>select * from sys.triggers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64270</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Fri, 02 Apr 2010 06:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64270</guid>
		<description><![CDATA[No. It is not possible]]></description>
		<content:encoded><![CDATA[<p>No. It is not possible</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ved</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64236</link>
		<dc:creator><![CDATA[Ved]]></dc:creator>
		<pubDate>Thu, 01 Apr 2010 14:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64236</guid>
		<description><![CDATA[Dear Sir i am using below code in Sql2005 and getting error .  Please help me.
USE Test

GO

CREATE TRIGGER PreventDropSP

            ON Test

            FOR DROP_PROCEDURE

            AS

            PRINT &#039;Dropping Procedure is not allowed.&#039;

ROLLBACK;

GO

&quot;&quot;&quot;Msg 170, Level 15, State 1, Procedure PreventDropSP, Line 6
Line 6: Incorrect syntax near &#039;DROP_PROCEDURE&#039;.&quot;&quot;&quot;&quot;&quot;&quot;]]></description>
		<content:encoded><![CDATA[<p>Dear Sir i am using below code in Sql2005 and getting error .  Please help me.<br />
USE Test</p>
<p>GO</p>
<p>CREATE TRIGGER PreventDropSP</p>
<p>            ON Test</p>
<p>            FOR DROP_PROCEDURE</p>
<p>            AS</p>
<p>            PRINT &#8216;Dropping Procedure is not allowed.&#8217;</p>
<p>ROLLBACK;</p>
<p>GO</p>
<p>&#8220;&#8221;"Msg 170, Level 15, State 1, Procedure PreventDropSP, Line 6<br />
Line 6: Incorrect syntax near &#8216;DROP_PROCEDURE&#8217;.&#8221;"&#8221;"&#8221;"</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virag</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64115</link>
		<dc:creator><![CDATA[Virag]]></dc:creator>
		<pubDate>Wed, 31 Mar 2010 10:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-64115</guid>
		<description><![CDATA[hello sir,

can we pass parameter to trigger]]></description>
		<content:encoded><![CDATA[<p>hello sir,</p>
<p>can we pass parameter to trigger</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-61693</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Wed, 24 Feb 2010 13:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-61693</guid>
		<description><![CDATA[Look at the is_disable column in 

select * from sys.triggers
where name=&#039;your_trigger&#039;]]></description>
		<content:encoded><![CDATA[<p>Look at the is_disable column in </p>
<p>select * from sys.triggers<br />
where name=&#8217;your_trigger&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-60739</link>
		<dc:creator><![CDATA[Pinal Dave]]></dc:creator>
		<pubDate>Fri, 05 Feb 2010 18:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-60739</guid>
		<description><![CDATA[Hello Niranjan,

Create INSTEAD OF trigger without any DML statement.

Regards,
Pinal Dave]]></description>
		<content:encoded><![CDATA[<p>Hello Niranjan,</p>
<p>Create INSTEAD OF trigger without any DML statement.</p>
<p>Regards,<br />
Pinal Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niranjan</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-60691</link>
		<dc:creator><![CDATA[Niranjan]]></dc:creator>
		<pubDate>Fri, 05 Feb 2010 06:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-60691</guid>
		<description><![CDATA[how to create a trigger to stop insert,update,detele commnds]]></description>
		<content:encoded><![CDATA[<p>how to create a trigger to stop insert,update,detele commnds</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hashili</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-58865</link>
		<dc:creator><![CDATA[Hashili]]></dc:creator>
		<pubDate>Mon, 21 Dec 2009 08:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-58865</guid>
		<description><![CDATA[Is it possible to see all the triggers from information_schema]]></description>
		<content:encoded><![CDATA[<p>Is it possible to see all the triggers from information_schema</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srinivas Donavalli</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-57655</link>
		<dc:creator><![CDATA[Srinivas Donavalli]]></dc:creator>
		<pubDate>Tue, 17 Nov 2009 05:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-57655</guid>
		<description><![CDATA[Pinal,
Since long time I am observing your blogs and your posts. First I appreciate your efforts to spend your valuable time nad  made technology easier even for basic level developer. 

Now come to the point, some where in this blog I have seen about cursors. In this you said cursor is a database object. I did lot of research how it become an object with out mangaing by dbms. If we see the execution engine of the SQL stateemnt i didnt see SQl is treating it as a object. Even microsoft also saying it as datatype.

For your reference:
http://msdn.microsoft.com/en-us/library/ms190498(SQL.90).aspx

If you provide your explanation that would be great.


I want to know one more thing. I am expecting some quick replys from you. Is there any way to post query for different area like that.
Ex: For SQL joins do i need to post in only SQL joins area ?

Thanks,
Srinivas Donavalli.]]></description>
		<content:encoded><![CDATA[<p>Pinal,<br />
Since long time I am observing your blogs and your posts. First I appreciate your efforts to spend your valuable time nad  made technology easier even for basic level developer. </p>
<p>Now come to the point, some where in this blog I have seen about cursors. In this you said cursor is a database object. I did lot of research how it become an object with out mangaing by dbms. If we see the execution engine of the SQL stateemnt i didnt see SQl is treating it as a object. Even microsoft also saying it as datatype.</p>
<p>For your reference:<br />
<a href="http://msdn.microsoft.com/en-us/library/ms190498(SQL.90).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms190498(SQL.90).aspx</a></p>
<p>If you provide your explanation that would be great.</p>
<p>I want to know one more thing. I am expecting some quick replys from you. Is there any way to post query for different area like that.<br />
Ex: For SQL joins do i need to post in only SQL joins area ?</p>
<p>Thanks,<br />
Srinivas Donavalli.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhadri</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-56992</link>
		<dc:creator><![CDATA[bhadri]]></dc:creator>
		<pubDate>Sat, 24 Oct 2009 20:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-56992</guid>
		<description><![CDATA[Hi, your explanation is excellent.
In step 2, you provided details for security while droping the stored procedure.

Don&#039;t we have security in tables also?]]></description>
		<content:encoded><![CDATA[<p>Hi, your explanation is excellent.<br />
In step 2, you provided details for security while droping the stored procedure.</p>
<p>Don&#8217;t we have security in tables also?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Purushottam</title>
		<link>http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-54793</link>
		<dc:creator><![CDATA[Purushottam]]></dc:creator>
		<pubDate>Wed, 12 Aug 2009 18:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/24/sql-server-2005-server-and-database-level-ddl-triggers-examples-and-explanation/#comment-54793</guid>
		<description><![CDATA[Hi, I want to know how to execute local temporery procedure with example.. anyone help me..]]></description>
		<content:encoded><![CDATA[<p>Hi, I want to know how to execute local temporery procedure with example.. anyone help me..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

