Cmdlets for DB2

Build 23.0.8839

Select-DB2 Cmdlet

Parameters   Output Objects  

Searches DB2 data.

Syntax

Select-DB2 [parameters]

Remarks

The Select-DB2 cmdlet allows you to use a syntax similar to SQL SELECT statements to search DB2 data.

$conn = 
Select-DB2 -Connection $conn -Table "`"Sample`".`"DB2INST1`".Books" -Columns @("Id","Author") -Where "Category='US'"

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