Remove-OracleOci Cmdlet
Deletes Oracle OCI data.
Syntax
Remove-OracleOci [parameters]
Remarks
The Remove-OracleOci cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Oracle OCI data.
$conn = Connect-OracleOci -User 'myUser' -Password 'myPassword' -Database 'NorthWind' -Server 'myServer' Remove-OracleOci -Connection $conn -Table "`"CData`".`"SYSTEM`".Customers" -Id "1"The Where parameter can also be used to specify the primary key:
Remove-OracleOci -Connection $conn -Table "exTablePowershell;" -Where "Id = 1"The primary key can also be passed to the cmdlet along the pipeline:
Select-OracleOci -Connection $conn -Table "CData"."SYSTEM".Customers -Where "Country = 'US'" | Remove-OracleOci