SQL Server Audit

2021-07-07T14:11:31.543+00:00

Hi,

I want to know who executed what in a SQL Server, I'd like to know everything that user executed in every SQL sentence.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
9,140 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CathyJi-MSFT 20,791 Reputation points Microsoft Vendor
    2021-07-08T06:36:43.67+00:00

    Hi @Miguel Angel Arriaga Grullon ,

    SQL server audit could not meet your requirement.

    You can using the SQL profiler trace to achieve this, but it is impossible to run the profiler trace for a long time.

    Please check if below blog could help you.

    How to Check SQL Server Query History


    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.