• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

stored proc not to be seen in profiler

how can we avoid the stored proc code being visible in profiler? (just need it for one stored proc)
0
25112
Asked:
25112
1 Solution
 
Surendra NathTechnology LeadCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now