From f77cd92b7042bb2e39400a086b1a762eb4829078 Mon Sep 17 00:00:00 2001 From: fvanderhaegen Date: Tue, 30 Apr 2019 15:31:31 +0200 Subject: [PATCH 1/5] Update EPM_Create_Database_Objects.sql --- .../5.0/0Setup Scripts/EPM_Create_Database_Objects.sql | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/samples/features/epm-framework/5.0/0Setup Scripts/EPM_Create_Database_Objects.sql b/samples/features/epm-framework/5.0/0Setup Scripts/EPM_Create_Database_Objects.sql index cdda9126b5..1319b5b60c 100644 --- a/samples/features/epm-framework/5.0/0Setup Scripts/EPM_Create_Database_Objects.sql +++ b/samples/features/epm-framework/5.0/0Setup Scripts/EPM_Create_Database_Objects.sql @@ -577,7 +577,11 @@ SELECT PolicyHistoryID , EvaluatedServer , EvaluationDateTime , EvaluatedPolicy - , RIGHT(EvaluatedObject, CHARINDEX('\', REVERSE(EvaluatedObject)) - 1) + , CASE WHEN CHARINDEX('\', REVERSE(EvaluatedObject)) >0 + THEN RIGHT(EvaluatedObject,CHARINDEX('\', REVERSE(EvaluatedObject)) - 1) + ELSE EvaluatedObject + END + AS EvaluatedObject , ExceptionMessage , policy_id , CategoryName From 93d89f71c7a96bee93746b18e5c273f416b924eb Mon Sep 17 00:00:00 2001 From: Pedro Lopes Date: Mon, 8 Jul 2019 12:48:09 -0700 Subject: [PATCH 2/5] Update readme.md --- samples/manage/sql-server-extended-security-updates/readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/samples/manage/sql-server-extended-security-updates/readme.md b/samples/manage/sql-server-extended-security-updates/readme.md index fe4c5dbe4a..71831c74ea 100644 --- a/samples/manage/sql-server-extended-security-updates/readme.md +++ b/samples/manage/sql-server-extended-security-updates/readme.md @@ -45,8 +45,7 @@ ESUs will be distributed if and when available, and do not include: ### Support 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. -> [!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. +**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. ### ESU Availability **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. From 663a0e3cb27bb44fc540cd099bbbf6763c4f0cdf Mon Sep 17 00:00:00 2001 From: Pedro Lopes Date: Mon, 8 Jul 2019 12:48:59 -0700 Subject: [PATCH 3/5] Update registry.md --- .../sql-server-extended-security-updates/registry.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/samples/manage/sql-server-extended-security-updates/registry.md b/samples/manage/sql-server-extended-security-updates/registry.md index 12d8e00536..63c75ace03 100644 --- a/samples/manage/sql-server-extended-security-updates/registry.md +++ b/samples/manage/sql-server-extended-security-updates/registry.md @@ -1,14 +1,12 @@ # Create the SQL Server Registry 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. -> [!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). +**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). ## Prepare to register SQL Server instances To register SQL Server instances, you must first create a SQL Server Registry in the [Azure portal](https://portal.azure.com). -> [!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. +**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. ### Steps 1. Open the [Azure portal](https://portal.azure.com) and log in. @@ -49,4 +47,4 @@ To register SQL Server instances, you must first create a SQL Server Registry in ![New Registry Step 9](./media/NewRegistry-Step9.png "New Registry Step 9") - To start registering SQL Server instances, see [Registering SQL Server instances](./register.md). \ No newline at end of file + To start registering SQL Server instances, see [Registering SQL Server instances](./register.md). From 28379e7722fb925dcca58782aef51776bdaeed82 Mon Sep 17 00:00:00 2001 From: Pedro Lopes Date: Mon, 8 Jul 2019 12:49:56 -0700 Subject: [PATCH 4/5] Update register.md --- .../sql-server-extended-security-updates/register.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/samples/manage/sql-server-extended-security-updates/register.md b/samples/manage/sql-server-extended-security-updates/register.md index 05ca6b4fb8..3c5015e826 100644 --- a/samples/manage/sql-server-extended-security-updates/register.md +++ b/samples/manage/sql-server-extended-security-updates/register.md @@ -9,8 +9,7 @@ ## Register a single SQL Server instance It's required that at least one SQL Server instance is registered in order to download an ESU package (if and when available). -> [!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). +**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). ### Steps to register an instance 1. To register a new SQL Server instance, click the ***+ Register*** button in the top bar. @@ -62,8 +61,7 @@ It's required that at least one SQL Server instance is registered in order to do ## Bulk register SQL Server instances Bulk registering SQL Server instances to download an ESU package (if and when available) is done through uploading a CSV file. -> [!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). +**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). 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. @@ -102,8 +100,7 @@ The CSV file **must** be generated with the following format: 1 Only for Azure Virtual Machine registrations -> [!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). +**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). ### CSV Example 1 - on-premises @@ -129,4 +126,4 @@ ServerUS2\SQL02,2008,Enterprise,8,Azure Virtual Machine,61868ab8-16d4-44ec-a9ff- SalesServer\SQLProdSales,2008 R2,Developer,8,Azure Virtual Machine,61868ab8-16d4-44ec-a9ff-f35d05922847,RG,VM3,2008 R2 ``` -Refer to [MyAzureVMs.csv](./scripts/MyAzureVMs.csv) for an Azure VM targetted CSV file example. \ No newline at end of file +Refer to [MyAzureVMs.csv](./scripts/MyAzureVMs.csv) for an Azure VM targetted CSV file example. From 3388812360914c8b92362f0883309a1a3509b1d5 Mon Sep 17 00:00:00 2001 From: pmasl Date: Mon, 8 Jul 2019 15:00:56 -0700 Subject: [PATCH 5/5] Updated EOS docs --- .../media/solutions-microsoft-logo-small.png | Bin 0 -> 2435 bytes .../readme.md | 2 ++ .../register.md | 2 ++ .../registry.md | 2 ++ .../scripts.md | 8 ++++---- 5 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 samples/manage/sql-server-extended-security-updates/media/solutions-microsoft-logo-small.png diff --git a/samples/manage/sql-server-extended-security-updates/media/solutions-microsoft-logo-small.png b/samples/manage/sql-server-extended-security-updates/media/solutions-microsoft-logo-small.png new file mode 100644 index 0000000000000000000000000000000000000000..e0259ce252ef1ed215f40ae9bd6d603be5c17531 GIT binary patch literal 2435 zcmV-}34Hd6P)pF8FWQhbW?9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erh}kDK>~z#%U6U;)86 zr^*6OK&;be0G;Kf;6tDzXn+=m!CIJ%UW?HI0fD{>lC zNT&aD+Rd^-Y#f#WD~j>?U=DM90@X28MIdj2J_l5ke5Q3Y&d^v{@vIXpWKV_45adl| zNcAtl0&pyf){!9*1cWTv>fnYG&C*ZA2%|>s*`?!*jZ0f(C?fx_#~gTc)aMXZM5u2hc@3K<{9#Q{^z}!G90F z0yz^p0jiC35UO7soOjdj2Fl@UJ>%_03J3^16&(ubcKSz3UZ+JIkjOH`2}pZSA5P0KSjK4)3F6DS=qMmghR88cCm`^=mwGRtVCw7r3y_9985GbT3VZ=U-}eE^ zSQmB$a=q_uWOqYT;3-275xiIEpH5%Z*dpw>4XW~2*4>kyQ|AV4KKgkvURkmT2jgR z71_~MJOu>3h3ILwu2O~|zl;7}=*P*)$truJkt_98%BuX7t`=A$C*s&k7;DF?>hT3c zn*jMZ_&))ax%(~lpkIb_E|wm20zA#9Zx9`&`p#I#T-~gFw}P$Gf#;n=CHrQcy_PAW ztljSb+4h*`RkObM0KT$JRb{yfnMUb~>WJ?U?uYOJS>I%a$PqW=sF66{_no363WILL zzyWfyWh+qq(N6@|S?B9`(+A#-noBx5PULuG+O-d%o6UHb3J8JmaP;HR_fKiwAG zA [!NOTE] -> Verify if the **Host Type** is correct for your SQL Server instance. +**Note**: Verify if the **Host Type** is correct for your SQL Server instance. ## Powershell @@ -46,5 +47,4 @@ To collect registration information from **all instances in a single machine**, 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. -> [!NOTE] -> Verify if the **Host Type** is correct for your SQL Server instance before uploading the CSV file. +**Note**: Verify if the **Host Type** is correct for your SQL Server instance before uploading the CSV file.