Skip to content

Commit 1ff9d60

Browse files
authored
Update how-to-sqldb-to-cosmosdb.md
1 parent 22b6ca6 commit 1ff9d60

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/data-factory/how-to-sqldb-to-cosmosdb.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ The resulting CosmosDB container will embed the inner query into a single docume
5555

5656
6. Define the source for "SourceOrderHeader". For dataset, create a new Azure SQL Database dataset that points to the ```SalesOrderHeader``` table.
5757

58+
7. On the top source, add a Derived Column transformation after "SourceOrderDetails". Call the new transformation "TypeCast". We need to round the ```UnitPrice``` column and cast it to a double data type for CosmosDB. Set the formula to: ```toDouble(round(UnitPrice,2))```.
59+
60+
8.
61+
5862
## Next steps
5963

6064
* Build the rest of your data flow logic by using mapping data flows [transformations](concepts-data-flow-overview.md).

0 commit comments

Comments
 (0)