Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 18th, 2005, 02:39 PM
Authorized User
Points: 153, Level: 3
Points: 153, Level: 3 Points: 153, Level: 3 Points: 153, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2004
Location: , , .
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default with encryption

If I use the WITH ENCRYPTION command in SQL 2000, how can I generate a sql script outputting the now encrypted Stored Procedure. If I generate a sql script using the "Generate SQL Scripts" in Enterprise Manager, there will be a error message displayed that the code is not transferable. I believe you also get the error message if you open the Stored procedure in Enterprise Manager. What I have been doing so far is encrypting Stored Procedures using SQL 7 then generating a script using the "Generate SQL Scripts" in Enterprise Manager. I can gen run the script in query analyzer to create the encrypted Stored Procedures in SQL2000.
An option is to leave the stored procedures in a readable format with the WITH ENCRYPTION command in the stored procedure and let SQL encrypt it when run but I would prefer the code to be secure.

Any ideas on how to get around this problem in SQL2000 ?




  #2 (permalink)  
Old February 21st, 2005, 12:49 AM
Friend of Wrox
 
Join Date: Dec 2004
Location: Chennai, Tamil nadu, India.
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

To my knowledge we need to take a backup or generate the script and keep it before using With Encryption in SP. I don't think there is a way to generate the script after encrypting the SP.

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com


Similar Threads
Thread Thread Starter Forum Replies Last Post
Encryption timeware SQL Server 2005 1 September 7th, 2006 12:35 PM
XSL Encryption RICHBIRD XSLT 1 June 14th, 2006 03:10 AM
FTP and encryption GeorgeW SQL Server DTS 0 June 9th, 2006 09:24 AM
Encryption mani_he Pro PHP 3 October 18th, 2005 02:20 PM
Encryption question Warbird General .NET 2 May 31st, 2005 03:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.