SQL Flow Field Guide

sys.sp_help

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

Reports information about a database object (any object listed in the sys.sysobjects compatibility view), a user-defined data type, or a data type.

What changes

Input
Reports information about a database object (any object listed in the sys.sysobjects compatibility view), a user-defined data type, or a data type.
Output or change
No write is stated in the Microsoft summary.

Syntax at a glance

sys.sp_help [ [ @objname = ] N'objname' ]
[ ; ]

Work example

Reports information about a database object (any object listed in the sys.sysobjects compatibility view), a user-defined data type, or a data type.

Write a proposed call on paper. Name the target, required permission, expected change, and recovery step before any lab use.

Check your work Lists objects visible in the current database. The result depends on database context and metadata visibility.

Practice SQL

Open in SQL Flow

Open the SQL for a walkthrough. Run the example in SQL Server to check its result.

EXEC sys.sp_help;

Open Microsoft Learn for full syntax, permissions, and details for your version.