Re: Obtain Info
From: Hari Prasad (hari_prasad_k_at_hotmail.com)
Date: 04/11/05
- Next message: Pupo: "Re: Obtain Info"
- Previous message: Mike Epprecht (SQL MVP): "RE: Obtain Info"
- In reply to: Mike Epprecht (SQL MVP): "RE: Obtain Info"
- Next in thread: Pupo: "Re: Obtain Info"
- Reply: Pupo: "Re: Obtain Info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 11 Apr 2005 07:40:58 -0500
Hi,
How to Enable the Audit for Logins:-
------------------------------------
SQL 2000 - Open enterprise manager -- Right click on server and select
properties and then choose the Security tab and
select Audit level "ALL" and click Ok and restart SQL server service.
Operation excuted: These information can not be looged into the SQL Server
error log. But you could create the trace and schedule it to
run and log to a file. See the commands
sp_trace_create, sp_trace_setevent, sp_trace_setstatus in books online.
Thanks
Hari
SQL Server MVP
"Mike Epprecht (SQL MVP)" <mike@epprecht.net> wrote in message
news:E2A4F98E-5C4C-46B0-BE40-EDB530C6162E@microsoft.com...
> Hi
>
> Logins/Logout can be logged into the SQL Event log, but what the user
> executed, you need to use Profiler for that.
>
> Generally, for SOX compliance, people run Profiler to capture all the
> events
> and use that to report on.
>
> Regards
> Mike
>
> "Pupo" wrote:
>
>> Hi
>> I have SQL 2000 server Sp3 on my network, i want know if is possible
>> obtain
>> major information from log file, i.e. if a user loggin to db i want know
>> the
>> time/date to login, operation excute etc.
>> Can help me please
>> Tia Pupo
>>
>>
>>
- Next message: Pupo: "Re: Obtain Info"
- Previous message: Mike Epprecht (SQL MVP): "RE: Obtain Info"
- In reply to: Mike Epprecht (SQL MVP): "RE: Obtain Info"
- Next in thread: Pupo: "Re: Obtain Info"
- Reply: Pupo: "Re: Obtain Info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|