Hi... Can anyone help me with a SQL query to generate a alert if the database synchronization fails. For example synchronization goes into suspended mode. If a database on one server fails or goes offline and is unable to sync to the database on other server then it should generate an alert. I know we can write a custom alert query on "Appinsight for SQL: Database". But i am not a scripting guy. Appreciate if anyone could help me with this.