SQL Server Error Code – 35239 the alter database set h

In this blog post, you’ll learn more about the SQL Server Error Code 35239 and the error message description that is shown

SQL Server Error Code

35239

SQL Server Error Description for the Code :35239

The ALTER DATABASE SET HADR SUSPEND (or SET HADR RESUME) statement failed on database ‘%.*ls’ of availability group ‘%.*ls”. Either the availability group does not contain the specified database, or the database has not joined the availability group, or the database has not yet started. Reenter the command after the database is online and has joined the availability group.