Home Forums SQL Server 2008 SQL Server 2008 - General Powershell - Convert Null Value to 0 RE: Powershell - Convert Null Value to 0
Steve Jones - SSC Editor
SSC Guru
Points: 734459
More actions
April 30, 2016 at 12:15 pm
#1875767
powershell?[int] $a = [System.Management.Automation.Language.NullString]::Value
$a -eq $null
from https://www.codykonior.com/2013/10/17/checking-for-null-in-powershell/