Cmdlets for SybaseIQ

Build 24.0.9060

Remove-SybaseIQ Cmdlet

Parameters   Output Objects  

Deletes SybaseIQ data.

Syntax

Remove-SybaseIQ [parameters]

Remarks

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

$conn = Connect-SybaseIQ -User 'myUser' -Password 'myPassword' -Database 'NorthWind' -Server 'myServer'
Remove-SybaseIQ -Connection $conn -Table "[master].[dbo].Products" -Id "22"
The Where parameter can also be used to specify the primary key:
Remove-SybaseIQ -Connection $conn -Table "exTablePowershell;" -Where "Id = 22"
The primary key can also be passed to the cmdlet along the pipeline:
Select-SybaseIQ -Connection $conn -Table [master].[dbo].Products -Where "ProductName = 'Konbu'" | Remove-SybaseIQ

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