Skip to content

Commit f04a35f

Browse files
authored
Merge pull request #5103 from icoric/patch-19
Updated capitalization
2 parents 62446ff + 3f08a0a commit f04a35f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/t-sql/functions/lead-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ GO
6363
SELECT BusinessEntityID, YEAR(QuotaDate) AS SalesYear, SalesQuota AS CurrentQuota,
6464
LEAD(SalesQuota, 1,0) OVER (ORDER BY YEAR(QuotaDate)) AS NextQuota
6565
FROM Sales.SalesPersonQuotaHistory
66-
WHERE BusinessEntityID = 275 and YEAR(QuotaDate) IN ('2005','2006');
66+
WHERE BusinessEntityID = 275 AND YEAR(QuotaDate) IN ('2005','2006');
6767
```
6868

6969
[!INCLUDE[ssResult](../../includes/ssresult-md.md)]
@@ -109,7 +109,7 @@ Northwest 280 1352577.1325 0.00
109109
The following example demonstrates specifying a variety of arbitrary expressions in the LEAD function syntax.
110110

111111
```sql
112-
CREATE TABLE T (a int, b int, c int);
112+
CREATE TABLE T (a INT, b INT, c INT);
113113
GO
114114
INSERT INTO T VALUES (1, 1, -3), (2, 2, 4), (3, 1, NULL), (4, 3, 1), (5, 2, NULL), (6, 1, 5);
115115

0 commit comments

Comments
 (0)