Viewing 15 posts - 1 through 15 (of 24 total)
Do you mean a solution similar to what David is suggeting above?
November 11, 2010 at 6:08 pm
Thanks Craig.
This looks interesting; will explore further more.
Thanks for the response.
November 11, 2010 at 5:14 pm
Thanks for the response David.
But I don't really need the MAX value. Instead, what I am looking for is to get the most recent value of any of the properties.
"OOOOOPS"!...
November 11, 2010 at 5:13 pm
Provide the following:
1. object creation scripts
2. sample data
April 15, 2009 at 1:51 pm
April 15, 2009 at 11:41 am
[Quote]
you need to be very thorough
[/Quote]
You got to be kidding, right?
March 28, 2009 at 7:33 pm
There are indexes in batch_id for u58_deal_hist and ucb_exp_hist.
This is a very generic, open-ended question; pretty hard to make any reasonable suggestions with so few details.
Having said that, here...
March 25, 2009 at 7:54 pm
If you haven't already looked into it, you may want to take a look at CTEs. The following may work for you - check it out:
select *
from #locations;
with x(locationid, location,...
March 19, 2009 at 6:21 pm
Hey, Forum! Anyone out there with experience in performing surgery on a live production database ?
Absolutely!!! The operation was successful, but the patient died!
March 19, 2009 at 5:42 pm
You can do this in SQL Server BI Dev Studio for certain; haven't done it in SSMS (don't think it is possible in SSMS).
March 15, 2009 at 1:47 pm
Thank you, much cleaner this way. The data still comes back for each row containing that market code for the given date.
1. Can you post the resultset for this?
2. From...
March 15, 2009 at 1:36 pm
Fair enough; perhaps with 500,000?
BTW, I think I can visualize why the quircky update is the best - although I would like to dig deeper into this one...
Thanks for measuring...
March 13, 2009 at 3:54 pm
If you have not done it already, I think you should kill my query without the index; we have established that it is not the best way to do things...
March 13, 2009 at 3:45 pm
I completely agree with your assesment of my query. I thought I had made that some what clear myself when I said "with the sample dataset"; but I should've been...
March 13, 2009 at 1:00 pm
How long does it take before it times out?
Can you try this:
1. Start two sessions from SMSS (record both the spids)
2. In the first session execute the DELETE statement
3. Is...
March 13, 2009 at 12:54 pm
Viewing 15 posts - 1 through 15 (of 24 total)