Cmdlets for DB2

Build 23.0.8839

OrderBy Parameter (Select-DB2 Cmdlet)

The order in which columns will be returned.

Syntax

Select-DB2 -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-DB2 -Connection $connection -Table "Books" -Columns "Author ASC" -Where "Category = 'US'"

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839