<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>SQLServer</title>
        <link>http://geekswithblogs.net/brcraju/category/29.aspx</link>
        <description>SQLServer</description>
        <language>te-IN</language>
        <copyright>Raju</copyright>
        <managingEditor>brcraju@hotmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>SQL Server Extended Procedure- usage of Built-in</title>
            <link>http://geekswithblogs.net/brcraju/archive/2004/09/09/10890.aspx</link>
            <description>&lt;P&gt;&lt;A href="http://www.devarticles.com/c/a/SQL-Server/Extended-Stored-Procedures-Intro-And-10-Cool-Examples/"&gt;&lt;FONT face=Verdana size=1&gt;http://www.devarticles.com/c/a/SQL-Server/Extended-Stored-Procedures-Intro-And-10-Cool-Examples/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;Authors gives good brief on 10 cool features in SQL Server repository.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;&lt;SPAN class=bodyCode&gt;xp_fileexist filename [, &lt;FILE_EXISTS INT&gt;OUTPUT]&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;exec master..xp_fileexist 'c:\test.file'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana size=1&gt;xp_regread root_key, path_key, key_value&lt;BR&gt;&lt;SPAN class=bodyCode&gt;master..xp_regread 'HKEY_LOCAL_MACHINE', 'SYSTEM\Setup', 'SystemPartition'&lt;/SPAN&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;exec master..xp_repl_encrypt @cardNumber1 output &lt;BR&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana size=1&gt;exec master..xp_dirtree 'c:\mydir'&lt;BR&gt;&lt;BR&gt;set @xml = '&lt;PEOPLE&gt;&lt;PERSON age="30" name="John Doe" /&gt;&lt;/PEOPLE&gt;' &lt;BR&gt;exec sp_xml_preparedocument @id output, @xml&lt;BR&gt;select * from OpenXML(@id, '/people/person') &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;exec master..xp_availablemedia&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana size=1&gt;&lt;SPAN class=bodyCode&gt;declare @netname varchar(20) &lt;BR&gt;exec master..xp_getnetname @netname output&lt;BR&gt;print 'The name of my SQL Server is ' + @netname&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana size=1&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;xp_logevent {&lt;I&gt;error_number, 'message'&lt;/I&gt;} [, 'severity']&lt;/SPAN&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana size=1&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;exec master..xp_terminate_process 3812&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana size=1&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;exec master..xp_cmdshell @command&lt;BR&gt;&lt;BR&gt;echo off &lt;BR&gt;@echo You passed in %1&lt;BR&gt;Now, enter the following code into Query Analyzer and run it:&lt;BR&gt;&lt;SPAN class=bodyCode&gt;declare @arg1 varchar(20) &lt;BR&gt;declare @command varchar(50)&lt;BR&gt;set @arg1 = 'Hello' &lt;BR&gt;set @command = 'c:\testbat.bat ' + @arg1&lt;BR&gt;exec master..xp_cmdshell @command&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana size=1&gt;&lt;SPAN class=bodyCode&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=10890"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=10890" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/brcraju/aggbug/10890.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Raju</dc:creator>
            <guid>http://geekswithblogs.net/brcraju/archive/2004/09/09/10890.aspx</guid>
            <pubDate>Thu, 09 Sep 2004 20:41:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/brcraju/comments/10890.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/brcraju/archive/2004/09/09/10890.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/brcraju/comments/commentRss/10890.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/brcraju/services/trackbacks/10890.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server Extended Procedure- usage of Built-in</title>
            <link>http://geekswithblogs.net/brcraju/archive/2004/09/09/10889.aspx</link>
            <description>&lt;P&gt;&lt;A href="http://www.devarticles.com/c/a/SQL-Server/Extended-Stored-Procedures-Intro-And-10-Cool-Examples/"&gt;&lt;FONT face=Verdana size=1&gt;http://www.devarticles.com/c/a/SQL-Server/Extended-Stored-Procedures-Intro-And-10-Cool-Examples/&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;Authors gives good brief on 10 cool features in SQL Server repository.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;&lt;SPAN class=bodyCode&gt;xp_fileexist filename [, &amp;lt;file_exists INT&amp;gt; OUTPUT]&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;exec master..xp_fileexist 'c:\test.file'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana size=1&gt;xp_regread root_key, path_key, key_value&lt;BR&gt;&lt;SPAN class=bodyCode&gt;master..xp_regread 'HKEY_LOCAL_MACHINE', 'SYSTEM\Setup', 'SystemPartition'&lt;/SPAN&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;exec master..xp_repl_encrypt @cardNumber1 output &lt;BR&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana size=1&gt;exec master..xp_dirtree 'c:\mydir'&lt;BR&gt;&lt;BR&gt;set @xml = '&amp;lt;people&amp;gt;&amp;lt;person name="John Doe" age="30"/&amp;gt;&amp;lt;/people&amp;gt;' &lt;BR&gt;exec sp_xml_preparedocument @id output, @xml&lt;BR&gt;select * from OpenXML(@id, '/people/person') &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;exec master..xp_availablemedia&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;FONT face=Verdana size=1&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;&lt;SPAN class=bodyCode&gt;&lt;SPAN class=bodyCode&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=10889"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=10889" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/brcraju/aggbug/10889.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Raju</dc:creator>
            <guid>http://geekswithblogs.net/brcraju/archive/2004/09/09/10889.aspx</guid>
            <pubDate>Thu, 09 Sep 2004 20:40:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/brcraju/comments/10889.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/brcraju/archive/2004/09/09/10889.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/brcraju/comments/commentRss/10889.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/brcraju/services/trackbacks/10889.aspx</trackback:ping>
        </item>
        <item>
            <title>A Survey of Microsoft SQL Server 2000 XML Features</title>
            <link>http://geekswithblogs.net/brcraju/archive/2004/03/23/3252.aspx</link>
            <description>&lt;P&gt;&lt;FONT face=Verdana size=1&gt;A Survey of Microsoft SQL Server 2000 XML Features from Andrew Conrad&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;This describes latest features on XML with SQL Server with abstract example - Worth of reading&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexxml/html/xml03172004.asp"&gt;&lt;FONT face=Verdana size=1&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexxml/html/xml03172004.asp&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=3252"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=3252" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/brcraju/aggbug/3252.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Raju</dc:creator>
            <guid>http://geekswithblogs.net/brcraju/archive/2004/03/23/3252.aspx</guid>
            <pubDate>Tue, 23 Mar 2004 19:24:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/brcraju/comments/3252.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/brcraju/archive/2004/03/23/3252.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/brcraju/comments/commentRss/3252.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/brcraju/services/trackbacks/3252.aspx</trackback:ping>
        </item>
        <item>
            <title>Tips for Trigger and Link for Data Recovery article </title>
            <link>http://geekswithblogs.net/brcraju/archive/2003/11/19/635.aspx</link>
            <description>&lt;P&gt;&lt;A href="http://www.lumigent.com/go/ud14"&gt;&lt;FONT face=Verdana size=1&gt;http://www.lumigent.com/go/ud14&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=1&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;Find Data-Recovery and Best Practices white paper from &lt;BR&gt;By Stephen Wynkoop, Microsoft SQL Server MVP&lt;BR&gt;(Founder The SQL Server Worldwide User&amp;#8217;s Group)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#0000ff size=1&gt;&lt;STRONG&gt;Tips on Triggers&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;&lt;FONT face=Verdana&gt;&lt;FONT color=#000000&gt;Encrypting Trigger Definitions&lt;BR&gt;If you want to ensure that other users cannot view the trigger definition, you can use the WITH ENCRYPTION clause. The trigger definition is then stored in an unreadable form.&lt;/FONT&gt;&lt;FONT color=#000000&gt;Once encrypted, the definition of the trigger cannot be decrypted and cannot be viewed by anyone, including the owner of the trigger or the system administrator.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000000 size=1&gt;-----------------------------------------------------------------------------&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000000 size=1&gt;Use the INSTEAD OF trigger to replace the standard triggering action&lt;BR&gt;CREATE TRIGGER TableAInsertTrig ON TableA&lt;BR&gt;INSTEAD OF INSERT&lt;BR&gt;AS ...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000000 size=1&gt;&amp;nbsp;Use the AFTER trigger to augment the standard triggering action&lt;BR&gt;CREATE TRIGGER TableBDeleteTrig ON TableB&lt;BR&gt;AFTER DELETE&lt;BR&gt;AS ...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000000 size=1&gt;&amp;nbsp;Use the FOR trigger to augment the standard triggering action&lt;BR&gt;-- This statement uses the FOR keyword to generate an AFTER trigger.&lt;BR&gt;CREATE TRIGGER TableCUpdateTrig ON TableC&lt;BR&gt;FOR UPDATE&lt;BR&gt;AS ...&lt;BR&gt;-------------------------------------------------------------------------------&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT face=Verdana size=1&gt;Recursive trigger could be turned off and also nested trigger could be turned off.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=635"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=635" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/brcraju/aggbug/635.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Raju</dc:creator>
            <guid>http://geekswithblogs.net/brcraju/archive/2003/11/19/635.aspx</guid>
            <pubDate>Wed, 19 Nov 2003 18:33:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/brcraju/comments/635.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/brcraju/archive/2003/11/19/635.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/brcraju/comments/commentRss/635.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/brcraju/services/trackbacks/635.aspx</trackback:ping>
        </item>
        <item>
            <title>Overview of 64Bit SQL from Ram Kishore</title>
            <link>http://geekswithblogs.net/brcraju/archive/2003/10/31/350.aspx</link>
            <description>&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Verdana"&gt;&lt;FONT size=1&gt;Great article on Overview of 64bit SQL&amp;nbsp; by Ram Kishore (&lt;/FONT&gt;&lt;A href="mailto:ramki120@hotmail.com"&gt;&lt;FONT size=1&gt;ramki120@hotmail.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=1&gt;)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Verdana"&gt;&lt;A href="http://www.sqlservercentral.com/columnists/rkishore/overviewof64bitsql.asp"&gt;&lt;FONT size=1&gt;http://www.sqlservercentral.com/columnists/rkishore/overviewof64bitsql.asp&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Verdana"&gt;&lt;FONT size=1&gt;The Publisher says "This is a great article, seems like it covers almost every question you might have about installing and using the 64 bit version of SQL2K"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Verdana"&gt;&lt;FONT size=1&gt;Pretty work Ram Kishore :)&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=350"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=350" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/brcraju/aggbug/350.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Raju</dc:creator>
            <guid>http://geekswithblogs.net/brcraju/archive/2003/10/31/350.aspx</guid>
            <pubDate>Fri, 31 Oct 2003 14:12:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/brcraju/comments/350.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/brcraju/archive/2003/10/31/350.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/brcraju/comments/commentRss/350.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/brcraju/services/trackbacks/350.aspx</trackback:ping>
        </item>
        <item>
            <title>Queries to check SP,table,trigger exists in database or not</title>
            <link>http://geekswithblogs.net/brcraju/archive/2003/10/30/343.aspx</link>
            <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT face=Verdana size=1&gt;Simple quries to check whether they are existing in database or not.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&lt;U&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Checking whether procedure exist in the NORTHWIND database with name 'CustOrdersDetail'&lt;/U&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face=Verdana size=1&gt;Approach -1:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;use NORTHWIND&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CustOrdersDetail]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;print 'CustOrdersDetail Exists in the NORTHWIND database'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;else&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;print 'CustOrdersDetail&amp;nbsp; *does not exist* in the NORTHWIND database'&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face=Verdana size=1&gt;Approach -2:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;Use NORTHWIND&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;if exists(select * from dbo.sysobjects where type = 'p' and name = 'CustOrdersDetail&amp;#8217;&amp;nbsp; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;print ''CustOrdersDetail&amp;nbsp;&amp;nbsp; Exists in the NORTHWIND database'&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;else&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;print ''CustOrdersDetail&amp;nbsp;&amp;nbsp; *DOES not exist* in the NORTHWIND database'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&lt;U&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Checking whether table exist in the database with name 'EmployeeTerritories'&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face=Verdana size=1&gt;Approach -1:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;use NORTHWIND&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[EmployeeTerritories]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;print 'EmployeeTerritories Exists in the NORTHWIND database'&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;else&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;print 'EmployeeTerritories *DOES not exist* in the NORTHWIND database'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;&lt;STRONG&gt;Approach -2:&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;use NORTHWIND&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;if exists(select * from dbo.sysobjects where type = 'U' and name = 'EmployeeTerritories'&amp;nbsp; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;print 'EmployeeTerritories Exists in the NORTHWIND database'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;else&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;print 'EmployeeTerritories *DOES not exist* in the NORTHWIND database'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&lt;U&gt;&amp;nbsp;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Checking whether trigger exist in the database with name 'TempTrigger'&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;&amp;nbsp;&lt;STRONG&gt;Approach -1:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;use Northwind&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[TempTrigger]') and OBJECTPROPERTY(id, N'IsTrigger') = 1)&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;print 'TempTrigger Exists in the NORTHWIND database'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;else&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;print 'TempTrigger *DOES not exist* in the NORTHWIND database'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;&amp;nbsp;&lt;STRONG&gt;Approach -2:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;use Northwind&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;if exists (select * from dbo.sysobjects where name ='TempTrigger' and type ='TR')&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;print 'TempTrigger Exists in the NORTHWIND database'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;else&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&amp;nbsp;print 'TempTrigger *DOES not exist* in the NORTHWIND database'&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=343"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=343" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/brcraju/aggbug/343.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Raju</dc:creator>
            <guid>http://geekswithblogs.net/brcraju/archive/2003/10/30/343.aspx</guid>
            <pubDate>Thu, 30 Oct 2003 14:32:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/brcraju/comments/343.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/brcraju/archive/2003/10/30/343.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/brcraju/comments/commentRss/343.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/brcraju/services/trackbacks/343.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server's Coolest Features</title>
            <link>http://geekswithblogs.net/brcraju/archive/2003/10/23/237.aspx</link>
            <description>&lt;FONT face=Verdana&gt;&lt;FONT size=1&gt;&lt;STRONG&gt;SQL Server 2000's Coolest Features&lt;/STRONG&gt; &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Just when you think you have a handle on SQL Server 7.0, Microsoft ships a new SQL Server release. SQL Server 2000 might skip 1,993 release numbers, but you won't find the same degree of difference between SQL Server 2000 and 7.0 as you found between SQL Server 7.0 and 6.5. Even so, this latest release is full of new functionality. Here are seven of my favorite new SQL Server 2000 features. &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;7. Integrated XML Support &lt;/STRONG&gt;&lt;BR&gt;XML support is key to Microsoft's push to Web-enable SQL Server 2000. The new release supports T-SQL extensions that let SQL Server produce a result set as an XML document. In addition, you can use XML documents to directly insert and update SQL Server tables. &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;6. INSTEAD OF Triggers &lt;/STRONG&gt;&lt;BR&gt;SQL Server 2000's new INSTEAD OF triggers aren't exactly like BEFORE triggers, but you can use them in a similar way. Unlike AFTER triggers, which the system executes after a transaction changes the database, INSTEAD OF triggers execute instead of the triggering action. &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;5. Table Data Type &lt;/STRONG&gt;&lt;BR&gt;The new table data type lets an application store temporary results as a table that you can manipulate by using a select statement or even action queries&amp;#8212;just as you can manipulate any standard user table. &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;4. User-Defined Functions &lt;/STRONG&gt;&lt;BR&gt;User-defined functions enhance T-SQL's programmability by letting you create and use your own functions in T-SQL stored procedures and batches. SQL Server 2000 executes user-defined functions in the same way that it executes T-SQL's built-in functions, and user-defined functions can return either scalar variables or table data types. &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;3. Indexed Views&lt;/STRONG&gt; &lt;BR&gt;Unlike standard views, in which SQL Server resolves the data-access path dynamically at execution time, the new indexed views feature lets you store views in the database just as you store tables. Indexed views, which are persistent, can significantly improve application performance by eliminating the work that the query processor must perform to resolve the views. &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;2. Federated Database Support &lt;/STRONG&gt;&lt;BR&gt;Federated database support, which lets you use SQL Server 2000's distributed partitioned views to horizontally partition tables across multiple servers, enabled SQL Server 2000 to set its new Transaction Processing Performance Council (TPC) TPC-C benchmark of 262,243 transactions per minute (tpmC) with 12 clustered Compaq systems. &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;1. Cascading DRI &lt;/STRONG&gt;&lt;BR&gt;Cascading Declarative Referential Integrity (DRI) might not be SQL Server's sexiest new feature, but it's the feature you'll most likely use. With cascading DRI, you specify a relationship between a parent and a dependent table so that a deletion or update of a row in the parent table automatically cascades to corresponding rows in the dependent table. &lt;BR&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;!-- Just copy and paste the following code into your main blogging template! --&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=237"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=237" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/brcraju/aggbug/237.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Raju</dc:creator>
            <guid>http://geekswithblogs.net/brcraju/archive/2003/10/23/237.aspx</guid>
            <pubDate>Thu, 23 Oct 2003 15:48:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/brcraju/comments/237.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/brcraju/archive/2003/10/23/237.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/brcraju/comments/commentRss/237.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/brcraju/services/trackbacks/237.aspx</trackback:ping>
        </item>
        <item>
            <title>Removing Duplicates</title>
            <link>http://geekswithblogs.net/brcraju/archive/2003/10/23/236.aspx</link>
            <description>&lt;FONT face=Verdana size=1&gt;Simple way to Remove Duplicate Rows from an Existing Table in SQL &lt;BR&gt;&lt;BR&gt;SELECT DISTINCT * &lt;BR&gt;INTO duplicate_table &lt;BR&gt;FROM original_table &lt;BR&gt;GROUP BY key_value &lt;BR&gt;HAVING COUNT(key_value) &amp;gt; 1 &lt;BR&gt;&lt;BR&gt;DELETE original_table &lt;BR&gt;WHERE key_value &lt;BR&gt;IN (SELECT key_value &lt;BR&gt;FROM duplicate_table) &lt;BR&gt;&lt;BR&gt;INSERT original_table &lt;BR&gt;SELECT * &lt;BR&gt;FROM duplicate_table &lt;BR&gt;&lt;BR&gt;DROP TABLE duplicate_table &lt;/FONT&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=236"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=236" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/brcraju/aggbug/236.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Raju</dc:creator>
            <guid>http://geekswithblogs.net/brcraju/archive/2003/10/23/236.aspx</guid>
            <pubDate>Thu, 23 Oct 2003 15:47:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/brcraju/comments/236.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/brcraju/archive/2003/10/23/236.aspx#feedback</comments>
            <slash:comments>9</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/brcraju/comments/commentRss/236.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/brcraju/services/trackbacks/236.aspx</trackback:ping>
        </item>
    </channel>
</rss>