The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

davide.bartolucci2 (1) [Avatar] Offline
I need urgent help.
I wish I could make a recursive query to update:

UPDATE table
SET rast = ST_SetValue (rast, 1, x, y, 0)

where x and y are generated automatically.
es: generate_series (1,100) as x, generate_series (1,100) as y.
My problem is that in the many cases that I have tried, it only updates the first row, with x = 1 and y = 1.
help me.