• 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

    SBOM差异忽略?你的项目可能正面临致命漏洞!

    24 minute read

    “物有本末,事有终始。知所先后,则近道矣。” —— 《礼记·大学》

    Ignoring SBOM Diff? Your Project Might Have a Fatal Flaw!

    16 minute read

    “物有本末,事有终始。知所先后,则近道矣。” —— 《礼记·大学》

    How SBOM Diff Exposes the Silent Killer in Your Supply Chain

    16 minute read

    “Things have their root and their branches. Affairs have their end and their beginning. To know what is first and what is last will lead near to what is t...

    你真的懂 Python 类型映射吗?还是只是在滥用 Dict?

    20 minute read

    “欲变世界,先变其身。” —— 圣雄甘地

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