Retrieving a list of SQL Server objects (constraints, tables, views, functions) using sys.objects

preview_player
Показать описание
How can you retrieve a list of all of your constraints, functions, tables, procedures and views? It's very easy.
My SQL Server Udemy courses are:
----
However, you can develop it very easily, by getting the Schema Name and the Parent Object Name - for example, what table a constraint is in? The code I develop in this video is:
SELECT Schema_NAME(O.schema_id) as SchemaName, object_name(O.parent_object_id) as ParentObjectName, O.*
Рекомендации по теме
Комментарии
Автор

Hey there, glad to meet you again
As a new newbie, i learned that views are specialized ways of looking at the actual data.
How actually views are displayed in sql? Do they actually alter the physical data?
Are they stored in temporary tables?
Thanks for taking care of my enquiries.

hasanmougharbel
join shbcf.ru