Solved

How to move encrypted sql procedure from one server to other ?

Posted on 2009-07-13
1
297 Views
Last Modified: 2012-06-21
Hello Experts.
I need to move encrypted tsql procedure from one MS SQL 2005 server to other, how can i do this ?
I add that this must be done using SQL scripts and person charging procedure for the second server can not know the source code.
This is the code that i used to encrypt the procedure:

CREATE PROCEDURE example_procedure
WITH ENCRYPTION
AS
SELECT * from somewhere;
GO
0
Comment
Question by:ASkEPA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 31

Accepted Solution

by:
RiteshShah earned 500 total points
ID: 24846643
you can't export SP and can't generate it's text because it is encrypted, the only option is to take full backup of database, restore it, restored database will have that SP too.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Replacing unrecognized function name in SQL Query 4 44
Select Sum query with group by 8 43
SQL - Aging Report - Display Months with no data 8 42
T-SQL Query 9 33
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question