Viewing 15 posts - 48,016 through 48,030 (of 49,571 total)
The group by doesn't sort at all. A table doesn't have any defined order on it. By definition, it's an unordered set of records
When you say max(periodDate) ... group by...
December 19, 2007 at 1:45 pm
alorenzini (12/19/2007)
Basically I need the max periodenddate for each AchieveLevel. Soes ths make sense?
It would, if level 07 wasn't in your desired output 3 times. The max period date is...
December 19, 2007 at 1:15 pm
Check that the compatability mode of the database you're running this in is set to 90
December 19, 2007 at 9:54 am
I can't speak from personal experience w.r.t the DTA, as I've never used it outside a class room. I prefer to tune by hand.
What I have noticed with it is...
December 19, 2007 at 8:05 am
Have you had a look at the queries that are running against that DB? It could be that they are performing sub-optimally, doing more IOs than necessary, resulting in high...
December 19, 2007 at 7:59 am
Not permitted. Not in 2000 or 2005 transactional replication
December 19, 2007 at 7:50 am
What problems are you having with the 90GB db?
If there's nothing else running on the server, set the max memory to around 2.75GB and min to 2 GB
December 19, 2007 at 3:47 am
p1naga (12/17/2007)
Thanks for your suggestion. The query is performing ok.
If its performing OK, then leave the index as it was. A massive, great covering index (especially in SQL 2000) may...
December 19, 2007 at 1:02 am
The guid should be in single quotes, but other than that, I can't see anything wrong. I also can't see a '575' where the error could be near.
Can you post...
December 19, 2007 at 12:56 am
Can you please post the schema of the temp table, and the table you're updating from, as well as some sample data for both and the desired output.
Thanks
December 19, 2007 at 12:51 am
Please don't cross post. It fragments replies and wastes people's time
December 18, 2007 at 6:11 am
Ananth (12/18/2007)
i need to select only the latest 2 invoices for that account so inv4 should not be retrieved.
In the sample data you gave it is one of the latest...
December 18, 2007 at 5:58 am
I don't have a handy copy of express to play with, but you should be able to configure the server's min and max memory settings from management studio express.
In the...
December 18, 2007 at 4:00 am
Viewing 15 posts - 48,016 through 48,030 (of 49,571 total)