Hub
Pricing About
ComponentComponent

DB Empty String to Null

ajc profile image
Draft Latest edits on 
Nov 4, 2024 10:12 PM
Drag & drop
Like
Use or download
Trims any leading and trailing whitespace from the selected columns.

If the resulting value is an empty string (''), it returns NULL; otherwise, it returns the trimmed value.

This ensures that empty or whitespace-only values in the selected column are treated as NULL rather than as empty strings.

Component details

Input ports
  1. Type: DB Data
    DB Data
    DB Data
Output ports
  1. Type: DB Data
    DB Data
    DB Data

Used extensions & nodes

Created with KNIME Analytics Platform version 5.3.2
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.3.2

    knime
  • Go to item
    KNIME DatabaseTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.3.2

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.3.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.3.2

    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits