Microsoft distributes Microsoft SQL Server 2012 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release.

If you are a Small Business customer, find additional troubleshooting and learning resources at the Support for Small Business site.

You create an availability group by using the New Availability Group Wizard in Microsoft SQL Server Management Studio for Microsoft SQL Server 2012.

You select the Full or the Join only data synchronization preference on the Select Data Initial Synchronization page.

On the Summary page, you click Script in order to receive automatically generated scripts.

In this scenario, the generated scripts skip the steps that join an existing secondary database to the availability group. Therefore, if you try to use these scripts to create an availability group, the availability group cannot come online.

To work around this issue, manually add the missing steps. Specifically, add the "ALTER DATABASE DatabaseName SET HADR AVAILBILLITY GROUP" command for each availability database and secondary replica that is defined in the availability group. For example, you add the following steps: