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