Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Administration
»
SQLS2K: How to encrypt and decrypt objects
SQLS2K: How to encrypt and decrypt objects
Rate Topic
Display Mode
Topic Options
Author
Message
JMSM
JMSM
Posted Tuesday, April 15, 2008 10:58 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Today @ 6:20 AM
Points: 185,
Visits: 759
Hello,
I've got three questions that i'll appreciate if you can answer me as quickly as possible.
Theres a lot of sp that were encrypted by dba that its not working with us and anyone knows the code of this procedures.
I need to see the code of this procedures because the performance of the machine is completely horrible after 7 pm and cant delete them because i really don't know what they are doing.
- How can i see the code of encrypted stored procedures?
- Is there any tool that i can use to decrypt this objects?
- How can i create encrypted objects?
The code that appears is as follow:
drop procedure [owner].[procedure_name]
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
setuser N'[owner]'
GO
/****** Encrypted object is not transferable, and script can not be generated. ******/
GO
setuser
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
Thanks and regards
JMSM [Wink]
Post #485183
Greg Charles
Greg Charles
Posted Tuesday, April 15, 2008 11:40 AM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Today @ 5:14 PM
Points: 4,009,
Visits: 4,891
See this thread for links to decryption tools:
http://www.sqlservercentral.com/Forums/Topic396563-119-1.aspx
.
See "Create Procedure" in BooksOnLine for syntax to create an encrypted stored procedure.
Greg
Post #485212
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.