Viewing 15 posts - 22,696 through 22,710 (of 26,486 total)
Phil Factor (2/2/2009)
Steve, you're supposed to be on holiday!
Typical geek, can't stay away. I should know, I do the same thing here, even when away I check on things.
February 2, 2009 at 9:57 am
rbarrera (2/2/2009)
USE DATABASE [YOURDB] DELETE FROM YOURTABLE WHERE COLUMNNAME = mytextfilelist.txt
and here I have a text file...
February 2, 2009 at 9:54 am
Confused I am. Your original question stated that developers currently run multiple windows resulting in the CPU jumping to 100%. If they serialize those updates, it should help.
February 2, 2009 at 9:50 am
update dbo.table1 set
col1 = some_value;
update dbo.table2 set
col1 = another_value;
update dbo.table3 set
col1 = and-another_value;
The three updates above will run...
February 2, 2009 at 9:43 am
Mike Levan (2/2/2009)
Developers run updates queries on multiple databases at once, like if they need to update 3 databases they open 3 windows and run the queries simultaneously...
February 2, 2009 at 9:34 am
I agree with Jeff. Same thing with emails. Last employer I worked at people would send an email with error details in the subject line to the help...
February 2, 2009 at 9:33 am
Mike Levan (2/2/2009)
the batch processing trick worked well with me and asavd lot of time. thank you. From your query does the @@rowcount gives the number records updated, do u...
February 2, 2009 at 9:13 am
alim.shaikh (1/31/2009)
I think first n foremost thing u need is to have proper indexes in place.
I want to know which sql server u r using. it is a very...
February 2, 2009 at 9:09 am
Jon (2/2/2009)
Cheers
Does this mean your problem has been solved?
February 2, 2009 at 7:13 am
Amazing how many problems seem to be solved using the running totals approach at times. 🙂
January 30, 2009 at 11:09 pm
Jeff Moden (1/30/2009)
January 30, 2009 at 11:04 pm
longobardia (1/30/2009)
Pretty nifty query. It actually works if you change the following:
group by
tT.employeeid,
tT.TranDte
having
max(ah.updatedate) <= TranDte
)
If you run...
January 30, 2009 at 3:23 pm
Here is the code I was working with. Please see if any of it helps you out.
Edit: For some reason, I can't cut and paste code from SSMS...
January 30, 2009 at 2:48 pm
Also, I don't have an employee table or sample data. We could use that as well to help you with your query.
Be sure to include any indexes that are...
January 30, 2009 at 2:19 pm
I'm not adding any data to your sample data provided. I don't fully understand your business rules and would prefer you add the data and provide the expected results...
January 30, 2009 at 2:16 pm
Viewing 15 posts - 22,696 through 22,710 (of 26,486 total)