d4885c9b322d68ba5525e5770dab535acf8c9a01
API/CodeSamples/1-Million-Record-View.md
| ... | ... | @@ -8,10 +8,9 @@ Below is the SQL sample to create a View with 1 million records using the Northw |
| 8 | 8 | ## What To Change |
| 9 | 9 | |
| 10 | 10 | |
| 11 | -'''python |
|
| 11 | +```c# |
|
| 12 | 12 | DECIMAL(18,6) to NUMERIC(22,8): |
| 13 | 13 | List<KeyValuePair<string, string>> typeOverrides = AdHocContext.Driver.NativeTypesOverrides; |
| 14 | -''' |
|
| 15 | 14 | for (int i = 0; i < typeOverrides.Count; i++) |
| 16 | 15 | if (typeOverrides[i].Key == "Decimal") |
| 17 | 16 | { |
| ... | ... | @@ -20,7 +19,7 @@ for (int i = 0; i < typeOverrides.Count; i++) |
| 20 | 19 | } |
| 21 | 20 | AdHocContext.Driver.NativeTypesOverrides = typeOverrides; |
| 22 | 21 | |
| 23 | -''' |
|
| 22 | +``` |
|
| 24 | 23 | |
| 25 | 24 | ##SQL Server |
| 26 | 25 |