Viewing 5 posts - 1 through 5 (of 5 total)
Peso (4/25/2008)
And since OP used a correlated subquery in his original post, I had to raise a flag for this...
April 25, 2008 at 8:39 am
Peso (4/25/2008)
The correlated subquery might return NULL if there is no match.
UPDATEmt
SETmt.FKID = x.FKID
FROMMyTable AS mt
LEFT JOINMyFK2Table AS x ON x.ID...
April 25, 2008 at 6:03 am
GilaMonster (4/25/2008)
Great. There's just one thing I wanna know...How fast was it?
Well, I exited the previous query with 1.4 million rows left to do (instead of 8.4 million originally).
It took...
April 25, 2008 at 6:00 am
Many thanks! I went with GilaMonster's query and it's scary how fast it was.
I thought there may be some issue doing a join on 8 million rows of two wide...
April 25, 2008 at 4:34 am
Amazing! I really wasn't holding out much hope as the symptoms they had were somewhat different to mine, but the following line did it:
ALTER AUTHORIZATION ON DATABASE::[dbname] TO [sa];
Many thanks...
November 29, 2007 at 3:08 am
Viewing 5 posts - 1 through 5 (of 5 total)