PowerShell icon indicating copy to clipboard operation
PowerShell copied to clipboard

Update Write-ObjectToSQL.psm1

Open leogargioni opened this issue 5 years ago • 1 comments

I had an issue where the first row of my $InputObject had some values that were from the DBNull type, and thus were ignored. By performing this update I was able to ignore those and use data from other rows as examples to the script, so that it could identify the correct Type for the column.

leogargioni avatar Jan 30 '21 03:01 leogargioni

Please note I only changed line 621 from the original. All other lines were modified by GitHub web interface because of the line ending. I have also added some comments for the version, which you can definitely change as you prefer.

leogargioni avatar Jan 21 '22 04:01 leogargioni