Sep 24 2024 05:02 AM
I need below details when i connect to my SQL Server.
DB Creation Date
Tables/Views/SPs Creation Date
Tables/Views/SPs Last used/accessed ==> Need history of one/two years when they accessed
connecting to applications host
I want all above details in one SQL Query.
Is that possible to get all the above details in one single query..?
Sep 24 2024 10:26 PM
Sep 25 2024 03:39 AM
SolutionDB Creation
select create_date, *
from sys.databases
Object creation
select create_date, *
from sys.objects
SQL Server don't log a "access history", so not possible to get the informations.
Sep 27 2024 07:22 AM
Hi @olafhelper ,
Thanks for your reply.
can we get details of DML commands, particularly when was the last SELECT statement executed either from applications or run from sql query window..?
Sep 25 2024 03:39 AM
SolutionDB Creation
select create_date, *
from sys.databases
Object creation
select create_date, *
from sys.objects
SQL Server don't log a "access history", so not possible to get the informations.