Cmdlets for MariaDB

Build 25.0.9539

ReplaceInvalidDatesWithNull Parameter (Connect-MariaDB Cmdlet)

Determines whether or not to replace invalid dates with NULL.

Syntax

Connect-MariaDB -ReplaceInvalidDatesWithNull SwitchParameter

Data Type

bool

Default Value

false

Remarks

When this connection property is enabled, the cmdlet returns a NULL value for fields with invalid dates in query results.

If this connection property is disabled, the cmdlet throws an error when it encounters an invalid date.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539