Skip to content

Commit c93cd8d

Browse files
authored
Merge pull request microsoft#584 from microsoft/master
New synch
2 parents 261aea0 + 3388812 commit c93cd8d

File tree

6 files changed

+23
-19
lines changed

6 files changed

+23
-19
lines changed

samples/features/epm-framework/5.0/0Setup Scripts/EPM_Create_Database_Objects.sql

+5-1
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,11 @@ SELECT PolicyHistoryID
577577
, EvaluatedServer
578578
, EvaluationDateTime
579579
, EvaluatedPolicy
580-
, RIGHT(EvaluatedObject, CHARINDEX('\', REVERSE(EvaluatedObject)) - 1)
580+
, CASE WHEN CHARINDEX('\', REVERSE(EvaluatedObject)) >0
581+
THEN RIGHT(EvaluatedObject,CHARINDEX('\', REVERSE(EvaluatedObject)) - 1)
582+
ELSE EvaluatedObject
583+
END
584+
AS EvaluatedObject
581585
, ExceptionMessage
582586
, policy_id
583587
, CategoryName
Loading

samples/manage/sql-server-extended-security-updates/readme.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![](./media/solutions-microsoft-logo-small.png)
2+
13
# SQL Server 2008/2008 R2 Extended Security Updates (ESUs)
24
SQL Server 2008 and SQL Server 2008 R2 have reached the end of their support lifecycle on July 9, 2019.
35
Each version is backed by a minimum of 10 years of support (5 years for Mainstream Support and 5 years for Extended Support) including regular security updates.
@@ -45,8 +47,7 @@ ESUs will be distributed if and when available, and do not include:
4547
### Support
4648
ESUs do not include technical support, but customers can use an active support contract such as Software Assurance or Premier/Unified Support on SQL Server 2008 / 2008 R2 to get technical support on workloads covered by ESUs if they choose to stay on-premises. Alternatively, if hosting on Azure, customers can use an Azure Support plan to get technical support.
4749

48-
> [!NOTE]
49-
> Microsoft cannot provide technical support for SQL Server 2008 / 2008 R2 instances (both on-premises and in hosting environments) that are not covered with an ESU subscription.
50+
**Note**: Microsoft cannot provide technical support for SQL Server 2008 / 2008 R2 instances (both on-premises and in hosting environments) that are not covered with an ESU subscription.
5051

5152
### ESU Availability
5253
**In Azure:** Customers who migrate workloads to Azure Virtual Machines (IaaS) will have access to Extended Security Updates for SQL Server 2008 and 2008 R2 for three years after the End of Support dates for **no additional charges** above the cost of running the virtual machine. Customers do not need Software Assurance to receive Extended Security Updates in Azure.

samples/manage/sql-server-extended-security-updates/register.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![](./media/solutions-microsoft-logo-small.png)
2+
13
# Registering SQL Server instances for ESUs
24

35
## Table of Contents
@@ -9,8 +11,7 @@
911
## <a name="RegSingle"></a> Register a single SQL Server instance
1012
It's required that at least one SQL Server instance is registered in order to download an ESU package (if and when available).
1113

12-
> [!IMPORTANT]
13-
> It's not required to register a SQL Server instance for ESUs when running an Azure Virtual Machine that is configured for Automatic Updates. For more information, see [Manage Windows updates by using Azure Automation](https://docs.microsoft.com/azure/automation/automation-tutorial-update-management).
14+
**Important**: It's not required to register a SQL Server instance for ESUs when running an Azure Virtual Machine that is configured for Automatic Updates. For more information, see [Manage Windows updates by using Azure Automation](https://docs.microsoft.com/azure/automation/automation-tutorial-update-management).
1415

1516
### Steps to register an instance
1617
1. To register a new SQL Server instance, click the ***+ Register*** button in the top bar.
@@ -62,8 +63,7 @@ It's required that at least one SQL Server instance is registered in order to do
6263
## <a name="RegBulk"></a> Bulk register SQL Server instances
6364
Bulk registering SQL Server instances to download an ESU package (if and when available) is done through uploading a CSV file.
6465

65-
> [!IMPORTANT]
66-
> It's not required to register SQL Server instances for ESUs when running Azure Virtual Machines that are configured for Automatic Updates. For more information, see [Manage Windows updates by using Azure Automation](https://docs.microsoft.com/azure/automation/automation-tutorial-update-management).
66+
**Important**: It's not required to register SQL Server instances for ESUs when running Azure Virtual Machines that are configured for Automatic Updates. For more information, see [Manage Windows updates by using Azure Automation](https://docs.microsoft.com/azure/automation/automation-tutorial-update-management).
6767

6868
Customers that already have an inventory application that holds the required registration information can generate a CSV file from that inventory, following the the [CSV formatting requirements](#csv) later in this page.
6969

@@ -102,8 +102,7 @@ The CSV file **must** be generated with the following format:
102102

103103
<sup>1</sup> Only for Azure Virtual Machine registrations
104104

105-
> [!TIP]
106-
> For example Powershell scripts that can generate the required SQL Server instance registration information into a CSV file, see [ESU registration script examples](scripts.md).
105+
**Tip**: For example Powershell scripts that can generate the required SQL Server instance registration information into a CSV file, see [ESU registration script examples](scripts.md).
107106

108107
### CSV Example 1 - on-premises
109108

@@ -129,4 +128,4 @@ ServerUS2\SQL02,2008,Enterprise,8,Azure Virtual Machine,61868ab8-16d4-44ec-a9ff-
129128
SalesServer\SQLProdSales,2008 R2,Developer,8,Azure Virtual Machine,61868ab8-16d4-44ec-a9ff-f35d05922847,RG,VM3,2008 R2
130129
```
131130

132-
Refer to [MyAzureVMs.csv](./scripts/MyAzureVMs.csv) for an Azure VM targetted CSV file example.
131+
Refer to [MyAzureVMs.csv](./scripts/MyAzureVMs.csv) for an Azure VM targetted CSV file example.

samples/manage/sql-server-extended-security-updates/registry.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1+
![](./media/solutions-microsoft-logo-small.png)
2+
13
# Create the SQL Server Registry
24
Before being able access the Extended Security Updates (ESU) download area in the Azure portal, the SQL Server instances covered by ESUs must be registered. This ensures that you are able to download an ESU package if and when available.
35

4-
> [!IMPORTANT]
5-
> It's not required to register a SQL Server instance for ESUs when running an Azure Virtual Machine that is configured for Automatic Updates. For more information, see [Manage Windows updates by using Azure Automation](https://docs.microsoft.com/azure/automation/automation-tutorial-update-management).
6+
**Important**: It's not required to register a SQL Server instance for ESUs when running an Azure Virtual Machine that is configured for Automatic Updates. For more information, see [Manage Windows updates by using Azure Automation](https://docs.microsoft.com/azure/automation/automation-tutorial-update-management).
67

78
## <a name="Reg"></a> Prepare to register SQL Server instances
89
To register SQL Server instances, you must first create a SQL Server Registry in the [Azure portal](https://portal.azure.com).
910

10-
> [!NOTE]
11-
> This operation only needs to be done once. After a SQL Server Registry is created, it can be used to register multiple SQL Server instances.
11+
**Note**: This operation only needs to be done once. After a SQL Server Registry is created, it can be used to register multiple SQL Server instances.
1212

1313
### Steps
1414
1. Open the [Azure portal](https://portal.azure.com) and log in.
@@ -49,4 +49,4 @@ To register SQL Server instances, you must first create a SQL Server Registry in
4949

5050
![New Registry Step 9](./media/NewRegistry-Step9.png "New Registry Step 9")
5151

52-
To start registering SQL Server instances, see [Registering SQL Server instances](./register.md).
52+
To start registering SQL Server instances, see [Registering SQL Server instances](./register.md).

samples/manage/sql-server-extended-security-updates/scripts.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![](./media/solutions-microsoft-logo-small.png)
2+
13
# ESU registration script examples
24

35
Microsoft shares example scripts in [T-SQL](#tsql) and [Powershell](#ps) that can generate the required SQL Server instance registration information. The Powershell samples create a CSV file that can be used to bulk register SQL Server instances covered by an ESU subscription.
@@ -34,8 +36,7 @@ SELECT SERVERPROPERTY('ServerName') AS [name],
3436
@Cores AS cores,
3537
@HostType AS hostType;
3638
```
37-
> [!NOTE]
38-
> Verify if the **Host Type** is correct for your SQL Server instance.
39+
**Note**: Verify if the **Host Type** is correct for your SQL Server instance.
3940

4041
## <a name="ps"></a> Powershell
4142

@@ -46,5 +47,4 @@ To collect registration information from **all instances in a single machine**,
4647
4748
To collect registration information from **all instances listed in a text file**, you can use the example Powershell script [EOS_DataGenerator_InputList.ps1](./scripts/EOS_DataGenerator_InputList.ps1). Refer to [ServerInstances.txt](./scripts/ServerInstances.txt) for an input text file example.
4849

49-
> [!NOTE]
50-
> Verify if the **Host Type** is correct for your SQL Server instance before uploading the CSV file.
50+
**Note**: Verify if the **Host Type** is correct for your SQL Server instance before uploading the CSV file.

0 commit comments

Comments
 (0)