Cmdlets for MySQL

Build 24.0.9175

OrderBy Parameter (Select-MySQL Cmdlet)

The order in which columns will be returned.

Syntax

Select-MySQL -OrderBy string

Remarks

The order in which columns will be returned. The value of this parameter has the same syntax as the ORDER BY clause of an SQL statement. You can specify multiple columns and the order to sort each by in a comma-separated list.

Select-MySQL -Connection $connection -Table "Orders" -Columns "ShipCity ASC" -Where "ShipCountry = 'USA'"

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175