Update-SybaseIQ Cmdlet
Updates SybaseIQ data.
Syntax
Update-SybaseIQ [parameters]
Remarks
The Update-SybaseIQ cmdlet allows you to use a syntax similar to SQL UPDATE statements to update SybaseIQ data.
$conn = Connect-SybaseIQ -User 'myUser' -Password 'myPassword' -Database 'NorthWind' -Server 'myServer' Update-SybaseIQ -Connection $conn -Table "[master].[dbo].Products" -Columns @("ProductName") -Values @("Ikura") -Id "22"The Where parameter can also be used to specify the primary key of the table:
Update-SybaseIQ -Connection $conn -Table "[master].[dbo].Products" -Columns @("ProductName") -Values @("Ikura") -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'" | Update-SybaseIQ -Columns @("ProductName") -Values @("Konbu 2")