• 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

    第二次 Ctrl-C 之后,几百刀的实验结果变成了一个坏掉的 JSON

    10 minute read

    “错误永远不应该悄无声息地过去,除非它被明确地消音。” —— Tim Peters,《Python 之禅》

    One Ctrl-C Turned a Six-Hour Experiment Into a Corrupt JSON File

    36 minute read

    “Errors should never pass silently. Unless explicitly silenced.” — Tim Peters, The Zen of Python

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