Skip to content

Commit a65541b

Browse files
committed
Update Json file for SqlServerDataset
1 parent b8d5c98 commit a65541b

File tree

1 file changed

+13
-20
lines changed

1 file changed

+13
-20
lines changed

articles/data-factory/tutorial-hybrid-copy-powershell.md

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -432,31 +432,24 @@ In this step, you define a dataset that represents data in the SQL Server databa
432432
1. Create a JSON file named *SqlServerDataset.json* in the *C:\ADFv2Tutorial* folder, with the following code:
433433
```json
434434
{
435+
"name":"SqlServerDataset",
435436
"properties":{
436-
"type":"SqlServerTable",
437-
"typeProperties":{
438-
"tableName":"dbo.emp"
439-
},
440-
"structure":[
441-
{
442-
"name":"ID",
443-
"type":"String"
444-
},
445-
{
446-
"name":"FirstName",
447-
"type":"String"
448-
},
449-
{
450-
"name":"LastName",
451-
"type":"String"
452-
}
453-
],
454437
"linkedServiceName":{
455438
"referenceName":"EncryptedSqlServerLinkedService",
456439
"type":"LinkedServiceReference"
440+
},
441+
"annotations":[
442+
443+
],
444+
"type":"SqlServerTable",
445+
"schema":[
446+
447+
],
448+
"typeProperties":{
449+
"schema":"dbo",
450+
"table":"emp"
457451
}
458-
},
459-
"name":"SqlServerDataset"
452+
}
460453
}
461454
```
462455

0 commit comments

Comments
 (0)