Skip to content

Commit 2b5927b

Browse files
committed
Adding Acrolinx scan suggestions.
1 parent c5f9949 commit 2b5927b

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

data-migration/sql-server/managed-instance/assessment-rules.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This article provides a list of the rules used to assess the feasibility of migr
4545
| `NextColumn` | Database | Issue | [Tables and Columns named NEXT lead to an error In Azure SQL Managed Instance.](#NextColumn) |
4646
| `NonANSILeftOuterJoinSyntax` | Database | Warning | [Non-ANSI style left outer join is no longer supported and has been removed.](#NonANSILeftOuterJoinSyntax) |
4747
| `NonANSIRightOuterJoinSyntax` | Database | Warning | [Non-ANSI style right outer join is no longer supported and has been removed.](#NonANSIRightOuterJoinSyntax) |
48-
| `NumDbExceeds100` | Instance | Warning | [Azure SQL Managed Instance supports a maximum of 500 databases per instance.](#NumDbExceeds100) |
48+
| `NumDbExceeds500` | Instance | Warning | [Azure SQL Managed Instance supports a maximum of 500 databases per instance.](#NumDbExceeds500) |
4949
| `OpenRowsetWithNonBlobDataSourceBulk` | Database | Issue | [OpenRowSet used in bulk operation with non-Azure blob storage data source isn't supported in Azure SQL Managed Instance.](#OpenRowsetWithNonBlobDataSourceBulk) |
5050
| `OpenRowsetWithNonSQLProvider` | Database | Issue | [OpenRowSet with non-SQL provider isn't supported in Azure SQL Managed Instance.](#OpenRowsetWithNonSQLProvider) |
5151
| `PowerShellJob` | Instance | Warning | [PowerShell job step isn't supported in Azure SQL Managed Instance.](#PowerShellJob) |
@@ -64,7 +64,7 @@ This article provides a list of the rules used to assess the feasibility of migr
6464
**Category**: Warning
6565

6666
**Description**
67-
It is a job step that runs an Analysis Services command. AnalysisCommand job step isn't supported in Azure SQL Managed Instance.
67+
It's a job step that runs an Analysis Services command. AnalysisCommand job step isn't supported in Azure SQL Managed Instance.
6868

6969
**Recommendation**
7070
Review affected objects section in Azure Migrate to see all jobs using Analysis Service Command job step and evaluate if the job step or the affected object can be removed. Alternatively, migrate to SQL Server on Azure VMs.
@@ -77,7 +77,7 @@ More information: [SQL Server Agent differences in Azure SQL Managed Instance](/
7777
**Category**: Warning
7878

7979
**Description**
80-
It is a job step that runs an Analysis Services query. AnalysisQuery job step isn't supported in Azure SQL Managed Instance.
80+
It's a job step that runs an Analysis Services query. AnalysisQuery job step isn't supported in Azure SQL Managed Instance.
8181

8282
**Recommendation**
8383
Review affected objects section in Azure Migrate to see all jobs using Analysis Service Query job step and evaluate if the job step or the affected object can be removed. Alternatively, migrate to SQL Server on Azure VMs.
@@ -230,7 +230,7 @@ More information: [Discontinued Database Engine Functionality in SQL Server](/pr
230230
The FILESTREAM feature, which allows you to store unstructured data such as text documents, images, and videos in NTFS file system, isn't supported in Azure SQL Managed Instance. **This database can't be migrated as the backup containing FILESTREAM filegroups can't be restored on Azure SQL Managed Instance.**
231231

232232
**Recommendation**
233-
Upload the unstructured files to Azure Blob storage and store metadata related to these files (name, type, URL location, storage key etc.) in Azure SQL Managed Instance. You might have to re-engineer your application to enable streaming blobs to and from Azure SQL Managed Instance. Alternatively, migrate to SQL Server on Azure VMs.
233+
Upload the unstructured files to Azure Blob storage and store metadata related to these files (name, type, URL location, storage key, etc.) in Azure SQL Managed Instance. You might have to re-engineer your application to enable streaming blobs to and from Azure SQL Managed Instance. Alternatively, migrate to SQL Server on Azure VMs.
234234

235235
More information: [Streaming Blobs To and From SQL Azure blog](https://azure.microsoft.com/blog/streaming-blobs-to-and-from-sql-azure/)
236236

@@ -269,11 +269,11 @@ Alternatively, migrate to SQL Server on Azure VMs.
269269
Linked servers enable the SQL Server Database Engine to execute commands against OLE DB data sources outside of the instance of SQL Server. Linked server with non-SQL Server Provider isn't supported in Azure SQL Managed Instance.
270270

271271
**Recommendation**
272-
Azure SQL Managed Instance doesn't support linked server functionality if the remote server provider is non-SQL Server like Oracle, Sybase etc.
272+
Azure SQL Managed Instance doesn't support linked server functionality if the remote server provider is non-SQL Server like Oracle, Sybase, etc.
273273

274274
The following actions are recommended to eliminate the need for linked servers:
275275

276-
- Identify the dependent databases from remote non-SQL servers and consider moving these into the database being migrated.
276+
- Identify the dependent databases from remote non-SQL servers and consider moving them into the database being migrated.
277277
- Migrate the dependent databases to supported targets like SQL Managed Instance, SQL Database, Azure Synapse, and SQL Server instances.
278278
- Consider creating linked server between Azure SQL Managed Instance and SQL Server on Azure Virtual Machines (SQL VM). Then from the SQL VM, create a linked server to Oracle, Sybase, etc. This approach does involve two hops but can be used as temporary workaround.
279279
- Alternatively, migrate to SQL Server on Azure VMs.
@@ -286,7 +286,7 @@ More information: [Linked Server differences in Azure SQL Managed Instance](/azu
286286
**Category**: Warning
287287

288288
**Description**
289-
It is a job step that activates the replication Merge Agent. The Replication Merge Agent is a utility executable that applies the initial snapshot held in the database tables to the Subscribers. It also merges incremental data changes that occurred at the Publisher after the initial snapshot was created, and reconciles conflicts either according to the rules you configure, or using a custom resolver you create. Merge job step isn't supported in Azure SQL Managed Instance.
289+
It's a job step that activates the replication Merge Agent. The Replication Merge Agent is a utility executable that applies the initial snapshot held in the database tables to the Subscribers. It also merges incremental data changes that occurred at the Publisher after the initial snapshot was created, and reconciles conflicts either according to the rules you configure, or using a custom resolver you create. Merge job step isn't supported in Azure SQL Managed Instance.
290290

291291
**Recommendation**
292292
Review affected objects section in Azure Migrate to see all jobs using Merge job step and evaluate if the job step or the affected object can be removed. Alternatively, migrate to SQL Server on Azure VMs.
@@ -373,7 +373,7 @@ More information: [Discontinued Database Engine Functionality in SQL Server](/pr
373373
**Recommendation**
374374
Use ANSI join syntax.
375375

376-
## <a id="NumDbExceeds100"></a> Databases exceed 100
376+
## <a id="NumDbExceeds500"></a> Databases exceed 500
377377

378378
**Title: Azure SQL Managed Instance supports a maximum of 500 databases per instance.**
379379
**Category**: Warning
@@ -410,7 +410,7 @@ This method is an alternative to accessing tables in a linked server and is a on
410410
**Recommendation**
411411
OPENROWSET function can be used to execute queries only on SQL Server instances (either managed, on-premises, or in Virtual Machines). The providers `SQLNCLI`, `SQLNCLI11`, `SQLOLEDB`, and `MSOLEDBSQL` (recommended) are supported. The [Microsoft OLE DB Driver for SQL Server](/sql/connect/oledb/oledb-driver-for-sql-server) is recommended for new development.
412412

413-
The recommendation action is to identify the dependent databases from remote non-SQL Servers, and consider moving these into the instance being migrated.
413+
The recommendation action is to identify the dependent databases from remote non-SQL Servers, and consider moving them into the instance being migrated.
414414

415415
More information: [Bulk Insert and OPENROWSET differences in Azure SQL Managed Instance](/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#bulk-insert--openrowset)
416416

@@ -420,7 +420,7 @@ More information: [Bulk Insert and OPENROWSET differences in Azure SQL Managed I
420420
**Category**: Warning
421421

422422
**Description**
423-
It is a job step that runs a PowerShell script. PowerShell job step isn't supported in Azure SQL Managed Instance.
423+
It's a job step that runs a PowerShell script. PowerShell job step isn't supported in Azure SQL Managed Instance.
424424

425425
**Recommendation**
426426
Review affected objects section in Azure Migrate to see all jobs using PowerShell job step and evaluate if the job step or the affected object can be removed. Evaluate if Azure Automation can be used. Alternatively, migrate to SQL Server on Azure VMs.
@@ -433,7 +433,7 @@ More information: [SQL Server Agent differences in Azure SQL Managed Instance](/
433433
**Category**: Warning
434434

435435
**Description**
436-
It is a job step that activates the replication Queue Reader Agent. The Replication Queue Reader Agent is an executable that reads messages stored in a Microsoft SQL Server queue or a Microsoft Message Queue and then applies those messages to the Publisher. Queue Reader Agent is used with snapshot and transactional publications that allow queued updating. Queue Reader job step isn't supported in Azure SQL Managed Instance.
436+
It's a job step that activates the replication Queue Reader Agent. The Replication Queue Reader Agent is an executable that reads messages stored in a Microsoft SQL Server queue or a Microsoft Message Queue and then applies those messages to the Publisher. Queue Reader Agent is used with snapshot and transactional publications that allow queued updating. Queue Reader job step isn't supported in Azure SQL Managed Instance.
437437

438438
**Recommendation**
439439
Review affected objects section in Azure Migrate to see all jobs using Queue Reader job step and evaluate if the job step or the affected object can be removed. Alternatively, migrate to SQL Server on Azure VMs.
@@ -446,7 +446,7 @@ More information: [SQL Server Agent differences in Azure SQL Managed Instance](/
446446
**Category**: Warning
447447

448448
**Description**
449-
RAISERROR calls like the below example are termed as legacy-style because they don't include the commas and the parenthesis. `RAISERROR 50001 'this is a test'`. This method of calling RAISERROR is no longer supported and removed in Azure SQL Managed Instance.
449+
RAISERROR calls like this example are termed as legacy-style because they don't include the commas and the parenthesis. `RAISERROR 50001 'this is a test'`. This method of calling RAISERROR is no longer supported and removed in Azure SQL Managed Instance.
450450

451451
**Recommendation**
452452
Rewrite the statement using the current RAISERROR syntax, or evaluate if the modern approach of `BEGIN TRY { } END TRY BEGIN CATCH { THROW; } END CATCH` is feasible.
@@ -455,11 +455,11 @@ More information: [Discontinued Database Engine Functionality in SQL Server](/pr
455455

456456
## <a id="SqlMail"></a> SQL Mail
457457

458-
**Title: SQL Mail has been no longer supported.**
458+
**Title: SQL Mail is no longer supported.**
459459
**Category**: Warning
460460

461461
**Description**
462-
SQL Mail has been no longer supported and removed in Azure SQL Managed Instance.
462+
SQL Mail is no longer supported and removed in Azure SQL Managed Instance.
463463

464464
**Recommendation**
465465
Use Database Mail.
@@ -485,7 +485,7 @@ More information: [Discontinued Database Engine Functionality in SQL Server](/pr
485485
**Category**: Warning
486486

487487
**Description**
488-
It is a job step that runs Transact-SQL scripts at scheduled time. TSQL job step includes unsupported commands, which aren't supported in Azure SQL Managed Instance.
488+
It's a job step that runs Transact-SQL scripts at scheduled time. TSQL job step includes unsupported commands, which aren't supported in Azure SQL Managed Instance.
489489

490490
**Recommendation**
491491
Review affected objects section in Azure Migrate to see all jobs that include unsupported commands in Azure SQL Managed Instance and evaluate if the job step or the affected object can be removed. Alternatively, migrate to SQL Server on Azure VMs.

0 commit comments

Comments
 (0)