Skip to content

Commit 64ac6ba

Browse files
Merge pull request #11 from stgelaisalex/master
Marielou Changes
2 parents b60fbb8 + a7b19c7 commit 64ac6ba

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

docs2/pages/documentations/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ Sets a span of time within the next time the ExpireCache method is invoked to ev
6363

6464
## Configuration.SlidingExpirationDelegate
6565

66-
Sets a span of time within which a delegate must be accessed before it evicted from the cache
66+
Sets a span of time within which a delegate must be accessed before it is evicted from the cache.
6767

6868
## Configuration.SlidingExpirationItem
6969

70-
Sets a span of time within which an item must be accessed before it evicted from the cache
70+
Sets a span of time within which an item must be accessed before it is evicted from the cache.
7171

docs2/pages/documentations/value.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ SELECT SQLNET::New('"ZZZ " + x').ValueString('x', 'Projects').Eval() as Result
3535
```
3636
{% include component-try-it.html href='http://sqlfiddle.com/#!18/009cc/2' %}
3737

38-
For maximum performance, the right Value[Type] should be always used over Val && Value
38+
"For maximum performance, the right Value[Type] should always be used over Val && Value"
3939

4040
## ValueNullable
4141

docs2/pages/getting-started/arithmetic-expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Arithmetic Expressions
22

33
## Definition
4-
An arithmetic expression is an expression that results in a numeric value. Try these examples to see how easy is to resolve an arithmetic expression.
4+
An arithmetic expression is an expression that results in a numeric value. Try these examples to see how easy it is to resolve an arithmetic expression.
55

66
Eval SQL.NET is a complete C# runtime compiler which honor operator precedence and parenthesis.
77

docs2/pages/getting-started/licensing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ BEGIN
3030
END
3131
```
3232

33-
*We recommend to always re-install the Eval-SQL.NET Script after enabling the license to ensure everything work if the server restart.*
33+
_We recommend to always re-install the Eval-SQL.NET Script after enabling the license to ensure everything works if the server restart._
3434

3535
You can verify if the license is valid with the following command:
3636

docs2/pages/getting-started/split-text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Improve performance and capability for splitting text with an easy to use split
88
- Split text using a regular expression
99
- Include row index
1010

11-
You probably already had to use the fn_split function in the past to split a string with a delimiter. They exists hundreds of variance for this function which are limited to one delimiter.
11+
You probably already had to use the fn_split function in the past to split a string with a delimiter. Hundreds of variances exist for this function which are limited to one delimiter.
1212

1313
Using C# code and String.Split or Regex.Split, you are no longer limited and can even use LINQ methods!
1414

docs2/pages/troubleshooting/sql-server-eval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Introduction
44

5-
How to evaluate an arithmetic expression in SQL Server is a common subject. There are several reasons why an "Eval" function like JavaScript could be useful in SQL such as evaluating custom report field for a trusted user.
5+
How to evaluate an arithmetic expression in SQL Server is a common subject. There are several reasons why an "Eval" function like JavaScript could be useful in SQL such as evaluating custom report fields for a trusted user.
66

77
Multiple partial solutions exists like using "EXEC(Transact-SQL)" which is limited, cannot be used inside SELECT statement and lead to SQL Injection or using an homemade function which, most of time, fail at supporting simple operator priority and parenthesis.
88

docs2/pages/troubleshooting/sql-server-function.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ FROM dbo.SQLNET_EvalTVF_1(@sqlnet.ValueString('input', @s))
3737

3838
For simple code, SQL syntax may work like a charm but when the code's complexity increases, less SQL is best suited for the job. It is designed to write queries, not to create long spaghetti code. We all have seen some functions that could have been written so much easier using another language like C#.
3939

40-
One of the most common function is probably the fn_split function. It's not that hard to understand but thousands of variance exist and most of them are limited to only one delimiter. Using Eval SQL.NET, the fn_split function takes regular expression to split text which makes it very powerful.
40+
One of the most common function is probably the fn_split function. It's not that hard to understand but thousands of variances exist and most of them are limited to only one delimiter. Using Eval SQL.NET, the fn_split function takes regular expression to split text which makes it very powerful.
4141

4242

4343
## SQL Function - Error handling
@@ -164,7 +164,7 @@ DECLARE @rowAffecteds INT = dbo.fn_modify_table_state(@conn, @sql)
164164

165165
```
166166

167-
Using this feature is highly **NOT RECOMMANDED**.
167+
Using this feature is highly **NOT RECOMMENDED**.
168168

169169
## SQL Function - Run dynamic SQL
170170

@@ -211,11 +211,11 @@ SELECT dbo.fn_Exec_Count('SELECT 1 UNION SELECT 2') as Result
211211

212212
```
213213

214-
Using this feature is highly **NOT RECOMMANDED**.
214+
Using this feature is highly **NOT RECOMMENDED**.
215215

216216
## Conclusion
217217

218218
Eval SQL.NET improve the readability and make the code easier to develop and maintain with C# syntax over complex SQL code.
219219

220-
Even if you are now allowed to make some table modification, we don't recommend using this feature and use a stored procedure instead. Make sure you use the right tool for the right job.
220+
Even if you are now allowed to make some table modifications, we don't recommend using this feature and use a stored procedure instead. Make sure you use the right tool for the right job.
221221

docs2/pages/troubleshooting/sql-server-regex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ FROM dbo.SQLNET_EvalTVF_1(@sqlnet.ValueString('input', @s))
213213

214214
### Discussion
215215

216-
If you are currently using an fn_split User-Defined Functions (UDF), this benchmark will probably make change your mind!
216+
If you are currently using an fn_split User-Defined Functions (UDF), this benchmark will probably make you change your mind!
217217

218218
|Methods |1,000 rows |10,000 rows |100,000 rows |1,000,000 rows |
219219
|:--------- |:--------- |:------------- |:------------- |:------------- |

0 commit comments

Comments
 (0)