Cmdlets for SAP HANA XSA

Build 24.0.9060

Remove-SAPHanaXSA Cmdlet

Parameters   Output Objects  

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

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