You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WITH RESULT SETS ((PackageName nvarchar(250), PackageVersion nvarchar(max) ))
159
159
```
160
160
161
-
For SQL Server 2016 R Services bound to Machine Learning Server 9.3, R Base package should be 3.4.1, RevoScaleR should be 9.3, and you should also have MicrosoftML 9.3.
161
+
For SQL Server 2016 R Services bound to Machine Learning Server 9.3, R Base package should be 3.4.3, RevoScaleR should be 9.3, and you should also have MicrosoftML 9.3.
162
162
163
163
If you added the pre-trained models, the models are embedded in the MicrosoftML library and you can call them through MicrosoftML functions. For more information, see [R samples for MicrosoftML](https://docs.microsoft.com/machine-learning-server/r/sample-microsoftml).
Copy file name to clipboardExpand all lines: docs/connect/ado-net/step-4-connect-resiliently-to-sql-with-ado-net.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,14 +27,14 @@ This topic provides a C# code sample that demonstrates custom retry logic. The r
27
27
Sources of transient faults include:
28
28
29
29
- A brief failure of the networking that supports the Internet.
30
-
- A cloud system might be load balancing its resources at the moment you query sent.
30
+
- A cloud system might be load balancing its resources at the moment your query was sent.
31
31
32
32
33
33
The ADO.NET classes for connecting to your local Microsoft SQL Server can also connect to Azure SQL Database. However, by themselves the ADO.NET classes cannot provide all the robustness and reliability necessary in production use. Your client program can encounter transient faults from which it should silently and gracefully recover and continue on its own.
34
34
35
35
## Step 1: Identify transient errors
36
36
37
-
Your program must distinguish between transient errors versus persistent errors. Transient faults are error conditions that may clear up within a short period of time, such as transient network problems. An example of a persistent error would be, if your program has a misspelling of the target database name - in this case, the "No such database found" error would persist, and has no chance of clearing up within a short period of time.
37
+
Your program must distinguish between transient errors versus persistent errors. Transient errors are error conditions that may clear up within a short period of time, such as transient network problems. An example of a persistent error would be, if your program has a misspelling of the target database name - in this case, the "No such database found" error would persist, and has no chance of clearing up within a short period of time.
38
38
39
39
The list of error numbers that are categorized as transient faults is available at at [Error messages for SQL Database client applications](http://docs.microsoft.com/azure/sql-database/sql-database-develop-error-messages/)
40
40
@@ -266,7 +266,7 @@ There are a variety of ways you can simulate a transient error to test your retr
266
266
267
267
The code sample includes:
268
268
269
-
- A small second class named **TestSqlException**, which a property named **Number**.
269
+
- A small second class named **TestSqlException**, with a property named **Number**.
270
270
-`//throw new TestSqlException(4060);` , which you can uncomment.
271
271
272
272
If you uncomment the throw statement, and recompile, the next run of **RetryAdo2.exe** outputs something similar to the following.
@@ -305,7 +305,7 @@ To prove the code handles persistent errors correctly, rerun the preceding test
305
305
306
306
1. Temporarily add 40615 as another error number to **TransientErrorNumbers**, and recompile.
307
307
2. Set a breakpoint on the line: `new QC.SqlConnectionStringBuilder()`.
308
-
3. Use the *Edit and Continue* feature to purposely misspell the server name, a couple lines below.
308
+
3. Use the *Edit and Continue* feature to purposely misspell the server name, a couple of lines below.
309
309
- Let the program run and come back to your breakpoint.
0 commit comments