sql SMH-DBM-PatientAccess审计

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sql SMH-DBM-PatientAccess审计相关的知识,希望对你有一定的参考价值。

/* 
	Created: June 13, 2018
	Version 1.0
	Description: Used to track dbMotion Emergency Declaration Events
	Created by: Michael Donnelly
*/
USE dbmADRLV3
SELECT *
      ,[YearNo]
      ,[OccurrenceTime]
      ,[EventDate]
      ,[EventHourInDay]
      ,[DayOfMonth]
      ,[WeekDay]
      ,[WeekDayName]
      ,[Event_ID]
      ,[EventDefID]
      ,[EventDefName]
      ,[ExtendedPropertyName]
      ,[Value]
      ,[UserID]
      ,[UserDisplayName]
      ,[PatientId]
      ,[PatientName]
      ,[Gender]
      ,[Age]
      ,[City]
      ,[State]
      ,[Country]
      ,[SessionID]
      ,[CoordinationName]
      ,[ActiveRoleName]
  FROM [dbmADRLV3].[dbo].[LV3_TrcAction]
  
  WHERE ExtendedPropertyName = 'Page Name'

		AND dbmADRLV3.dbo.LV3_TrcAction.OccurrenceTime >= '2018-06-06 00:00:00'  AND dbmADRLV3.dbo.LV3_TrcAction.OccurrenceTime <= '2018-06-13 23:59:59'  
  ORDER BY dbo.LV3_TrcAction.OccurrenceTime desc

以上是关于sql SMH-DBM-PatientAccess审计的主要内容,如果未能解决你的问题,请参考以下文章

sql 2008和sql 2012的区别

sql [sql技巧]一些sql技巧#sql

sql 2008 r2 在sql 2008上兼容么

SQL基础

有大神知道,sql server 中如何批量执行sql语句吗?

pl sql developer怎么执行sql