mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-13 06:43:17 +00:00
Demo of the -UseMSSQLSyntax parameter
This commit is contained in:
7
Examples/ExcelToSQLInsert/DemoSQLInsert.ps1
Normal file
7
Examples/ExcelToSQLInsert/DemoSQLInsert.ps1
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
Import-Module ..\..\ImportExcel.psd1 -Force
|
||||||
|
|
||||||
|
|
||||||
|
ConvertFrom-ExcelToSQLInsert -TableName "Movies" -Path ".\Movies.xlsx" -ConvertEmptyStringsToNull
|
||||||
|
''
|
||||||
|
'# UseMSSQLSyntax'
|
||||||
|
ConvertFrom-ExcelToSQLInsert -UseMSSQLSyntax -TableName "Movies" -Path ".\Movies.xlsx" -ConvertEmptyStringsToNull
|
||||||
BIN
Examples/ExcelToSQLInsert/Movies.xlsx
Normal file
BIN
Examples/ExcelToSQLInsert/Movies.xlsx
Normal file
Binary file not shown.
Reference in New Issue
Block a user