Remove-SAPHanaXSA Cmdlet
Deletes SAP HANA XSA data.
Syntax
Remove-SAPHanaXSA [parameters]
Remarks
The Remove-SAPHanaXSA cmdlet allows you to use a syntax similar to SQL DELETE statements to delete SAP HANA XSA data.
$conn = Connect-SAPHanaXSA -OAuthClientID "MyOAuthClientID" -OAuthClientSecret "MyOAuthClientSecret" -URL "https://hxehost:51027/euro.xsodata" -CallbackURL "http://localhost:33333" Remove-SAPHanaXSA -Connection $conn -Table "SampleTable" -Id "6"The Where parameter can also be used to specify the primary key:
Remove-SAPHanaXSA -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"The primary key can also be passed to the cmdlet along the pipeline:
Select-SAPHanaXSA -Connection $conn -Table SampleTable -Where "Column2 = 'Bob'" | Remove-SAPHanaXSA