Maison >base de données >tutoriel mysql >设置并查看数据库的C2审计的结果
设置并查看数据库的C2审计的结果 无 EXEC sp_configure 'show advanced option', 1;EXEC sp_configure 'c2 audit mode', '1' RECONFIGURE;EXEC sp_configure 'c2 audit mode', '0' RECONFIGURE;EXEC sp_configure 'common criteria compliance enable',1;sele
设置并查看数据库的C2审计的结果EXEC sp_configure 'show advanced option', 1; EXEC sp_configure 'c2 audit mode', '1' RECONFIGURE; EXEC sp_configure 'c2 audit mode', '0' RECONFIGURE; EXEC sp_configure 'common criteria compliance enable',1; select * from sys.traces -- Reads from a file that is named \\serverName\Audit\HIPPA_AUDIT.sqlaudit SELECT * FROM sys.fn_get_audit_file ('C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\audittrace20130216145422.trc',default,default); GO