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

  • 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!!!