Home Forums Programming Powershell How to find number of columns returned from query in powershell RE: How to find number of columns returned from query in powershell
Gary Varga
SSC Guru
Points: 82166
More actions
July 25, 2014 at 4:20 am
#1732308
I am sorry but I am away from SQL Server access but isn't the following valid:
$QueryResults.Columns.Count
Gaz
-- Stop your grinnin' and drop your linen...they're everywhere!!!