Skip to content

Commit 2340489

Browse files
authored
Merge pull request #9202 from LizCasey/v-elicas-2-22-19-sql-acrolinx-fixes
Acrolinx improvements for two articles.
2 parents 0eebf41 + eff8ac7 commit 2340489

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

docs/t-sql/spatial-geography/hasm-geography-data-type.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ manager: craigg
2222
# HasM (geography Data Type)
2323
[!INCLUDE[tsql-appliesto-ss2012-asdb-xxxx-xxx-md](../../includes/tsql-appliesto-ss2012-asdb-xxxx-xxx-md.md)]
2424

25-
Returns 1 (true) if a spatial object contains at least one M value; otherwise, it returns 0 (false).
25+
Returns 1 (true) if a spatial object contains at least one M value; otherwise, it returns 0 (false).
2626

2727
## Syntax
2828

29-
```
29+
```sql
3030

3131
.HasM
3232
```
3333

3434
## Return Types
35-
[!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] return type: **bit**
35+
[!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] return type: **bit**
3636

37-
CLR return type: **Boolean**
37+
CLR return type: **Boolean**
3838

3939
## Remarks
4040

docs/t-sql/spatial-geography/instanceof-geography-data-type.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,39 +22,39 @@ manager: craigg
2222
# InstanceOf (geography Data Type)
2323
[!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md)]
2424

25-
Tests if the **geography** instance is the same as the specified type.
25+
Tests if the **geography** instance is the same as the specified type.
2626

2727
## Syntax
2828

29-
```
29+
```sql
3030

3131
.InstanceOf ( 'geography_type')
3232
```
3333

3434
## Arguments
35-
*geography_type*
36-
Is an **nvarchar(4000)** string specifying one of 16 types exposed in the **geography** type hierarchy.
35+
*geography_type*
36+
The **nvarchar(4000)** string specifying one of 16 types exposed in the **geography** type hierarchy.
3737

3838
## Return Types
39-
[!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] return type: **bit**
39+
[!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] return type: **bit**
4040

41-
CLR return type: **SqlBoolean**
41+
CLR return type: **SqlBoolean**
4242

4343
## Remarks
44-
Returns 1 if the type of a **geography** instance is the same as the specified type, or if the specified type is an ancestor of the instance type; otherwise, returns 0.
44+
Returns 1 if the type of a **geography** instance is the same as the specified type, or if the specified type is an ancestor of the instance type; otherwise, returns 0.
4545

46-
This **geography** data type method supports **FullGlobe** instances or spatial instances that are larger than a hemisphere.
46+
This **geography** data type method supports **FullGlobe** instances or spatial instances that are larger than a hemisphere.
4747

48-
The input for the method must be one of the following: Geometry, Point, Curve, LineString,CircularString, Surface, Polygon, CurvePolygon, **GeometryCollection**, **MultiSurface**, **MultiPolygon, MultiCurve, MultiLineString**, **MultiPoint**, or **FullGlobe**.
48+
The input for the method must be one of these types: Geometry, Point, Curve, LineString, CircularString, Surface, Polygon, CurvePolygon, **GeometryCollection**, **MultiSurface**, **MultiPolygon, MultiCurve, MultiLineString**, **MultiPoint**, or **FullGlobe**.
4949

50-
This method throws an `ArgumentException` if any other strings are used for the input.
50+
This method throws an `ArgumentException` if you use any other strings for the input.
5151

52-
This method is not precise.
52+
This method isn't precise.
5353

5454
## Examples
55-
The following example creates a `MultiPoint` instance and uses `InstanceOf()` to see whether the instance is a `GeometryCollection`.
55+
The following example creates a `MultiPoint` instance and uses `InstanceOf()` to see whether the instance is a `GeometryCollection`.
5656

57-
```
57+
```sql
5858
DECLARE @g geography;
5959
SET @g = geography::STGeomFromText('MULTIPOINT(-122.360 47.656, -122.343 47.656)', 4326);
6060
SELECT @g.InstanceOf('GEOMETRYCOLLECTION');

0 commit comments

Comments
 (0)