Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • Supporting Technologies (i.e. Windows / SQL Server / VMWare / etc.)
  • Supporting Technologies Tech Notes

TN WW106 How to Query the Microsoft SQL Alarm Database

Last updated: February 20th, 2025

Description

  • Author: Brian Schneider
  • Published: February 20th, 2025

Details:

Description

  • Author: Daniel London
  • Published: 04/30/2015
  • Applies to: Microsoft SQL Server (All Versions)

Details

Sometimes it will be useful to query the Microsoft SQL Server (SQL) alarm database to ensure that the Alarm DB Logger Manager is logging historical alarms.

This database is listed as A2ALMDB for newer Wonderware software versions or WWALMDB for older versions.

A simple query can be executed to determine if the alarms are being stored as records in the database.

  1. Open up Microsoft SQL Server Management Studio, expand the Databases folder, right click the alarm database and select New Query.
  2. Next type and execute the following Query:

    SELECT * FROM v_AlarmEventHistory;

    Your alarms show in the Results section as records in the database.

 

query sql alarm
Give feedback about this article

Recommended articles

Aveva Diagnostic Utility wwClient

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand