Remove-SAPHANA Cmdlet
Deletes SAP HANA data.
Syntax
Remove-SAPHANA [parameters]
Remarks
The Remove-SAPHANA cmdlet allows you to use a syntax similar to SQL DELETE statements to delete SAP HANA data.
$conn = Connect-SAPHANA -User 'system' -Password 'myPassword' -Database 'systemdb' -Server 'myServer' Remove-SAPHANA -Connection $conn -Table "`"SYSTEMDB`".`"DEMO`".Products" -Id "22"The Where parameter can also be used to specify the primary key:
Remove-SAPHANA -Connection $conn -Table "exTablePowershell;" -Where "Id = 22"The primary key can also be passed to the cmdlet along the pipeline:
Select-SAPHANA -Connection $conn -Table "SYSTEMDB"."DEMO".Products -Where "ProductName = 'Konbu'" | Remove-SAPHANA