Answers for "execute sql stored procedure in powershell"

SQL
0

execute sql stored procedure in powershell

$rrex = Invoke-Sqlcmd -ServerInstance "OurServer" -Database "OurDatabase" -Query "EXEC stpGetData"

foreach ($rrec in $rrex)
{
    if ($rrec.IdVar -notmatch "V-[1-8]{1}")
    {
        $rrec.Id
    }
}
Posted by: Guest on January-27-2021

Code answers related to "execute sql stored procedure in powershell"

Code answers related to "SQL"

Browse Popular Code Answers by Language