Viewing 15 posts - 1 through 15 (of 66 total)
Thank you all for your replies, next time I'll try to write more properly, sorry!
Yes, I don't care which rows are deleted, I just want to keep one, no matter...
October 5, 2009 at 9:24 am
Oh, i think i misunderstood the delete part :blush:
May 15, 2008 at 8:10 am
Ok the code works, but I don't want to delete records from the source table :ermm:
Do you suggest that I copy all the a temp table , delete from the...
May 15, 2008 at 8:08 am
Hello
I've tried what you suggested, it works, only if the following statement always returns a value
SELECT new_model FROM #product WHERE model = old_model
But in the case where old models don't...
May 15, 2008 at 2:18 am
This is exactly the case! I will try that
Thank you loads!! 🙂
May 13, 2008 at 9:31 am
Exactly! how can i do each statement in a transaction?
May 13, 2008 at 9:03 am
sorry, i replied while u where also posting 😉
Here is another example with more realistic tables and code:
table SOURCE contains clients, with the product they hold (MODEL_NO)
since they manually enter...
May 13, 2008 at 8:57 am
yes, this is what i was doing.
but as i explained, if i have a unique index error, the transaction is rolled back, and the update doesnt take place.
While if i...
May 13, 2008 at 8:48 am
Actually the update statement is a bit more complicated.
Let's say that i get the phone number from another embedded select (that's why i put values likes XXX and YYY).
The purpose...
May 13, 2008 at 8:19 am
well actually, maybe if i give an example it will be clearer: 🙂
I have a clients table where each client has one product.
But sometimes, the product code was entered manually...
May 9, 2008 at 1:48 am
If Andras Belokosztolszki from Red Gate says it's ok, then am ok!
Tx!!:cool:
October 10, 2007 at 3:38 am
:Whistling: yes, I will correct the looks 😉
and yes, recursive trigger option is set off!
tx again!!!
October 8, 2007 at 8:01 am
well actually this query is automatically generated by a software, and i ca't really can customize everything in it.
So i was wondering why there is a difference for the...
October 4, 2007 at 1:19 pm
Thx all for the tips!
osql works great!
August 29, 2007 at 1:31 am
well, seems that the error is due to a wrong export path
D:\backup does not exist , didn't notice that! But i wish i...
August 28, 2007 at 8:58 am
Viewing 15 posts - 1 through 15 (of 66 total)