<?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; Stored Procedure WITH ENCRYPTION and Execution Plan</title>
	<atom:link href="http://blog.sqlauthority.com/2008/11/01/sql-server-stored-procedure-with-encryption-and-execution-plan/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/11/01/sql-server-stored-procedure-with-encryption-and-execution-plan/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 10 Feb 2012 02:12:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Sridhar</title>
		<link>http://blog.sqlauthority.com/2008/11/01/sql-server-stored-procedure-with-encryption-and-execution-plan/#comment-235320</link>
		<dc:creator><![CDATA[Sridhar]]></dc:creator>
		<pubDate>Wed, 11 Jan 2012 14:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1451#comment-235320</guid>
		<description><![CDATA[Hi,
    Good example, But if i know the SP name(EncryptSP) . Use this name, I can able to modify the SP. So, What is the use of ENCRYPTION.]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
    Good example, But if i know the SP name(EncryptSP) . Use this name, I can able to modify the SP. So, What is the use of ENCRYPTION.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajat Jaiswal</title>
		<link>http://blog.sqlauthority.com/2008/11/01/sql-server-stored-procedure-with-encryption-and-execution-plan/#comment-122648</link>
		<dc:creator><![CDATA[Rajat Jaiswal]]></dc:creator>
		<pubDate>Thu, 10 Mar 2011 07:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1451#comment-122648</guid>
		<description><![CDATA[Hi,
I would like add one more question here how  SQL server internally handle this ?
what are the performance constraint ?

although i found many articles that it is not safe enough it can easily be decrypted so is there any other way?

Thanks
Rajat]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
I would like add one more question here how  SQL server internally handle this ?<br />
what are the performance constraint ?</p>
<p>although i found many articles that it is not safe enough it can easily be decrypted so is there any other way?</p>
<p>Thanks<br />
Rajat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQLNewbie</title>
		<link>http://blog.sqlauthority.com/2008/11/01/sql-server-stored-procedure-with-encryption-and-execution-plan/#comment-69321</link>
		<dc:creator><![CDATA[SQLNewbie]]></dc:creator>
		<pubDate>Wed, 05 May 2010 18:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1451#comment-69321</guid>
		<description><![CDATA[Where are these SPs stored?  I created them in the AdventureWorks db and was able to run them, however when I looked in the AdventureWorks\Programmability\Stored Procedures directory, neither SP was there.

Also, what are your thoughts on creating an encrypted SP that queries encrypted data?  Is this a good/bad way to keep the keys and certificate hidden?

Thanks for your help.]]></description>
		<content:encoded><![CDATA[<p>Where are these SPs stored?  I created them in the AdventureWorks db and was able to run them, however when I looked in the AdventureWorks\Programmability\Stored Procedures directory, neither SP was there.</p>
<p>Also, what are your thoughts on creating an encrypted SP that queries encrypted data?  Is this a good/bad way to keep the keys and certificate hidden?</p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinay</title>
		<link>http://blog.sqlauthority.com/2008/11/01/sql-server-stored-procedure-with-encryption-and-execution-plan/#comment-64909</link>
		<dc:creator><![CDATA[Vinay]]></dc:creator>
		<pubDate>Fri, 09 Apr 2010 09:33:19 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1451#comment-64909</guid>
		<description><![CDATA[Hi,

   I am having about 1000 store procedure and view.  
   Is there any way to generate store procedure and view objects encrypted script?


Thx in advance


Vinay K]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>   I am having about 1000 store procedure and view.<br />
   Is there any way to generate store procedure and view objects encrypted script?</p>
<p>Thx in advance</p>
<p>Vinay K</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bala</title>
		<link>http://blog.sqlauthority.com/2008/11/01/sql-server-stored-procedure-with-encryption-and-execution-plan/#comment-62456</link>
		<dc:creator><![CDATA[Bala]]></dc:creator>
		<pubDate>Tue, 09 Mar 2010 06:03:53 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1451#comment-62456</guid>
		<description><![CDATA[Hi All,
            There are decrypters available in Net to decrypt all our Encrypted SPs..So how to make our logic protected from those decrypters..we have to use our own encription algo (:&#039;( ) or any loop holes are there ?? any idea?]]></description>
		<content:encoded><![CDATA[<p>Hi All,<br />
            There are decrypters available in Net to decrypt all our Encrypted SPs..So how to make our logic protected from those decrypters..we have to use our own encription algo (:&#8217;( ) or any loop holes are there ?? any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gajanan</title>
		<link>http://blog.sqlauthority.com/2008/11/01/sql-server-stored-procedure-with-encryption-and-execution-plan/#comment-44029</link>
		<dc:creator><![CDATA[Gajanan]]></dc:creator>
		<pubDate>Mon, 03 Nov 2008 11:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1451#comment-44029</guid>
		<description><![CDATA[Hi Pinal,

I would like to know the performance impact of using temp tables in stored procedures. I believe temp table cause SP recompilation.

I would like to why and when this causes the stored procudre to recompile? I would also like to know the improvement in SQL 2005.

Thank you.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>I would like to know the performance impact of using temp tables in stored procedures. I believe temp table cause SP recompilation.</p>
<p>I would like to why and when this causes the stored procudre to recompile? I would also like to know the improvement in SQL 2005.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2008/11/01/sql-server-stored-procedure-with-encryption-and-execution-plan/#comment-44017</link>
		<dc:creator><![CDATA[Imran Mohammed]]></dc:creator>
		<pubDate>Sun, 02 Nov 2008 16:53:13 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1451#comment-44017</guid>
		<description><![CDATA[Pinal, 
Thanks for this Tip.

Worth noting is, this concept works only with SQL Server 2005. I tried doing this in SQL Server 2000. Even if you include With encryption in your stored proc, in SQL Server 2000 you will be able to see the execution plan. Since you did not mention this in your article I thought it will work in both. 

@mdma

Main Idea behind using with encryption is to hide the SQL Code, not the execution plan. Like Pinal mentioned in his article, many business logics are written in stored procedures which companies do not want others to know. This is the case especially with COTS products. 

In SQL Server 2005 SSMS ( Object explorer ), you can see a Lock symbol on stored procedure name indicating this stored procedure is encrypted.


Thanks,
Imran.]]></description>
		<content:encoded><![CDATA[<p>Pinal,<br />
Thanks for this Tip.</p>
<p>Worth noting is, this concept works only with SQL Server 2005. I tried doing this in SQL Server 2000. Even if you include With encryption in your stored proc, in SQL Server 2000 you will be able to see the execution plan. Since you did not mention this in your article I thought it will work in both. </p>
<p>@mdma</p>
<p>Main Idea behind using with encryption is to hide the SQL Code, not the execution plan. Like Pinal mentioned in his article, many business logics are written in stored procedures which companies do not want others to know. This is the case especially with COTS products. </p>
<p>In SQL Server 2005 SSMS ( Object explorer ), you can see a Lock symbol on stored procedure name indicating this stored procedure is encrypted.</p>
<p>Thanks,<br />
Imran.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mdma</title>
		<link>http://blog.sqlauthority.com/2008/11/01/sql-server-stored-procedure-with-encryption-and-execution-plan/#comment-44014</link>
		<dc:creator><![CDATA[mdma]]></dc:creator>
		<pubDate>Sun, 02 Nov 2008 07:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1451#comment-44014</guid>
		<description><![CDATA[thanks for the info and for keeping your blog interesting for long time.

now what reason do i have to encrypt sp&#039;s or better to say hide an execution plan?]]></description>
		<content:encoded><![CDATA[<p>thanks for the info and for keeping your blog interesting for long time.</p>
<p>now what reason do i have to encrypt sp&#8217;s or better to say hide an execution plan?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

