<?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; Example of DDL, DML, DCL and TCL Commands</title>
	<atom:link href="http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sun, 12 Feb 2012 09:22:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: venu gopal reddy</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-161907</link>
		<dc:creator><![CDATA[venu gopal reddy]]></dc:creator>
		<pubDate>Thu, 25 Aug 2011 18:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-161907</guid>
		<description><![CDATA[hi sir..
   can u explain about GRANT command  with EXAMPLES..please]]></description>
		<content:encoded><![CDATA[<p>hi sir..<br />
   can u explain about GRANT command  with EXAMPLES..please</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fahim Manzoor</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-136574</link>
		<dc:creator><![CDATA[Fahim Manzoor]]></dc:creator>
		<pubDate>Wed, 25 May 2011 10:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-136574</guid>
		<description><![CDATA[Hi,
 I have a logical issue which i am trying to solve from a long time but no success. Hopefully you will be able to help me.

The thing is iam trying to move an Excel report to SSRS plateform, The data in excel is populated through formulaes and if the condition doesnt satisfy it return 0 but the same thing doesnt apply in Sql. if the Condition doesnt satisfy it doesnt return anything not even zero and beacuse of which the column is also not reflecting in the report. so is there any logic which you can help me with. if the data for the column is not there will i be able to atleast show the column heading.

Thanks,
Fahim.]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
 I have a logical issue which i am trying to solve from a long time but no success. Hopefully you will be able to help me.</p>
<p>The thing is iam trying to move an Excel report to SSRS plateform, The data in excel is populated through formulaes and if the condition doesnt satisfy it return 0 but the same thing doesnt apply in Sql. if the Condition doesnt satisfy it doesnt return anything not even zero and beacuse of which the column is also not reflecting in the report. so is there any logic which you can help me with. if the data for the column is not there will i be able to atleast show the column heading.</p>
<p>Thanks,<br />
Fahim.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sravanthi</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-125741</link>
		<dc:creator><![CDATA[sravanthi]]></dc:creator>
		<pubDate>Thu, 31 Mar 2011 05:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-125741</guid>
		<description><![CDATA[hi ,
i need more information on sql &amp; plsql  in interview point of view,can u suggest me on which topics i should be more perfect ..
thanku verymuch]]></description>
		<content:encoded><![CDATA[<p>hi ,<br />
i need more information on sql &amp; plsql  in interview point of view,can u suggest me on which topics i should be more perfect ..<br />
thanku verymuch</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeyaraman.S</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-119812</link>
		<dc:creator><![CDATA[Jeyaraman.S]]></dc:creator>
		<pubDate>Mon, 21 Feb 2011 07:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-119812</guid>
		<description><![CDATA[I need some examples on TCL,DCL commands with syntax.]]></description>
		<content:encoded><![CDATA[<p>I need some examples on TCL,DCL commands with syntax.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-119120</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 18 Feb 2011 10:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-119120</guid>
		<description><![CDATA[CREATE, ALTER and DROP statements]]></description>
		<content:encoded><![CDATA[<p>CREATE, ALTER and DROP statements</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lj082024</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-119042</link>
		<dc:creator><![CDATA[lj082024]]></dc:creator>
		<pubDate>Fri, 18 Feb 2011 01:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-119042</guid>
		<description><![CDATA[Hi sir..

Good Day....

I wanted to ask some help from you, could you please give me some example of ddl(data definition language) its our assignment form our class database menagement.

Thank you, God bless...]]></description>
		<content:encoded><![CDATA[<p>Hi sir..</p>
<p>Good Day&#8230;.</p>
<p>I wanted to ask some help from you, could you please give me some example of ddl(data definition language) its our assignment form our class database menagement.</p>
<p>Thank you, God bless&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lj082024</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-119041</link>
		<dc:creator><![CDATA[lj082024]]></dc:creator>
		<pubDate>Fri, 18 Feb 2011 01:27:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-119041</guid>
		<description><![CDATA[Hi sir..
Good Day....

I wnated to ask some help from you, could you please give me some example of ddl (data definition language) its our assignment form our class database menagement.

Thank you, God bless...]]></description>
		<content:encoded><![CDATA[<p>Hi sir..<br />
Good Day&#8230;.</p>
<p>I wnated to ask some help from you, could you please give me some example of ddl (data definition language) its our assignment form our class database menagement.</p>
<p>Thank you, God bless&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manish</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-118606</link>
		<dc:creator><![CDATA[Manish]]></dc:creator>
		<pubDate>Tue, 15 Feb 2011 12:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-118606</guid>
		<description><![CDATA[Hello Sir,

I always your articles and it always help me but now in this article i have little bit confuse because of &quot;Select command&quot;.

1.) if select command comes in DML than which command comes in DQL ?
 
Second thing is that in most interview normally interviewer always ask one question that &quot;Can we use DML commands in Function ?&quot;
may be its answer is NO.  

because we can&#039;t use insert,update,delete command in Function. Now what about in that answer is that wrong ?

Please help me. in this]]></description>
		<content:encoded><![CDATA[<p>Hello Sir,</p>
<p>I always your articles and it always help me but now in this article i have little bit confuse because of &#8220;Select command&#8221;.</p>
<p>1.) if select command comes in DML than which command comes in DQL ?</p>
<p>Second thing is that in most interview normally interviewer always ask one question that &#8220;Can we use DML commands in Function ?&#8221;<br />
may be its answer is NO.  </p>
<p>because we can&#8217;t use insert,update,delete command in Function. Now what about in that answer is that wrong ?</p>
<p>Please help me. in this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: venkatesh</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-118290</link>
		<dc:creator><![CDATA[venkatesh]]></dc:creator>
		<pubDate>Sun, 13 Feb 2011 08:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-118290</guid>
		<description><![CDATA[really good easy to learning the steps]]></description>
		<content:encoded><![CDATA[<p>really good easy to learning the steps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rashmi Ranjan Fatesingh</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-115024</link>
		<dc:creator><![CDATA[Rashmi Ranjan Fatesingh]]></dc:creator>
		<pubDate>Fri, 28 Jan 2011 16:08:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-115024</guid>
		<description><![CDATA[now i have written the query like this

select name ,
 left(parsename(replace(name,&#039; &#039;,&#039;.&#039;),3),1)+&#039; &#039;
+left(parsename(replace(name,&#039; &#039;,&#039;.&#039;),2),1)+&#039; &#039;
+ parsename(replace(name,&#039; &#039;,&#039;.&#039;),1) as shortname
from
(
select ‘Rashmi Ranjan Fatesingh’ as name
) student

*************************************
but it is showing error like this

Msg 102, Level 15, State 1, Line 7
Incorrect syntax near &#039;‘&#039;.]]></description>
		<content:encoded><![CDATA[<p>now i have written the query like this</p>
<p>select name ,<br />
 left(parsename(replace(name,&#8217; &#8216;,&#8217;.'),3),1)+&#8217; &#8216;<br />
+left(parsename(replace(name,&#8217; &#8216;,&#8217;.'),2),1)+&#8217; &#8216;<br />
+ parsename(replace(name,&#8217; &#8216;,&#8217;.'),1) as shortname<br />
from<br />
(<br />
select ‘Rashmi Ranjan Fatesingh’ as name<br />
) student</p>
<p>*************************************<br />
but it is showing error like this</p>
<p>Msg 102, Level 15, State 1, Line 7<br />
Incorrect syntax near &#8216;‘&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-114979</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 28 Jan 2011 10:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-114979</guid>
		<description><![CDATA[Note that ” means single quote space and single quote]]></description>
		<content:encoded><![CDATA[<p>Note that ” means single quote space and single quote</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rashmi Ranja Fatesingh</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-114398</link>
		<dc:creator><![CDATA[Rashmi Ranja Fatesingh]]></dc:creator>
		<pubDate>Wed, 26 Jan 2011 09:16:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-114398</guid>
		<description><![CDATA[i wrote the query like


select name ,
left(parsename(replace(name,&#039;&#039;,&#039;.&#039;),3),1) +&#039;
&#039;+ left(parsename(replace(name,&#039;&#039;,&#039;.&#039;),2),1)+&#039;&#039;+ 
parsename(replace(name,&#039;&#039;,&#039;.&#039;),1) as shortname
from 
(
select &#039;Rashmi Ranjan Fatesingh&#039; as name
) student


its showing me result like
name                                    shortname
Rashmi Ranjan Fatesingh     null]]></description>
		<content:encoded><![CDATA[<p>i wrote the query like</p>
<p>select name ,<br />
left(parsename(replace(name,&#8221;,&#8217;.'),3),1) +&#8217;<br />
&#8216;+ left(parsename(replace(name,&#8221;,&#8217;.'),2),1)+&#8221;+<br />
parsename(replace(name,&#8221;,&#8217;.'),1) as shortname<br />
from<br />
(<br />
select &#8216;Rashmi Ranjan Fatesingh&#8217; as name<br />
) student</p>
<p>its showing me result like<br />
name                                    shortname<br />
Rashmi Ranjan Fatesingh     null</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-114075</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 25 Jan 2011 09:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-114075</guid>
		<description><![CDATA[select name,
left(parsename(replace(name,&#039; &#039;,&#039;.&#039;),3),1)+&#039; &#039;+left(parsename(replace(name,&#039; &#039;,&#039;.&#039;),2),1)+&#039; &#039;+
parsename(replace(name,&#039; &#039;,&#039;.&#039;),1)  as short_name
from
(
select &#039;Rashmi Ranjan Fatesingh&#039; as name
) f]]></description>
		<content:encoded><![CDATA[<p>select name,<br />
left(parsename(replace(name,&#8217; &#8216;,&#8217;.'),3),1)+&#8217; &#8216;+left(parsename(replace(name,&#8217; &#8216;,&#8217;.'),2),1)+&#8217; &#8216;+<br />
parsename(replace(name,&#8217; &#8216;,&#8217;.'),1)  as short_name<br />
from<br />
(<br />
select &#8216;Rashmi Ranjan Fatesingh&#8217; as name<br />
) f</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rashmi Ranjan Fatesingh</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-113392</link>
		<dc:creator><![CDATA[Rashmi Ranjan Fatesingh]]></dc:creator>
		<pubDate>Sun, 23 Jan 2011 02:16:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-113392</guid>
		<description><![CDATA[Hi Pinal .

Your articles are very help full .

I want find the short foem of a name.

Suppose i have a table student , which has a column , Name.
Suppose name is ---- Rashmi Ranjan Fatesingh.

I want to see it as ---  R R Fatesingh 


Please help me]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal .</p>
<p>Your articles are very help full .</p>
<p>I want find the short foem of a name.</p>
<p>Suppose i have a table student , which has a column , Name.<br />
Suppose name is &#8212;- Rashmi Ranjan Fatesingh.</p>
<p>I want to see it as &#8212;  R R Fatesingh </p>
<p>Please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kriti</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-111585</link>
		<dc:creator><![CDATA[Kriti]]></dc:creator>
		<pubDate>Tue, 18 Jan 2011 08:14:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-111585</guid>
		<description><![CDATA[Really good 1.. thanx for summing up everything in an easy to understand fashion]]></description>
		<content:encoded><![CDATA[<p>Really good 1.. thanx for summing up everything in an easy to understand fashion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bhaskar</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-92233</link>
		<dc:creator><![CDATA[bhaskar]]></dc:creator>
		<pubDate>Tue, 12 Oct 2010 06:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-92233</guid>
		<description><![CDATA[it,s good......but i export more]]></description>
		<content:encoded><![CDATA[<p>it,s good&#8230;&#8230;but i export more</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nishant</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-80586</link>
		<dc:creator><![CDATA[nishant]]></dc:creator>
		<pubDate>Sat, 17 Jul 2010 10:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-80586</guid>
		<description><![CDATA[quite simple to understand]]></description>
		<content:encoded><![CDATA[<p>quite simple to understand</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sreeraj</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-72967</link>
		<dc:creator><![CDATA[Sreeraj]]></dc:creator>
		<pubDate>Tue, 25 May 2010 05:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-72967</guid>
		<description><![CDATA[Its good and quite simple...
Thanks]]></description>
		<content:encoded><![CDATA[<p>Its good and quite simple&#8230;<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawan Bhise</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-72030</link>
		<dc:creator><![CDATA[Pawan Bhise]]></dc:creator>
		<pubDate>Fri, 21 May 2010 12:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-72030</guid>
		<description><![CDATA[Good Notes]]></description>
		<content:encoded><![CDATA[<p>Good Notes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nuzrath TM</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-62625</link>
		<dc:creator><![CDATA[Nuzrath TM]]></dc:creator>
		<pubDate>Wed, 10 Mar 2010 10:53:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-62625</guid>
		<description><![CDATA[thanks for your response Mr. Imran Mohamed

Ok i&#039;ll explain all.

i have a Database call posdb and the database contains following tables

1. customer table contains following columns 

([cust_id] ,
	[name] ,
	[address] ,
	[city],
	[state],
	[zip])

2. customer_archive table contains following columns 

([cust_id] ,
	[name] ,
	[address] ,
	[city],
	[state],
	[zip],
	[IID],
        [Tdate],
        [user])

now my question is

1.how to create a DML trigger to accomplish following requirements.

#if a user delete records on customer table, the deleted records are should be saved on customer_archive Table with IID value = &#039;DEL&#039; and deleted user.

#if a user update records on customer table, the updated records are should be saved on customer_archive Table with IID value = &#039;UPD&#039; and deleted user.

#if a user insert records on customer table, the inserted records are should be saved on customer_archive Table with IID value = &#039;INS&#039;and deleted user.

and when the trigger fired notify the operator via email 

and i am sorry im not fluent in English
please help me.]]></description>
		<content:encoded><![CDATA[<p>thanks for your response Mr. Imran Mohamed</p>
<p>Ok i&#8217;ll explain all.</p>
<p>i have a Database call posdb and the database contains following tables</p>
<p>1. customer table contains following columns </p>
<p>([cust_id] ,<br />
	[name] ,<br />
	[address] ,<br />
	[city],<br />
	[state],<br />
	[zip])</p>
<p>2. customer_archive table contains following columns </p>
<p>([cust_id] ,<br />
	[name] ,<br />
	[address] ,<br />
	[city],<br />
	[state],<br />
	[zip],<br />
	[IID],<br />
        [Tdate],<br />
        [user])</p>
<p>now my question is</p>
<p>1.how to create a DML trigger to accomplish following requirements.</p>
<p>#if a user delete records on customer table, the deleted records are should be saved on customer_archive Table with IID value = &#8216;DEL&#8217; and deleted user.</p>
<p>#if a user update records on customer table, the updated records are should be saved on customer_archive Table with IID value = &#8216;UPD&#8217; and deleted user.</p>
<p>#if a user insert records on customer table, the inserted records are should be saved on customer_archive Table with IID value = &#8216;INS&#8217;and deleted user.</p>
<p>and when the trigger fired notify the operator via email </p>
<p>and i am sorry im not fluent in English<br />
please help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-62586</link>
		<dc:creator><![CDATA[Imran Mohammed]]></dc:creator>
		<pubDate>Wed, 10 Mar 2010 05:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-62586</guid>
		<description><![CDATA[@Nusrath,

You gave us your requirement which is good, but what is your question. What kind of help you want, please explain in detail and be very specific and provide more information if you want to notify through email on a scheduled basis or every occurrence of event (Insert, update, delete)

~ IM.]]></description>
		<content:encoded><![CDATA[<p>@Nusrath,</p>
<p>You gave us your requirement which is good, but what is your question. What kind of help you want, please explain in detail and be very specific and provide more information if you want to notify through email on a scheduled basis or every occurrence of event (Insert, update, delete)</p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nuzrath TM</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-62581</link>
		<dc:creator><![CDATA[Nuzrath TM]]></dc:creator>
		<pubDate>Wed, 10 Mar 2010 04:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-62581</guid>
		<description><![CDATA[hi pinaldave

i want to create a single trigger which monitor the inserted, Updated and Deleted transaction records to my customer table, and the effected datas should be archive to a table with the following tag

if a transaction Inserted TAG= INS
if a transaction updated TAG= UPD
if a Transaction Deleted TAG=  DEL

and also should send a notification mail to operator 

please help me.
thanks]]></description>
		<content:encoded><![CDATA[<p>hi pinaldave</p>
<p>i want to create a single trigger which monitor the inserted, Updated and Deleted transaction records to my customer table, and the effected datas should be archive to a table with the following tag</p>
<p>if a transaction Inserted TAG= INS<br />
if a transaction updated TAG= UPD<br />
if a Transaction Deleted TAG=  DEL</p>
<p>and also should send a notification mail to operator </p>
<p>please help me.<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: durugaiah</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-61214</link>
		<dc:creator><![CDATA[durugaiah]]></dc:creator>
		<pubDate>Tue, 16 Feb 2010 05:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-61214</guid>
		<description><![CDATA[hi its a nice description abt sql server .. i want to need more points from this way]]></description>
		<content:encoded><![CDATA[<p>hi its a nice description abt sql server .. i want to need more points from this way</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mahmood</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-56155</link>
		<dc:creator><![CDATA[mahmood]]></dc:creator>
		<pubDate>Fri, 25 Sep 2009 09:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-56155</guid>
		<description><![CDATA[As a web developer, i find that info very intesting and benificail. never heard before.


thanks for nice explanation.]]></description>
		<content:encoded><![CDATA[<p>As a web developer, i find that info very intesting and benificail. never heard before.</p>
<p>thanks for nice explanation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darshan</title>
		<link>http://blog.sqlauthority.com/2009/05/02/sql-server-example-of-ddl-dml-dcl-and-tcl-commands/#comment-55297</link>
		<dc:creator><![CDATA[Darshan]]></dc:creator>
		<pubDate>Thu, 27 Aug 2009 10:36:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4557#comment-55297</guid>
		<description><![CDATA[What about the BackUP and Restore Command ?]]></description>
		<content:encoded><![CDATA[<p>What about the BackUP and Restore Command ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

