We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


How to use concat with a specific column like a@b — Vertica Forum

How to use concat with a specific column like a@b

Comments

  • vsql=> select * from KeyValue;
    key | value
    -----+-------
    a | 1
    b | 2
    c | 3
    (3 rows)

    vsql=> select concat(key, value) from KeyValue;
    concat
    --------
    a1
    b2
    c3
    (3 rows)

    vsql=> select key || value from KeyValue;
    ?column?
    ----------
    a1
    b2
    c3
    (3 rows)

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file