• Skip to primary navigation
  • Skip to content
  • Skip to footer
Highly Distinguish IT solution & education
  • About
  • Tags
  • 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

    5 minute read

    3 minute read

    Git Bash on Windows: The MSYS Path Conversion Pitfall

    11 minute read

    “Know your enemy and know yourself.” — Sun Tzu, The Art of War

    你脚本里的每一个 sleep 都在说谎

    8 minute read

    “知而不行,只是未知。” —— 王阳明

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