My guess is your match isn't returning anything.   Try just returning them
first and let me know how it goes.
On Apr 29, 2014 7:25 PM, "William Sharp" <[email protected]> wrote:

>
> I have products with dates I want to update in a batch operation. here is
> part of the cypher I am using and it is not working:
>
> match (p { Date:9102013 }) set p.Date = '9/10/2013' with p
> match (p { Date:9302013 }) set p.Date = '9/30/2013' with p
> match (p { Date:1092013 }) set p.Date = '1/0/2013' with p
> match (p { Date:1292013 }) set p.Date = '1/2/2013' with p
> match (p { Date:6182013 }) set p.Date = '6/18/2013' with p
> match (p { Date:9202013 }) set p.Date = '9/20/2013' with p
> match (p { Date:4262013 }) set p.Date = '4/26/2013' with p
> match (p { Date:4162013 }) set p.Date = '4/16/2013' with p
> match (p { Date:1142013 }) set p.Date = '1/1/2013' with p
> match (p { Date:9252013 }) set p.Date = '9/25/2013' with p
> match (p { Date:1151900 }) set p.Date = '1/1/1900' with p
> match (p { Date:4112013 }) set p.Date = '4/11/2013' with p
> match (p { Date:1242013 }) set p.Date = '1/2/2013' with p
> match (p { Date:10142013 }) set p.Date = '10/14/2013' with p
> match (p { Date:5202013 }) set p.Date = '5/20/2013' with p
> match (p { Date:212013 }) set p.Date = '2/12/2013' with p
> match (p { Date:10292013 }) set p.Date = '10/29/2013' with p
> match (p { Date:262013 }) set p.Date = '2/6/2013' with p
> match (p { Date:10242013 }) set p.Date = '10/24/2013' with p
> match (p { Date:312013 }) set p.Date = '3/12/2013' with p
> match (p { Date:5102013 }) set p.Date = '5/10/2013' with p
> match (p { Date:2282013 }) set p.Date = '2/28/2013' with p
> match (p { Date:5302013 }) set p.Date = '5/30/2013' with p
> match (p { Date:5152013 }) set p.Date = '5/15/2013' with p
> match (p { Date:362013 }) set p.Date = '3/6/2013' return p;
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to