08 - Retrieving SQL Metadata and Improving SQL Performance
08 - Retrieving SQL Metadata and Improving SQL Performance
06 | Modifying Data
INSERT, UPDATE, and DELETE statements, use of defaults, constraints, and triggers, OUTPUT
Using T-SQL programming elements, implementing error handling, understanding and implementing transactions
Querying system catalogs and dynamic management views, creating and executing stored procedures, improving SQL
Server query performance
SELECT referencing_schema_name,
referencing_entity_name,
referencing_class_desc
FROM
sys.dm_sql_referencing_entities(
'Sales.SalesOrderHeader', 'OBJECT');
GO
Naming pattern
Description
db
Database-related information
exec
io
I/O statistics
os
tran
Transaction-related information
Name
Description
sp_databases
sp_tables
sp_columns
2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in
the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because
Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information
provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.