• 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

    Under the Hood of git push: How SSH, Keys, and gh Actually Work Together

    11 minute read

    “Complexity is the enemy of security.” — Bruce Schneier

    别再盲目复制粘贴了:彻底搞懂 Git、SSH 与 GitHub CLI 的底层连接奥秘

    5 minute read

    “Be the Sun of your solar system.” — Unknown

    从“能跑就行”到“优雅好用”:优秀 CLI 工具的幕后设计秘诀

    3 minute read

    “彼节者有间,而刀刃者无厚;以无厚入有间,恢恢乎其于游刃必有余地矣。” — 庄子

    From Hacky to Heroic: The Product Mindset for Great CLIs

    12 minute read

    “You must be the change you wish to see in the world.” — Mahatma Gandhi

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