Re: [GENERAL] "Pretend" update

2013-10-01 Thread Victor Yegorov
2013/10/1 Perry Smith > > On Oct 1, 2013, at 12:23 PM, Adrian Klaver > wrote: > > > Assuming you are not doing this in a function, you can. Do UPDATE, then > SELECT to see your changes or not and then ROLLBACK. > > Ah... yes. I forgot you can see the changes within the same transaction. > Dohh

Re: [GENERAL] "Pretend" update

2013-10-01 Thread Perry Smith
On Oct 1, 2013, at 12:23 PM, Adrian Klaver wrote: > On 10/01/2013 10:16 AM, Perry Smith wrote: >> With "make" I can do "make -n" and it just tells me what it would do but >> doesn't actually do anything. >> >> How could I do that with SQL? >> >> I want to write a really complicated (for me) S

Re: [GENERAL] "Pretend" update

2013-10-01 Thread Adrian Klaver
On 10/01/2013 10:16 AM, Perry Smith wrote: With "make" I can do "make -n" and it just tells me what it would do but doesn't actually do anything. How could I do that with SQL? I want to write a really complicated (for me) SQL UPDATE statement. I'm sure I won't get it right the first time. I

[GENERAL] "Pretend" update

2013-10-01 Thread Perry Smith
With "make" I can do "make -n" and it just tells me what it would do but doesn't actually do anything. How could I do that with SQL? I want to write a really complicated (for me) SQL UPDATE statement. I'm sure I won't get it right the first time. Is there an easy way to not really make the c