Skip to content

Commit b31ebeb

Browse files
authored
Merge pull request #114309 from SQLSourabh/patch-15
Updated Typos in the document.
2 parents 7919826 + efbe803 commit b31ebeb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-sql-edge/create-stream-analytics-job.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The example below creates an external stream object for the Edge Hub. To create
4848
1. Create an External File Format with format type of JSON.
4949

5050
```sql
51-
Create External file format InputFileFormat1
51+
Create External file format InputFileFormat
5252
WITH (
5353
format_type = JSON,
5454
)
@@ -58,7 +58,7 @@ The example below creates an external stream object for the Edge Hub. To create
5858
2. Create a External Data Source for the IoT Edge Hub. The T-SQL script below create a data source connection to an Edge hub running on the same docker host as SQL Edge.
5959

6060
```sql
61-
CREATE EXTERNAL DATA SOURCE EdgeHubInput3 WITH (
61+
CREATE EXTERNAL DATA SOURCE EdgeHubInput WITH (
6262
LOCATION = 'edgehub://'
6363
)
6464
go
@@ -69,7 +69,7 @@ The example below creates an external stream object for the Edge Hub. To create
6969
```sql
7070
CREATE EXTERNAL STREAM MyTempSensors WITH (
7171
DATA_SOURCE = EdgeHubInput,
72-
FILE_FORMAT = InputFileFormat1,
72+
FILE_FORMAT = InputFileFormat,
7373
LOCATION = N'TemperatureSensors',
7474
INPUT_OPTIONS = N'',
7575
OUTPUT_OPTIONS = N''
@@ -90,7 +90,7 @@ The example below creates an external stream object to the local SQL Edge databa
9090
2. Create a database scoped credential for accessing the SQL Server source. The following example creates a credential to the external data source with IDENTITY = 'username' and SECRET = 'password'.
9191

9292
```sql
93-
CREATE DATABASE SCOPED CREDENTIAL SQLCredential1
93+
CREATE DATABASE SCOPED CREDENTIAL SQLCredential
9494
WITH IDENTITY = '<SQL_Login>', SECRET = '<SQL_Login_PASSWORD>'
9595
go
9696
```
@@ -104,7 +104,7 @@ The example below creates an external stream object to the local SQL Edge databa
104104
```sql
105105
CREATE EXTERNAL DATA SOURCE LocalSQLOutput WITH (
106106
LOCATION = 'sqlserver://tcp:.,1433'
107-
,CREDENTIAL = SQLCredential1
107+
,CREDENTIAL = SQLCredential
108108
)
109109
go
110110
```
@@ -131,7 +131,7 @@ The example below create a simple streaming job with one streaming query. This q
131131

132132
```sql
133133
EXEC sys.sp_create_streaming_job @name=N'StreamingJob1',
134-
@statement= N'Select * INTO TemperatureMeasurements from MyEdgeHubInput1'
134+
@statement= N'Select * INTO TemperatureMeasurements from MyEdgeHubInput'
135135
```
136136

137137
The example below creates a more complex streaming job with multiple different queries, including a query which uses the in-built AnomalyDetection_ChangePoint function to identify anomalies in the temperature data.

0 commit comments

Comments
 (0)