Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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 ?




Reply With Quote
  #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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 11:51 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.