We can see schema for all tables and views by:
SELECT * FROM INFORMATION_SCHEMA.TABLES
SELECT * FROM INFORMATION_SCHEMA.VIEWS
Can we view schema for stored procedures or functions through tsql?
In other Information Schema Views , like INFORMATION_SCHEMA.ROUTINES
:
Returns one row for each stored procedure and function that can be accessed by the current user in the current database
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.