Cmdlets for Informix

Build 24.0.9060

Remove-Informix Cmdlet

Parameters   Output Objects  

Deletes Informix data.

Syntax

Remove-Informix [parameters]

Remarks

The Remove-Informix cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Informix data.

$conn = 
Remove-Informix -Connection $conn -Table "[informix].Books" -Id "22"
The Where parameter can also be used to specify the primary key:
Remove-Informix -Connection $conn -Table "exTablePowershell;" -Where "Id = 22"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Informix -Connection $conn -Table [informix].Books -Where "Category = 'US'" | Remove-Informix

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