hello!

We are trying to figure out how to do something like the "from values" part 
of this SO answer in sequel: https://stackoverflow.com/a/18799497

update test as t set
    column_a = c.column_a
from (values
    ('123', 1),
    ('345', 2)  
) as c(column_b, column_a) 
where c.column_b = t.column_b;

I can't, for the life of me, figure out how to make `from values` (let 
alone `as`) work together.

Thanks for your help,

-Ben

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/10e9ffe9-7408-431f-9c74-389e9c915737n%40googlegroups.com.

Reply via email to