Solved

stored proc not to be seen in profiler

Posted on 2013-06-26
1
243 Views
Last Modified: 2013-06-27
how can we avoid the stored proc code being visible in profiler? (just need it for one stored proc)
0
Comment
Question by:25112
1 Comment
 
LVL 16

Accepted Solution

by:
Surendra Nath earned 500 total points
ID: 39280111
you can set the encryption on for the stored procedure, and the code will not be shown in the profile.

just add WITH ENCRYPTION  before the as statement of your stored proceudre...
if you need to know more about Pros and cons of encryption, I suggest you to go over the below article

http://www.codeproject.com/Articles/38583/How-Do-I-Protect-My-Stored-Procedure-Code
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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