Cmdlets for DB2

Build 23.0.8770

TruncateString Parameter (Connect-DB2 Cmdlet)

This property specifies whether to truncate characters when INSERT or UPDATE is executed with a string that exceeds the column size.

Syntax

Connect-DB2 -TruncateString SwitchParameter

Data Type

bool

Default Value

false

Remarks

By default it is False, which means if a string value exceeds the columns size, driver throws an exception.

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