?
Solved

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

Posted on 2009-07-13
1
Medium Priority
?
300 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Suggested Courses

765 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