How to combine a node property first name and node property last name into on property full name

Trying to combine two separate name properties of one node to a "combined" node. Suggestions to the solutions are appreciated

Hi,

I don't understand exactly if you want to add a new property to existing node or create a new node.

In case 1:

MATCH (c)
WITH c
SET c.fullName = c.name + " " + c.lastName

In case 2:

MATCH (c)
WITH c
CREATE (cc:LabelCopy {fullName: c.name + " " + c.lastName})
1 Like