Forum Discussion

noodles1030's avatar
noodles1030
Copper Contributor
Apr 09, 2024

The given value of type String from the data source cannot be converted to type nvarchar of the spec

Hi, I am creating a date variable and attempting to write that variable to a SQL table. In my PS script, I do this:   $DateTime = $((Get-Date).ToString('yyyy-MM-dd-hh_mm_ss'))   I have tried set...

Resources