Answer 2
Hi Robert,
Do you want to get the Created date for a view in Microsoft SQL Server Manager Studio 2008?
If so, we can follow these steps:
Expand the views from 'Server' > 'Databases' > '<user database>' > 'Views'
Right-click the view we want to get the created date Click 'Properties'
Then, we will get the 'Create date' from the 'Description' list.
Or, please use the T-SQL to get the Created date:
USE <database>
GO
/****** Script for SelectTopNRows command from SSMS ******/SELECTTOP 1000 [name]
,[object_id]
,[principal_id]
,[schema_id]
,[parent_object_id]
,[type]
,[type_desc]
,[create_date]
,[modify_date]
,[is_ms_shipped]
,[is_published]
,[is_schema_published]
FROM [sys].[all_objects]
WHERE [name]= '<view name>'
Or use the following query to get all views:
USE <database>
GO
/****** Script for SelectTopNRows command from SSMS ******/SELECTTOP 1000 [name]
,[object_id]
,[principal_id]
,[schema_id]
,[parent_object_id]
,[type]
,[type_desc]
,[create_date]
,[modify_date]
,[is_ms_shipped]
,[is_published]
,[is_schema_published]
FROM [sys].[all_objects]
WHERE [type]= 'V'
If you have any more questions, please feel free to ask.
Thanks,
Jin Chen