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
Copy file name to clipboardExpand all lines: docs/findings/SQLCodeDevelopment.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1938,6 +1938,8 @@ WHERE
1938
1938
1939
1939
**Serial execution:** SQL Server does not allow intra-query parallelism in queries that invoke UDFs.
1940
1940
1941
+
- See: [Refactor SQL Server scalar UDF to inline TVF to improve performance](https://www.mssqltips.com/sqlservertip/4772/refactor-sql-server-scalar-udf-to-inline-tvf-to-improve-performance/)
1942
+
1941
1943
[Back to top](#top)
1942
1944
1943
1945
---
@@ -2635,7 +2637,13 @@ If you are required to use JSON string in the relational database and need to fr
2635
2637
## JSON Performance
2636
2638
**Check Id:** 160 [Not implemented yet. Click here to add the issue if you want to develop and create a pull request.](https://github.com/EmergentSoftware/SQL-Server-Development-Assessment/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=JSON+Performance)
2637
2639
2638
-
If you are required to use JSON strings in the relational database and need to frequent parse the JSON string, create a computed column on the table using `JSON_VALUE(expression, path)` and create an index
2640
+
If you are required to use JSON strings in the relational database and need to frequent parse the JSON string, create a computed column on the table using `JSON_VALUE(expression, path)` and create an index.
2641
+
2642
+
```sql
2643
+
ALTERTABLEdbo.DeliveryInventory ADD MakeName AS JSON_VALUE(JSONAttributes, '$.Make');
2644
+
CREATE NONCLUSTERED INDEX DealerInventory_MakeName ONdbo.DeliveryInventory (MakeName ASC);
0 commit comments