I know this is a duplicate one. But i did not find a solution for my requirement in this forum.
Is there a way to identify the list of completed queries that were triggered along with its SQL ID and user details in SQL server for a particular day.
Expected Output:
SQL_ID, Query_Start_Time, Query_End_Time, Query_Executed, User