• Skip to primary navigation
  • Skip to content
  • Skip to footer
Highly Distinguish IT solution & education
  • About
  • Sitemap
    Treasure Bowl for SQL, helpful for your daily database jobs

    Treasure Bowl for SQL, helpful for your daily database jobs

    less than 1 minute read

    On this page

    • SQL Server
      • To check permissions of database objects
      • To show sql source of a stored procedure

    Don’t be greedy. Half of something is better than all nothing.

    SQL Server

    To check permissions of database objects

    sp_helprotect ‘dbo.spname’
    

    To show sql source of a stored procedure

    sp_helptext ‘dbo.spname’
    

    –HTH–

    Updated: January 31, 2023

    Share on

    Twitter Facebook LinkedIn
    Previous Next

    You may also enjoy

    3 minute read

    WSL ubuntu used too much spaces to use in my windows

    3 minute read

    Take the risk or lose the chance!

    How to Pass the Real Azure VM Name to Your Linux App—Even When $HOSTNAME Fails

    2 minute read

    Take the risk or lose the chance!

    handle custom script azure extension

    2 minute read

    The secret of getting ahead is getting started. - Mark Twain

    • Follow:
    • Feed
    © 2025 Highly Distinguish. Powered by Jekyll & Minimal Mistakes.