Viewing 15 posts - 211 through 225 (of 434 total)
Unfortunately the list only comes one way, in bulk. Since there are updates and adds in both the DNC and the customer table it was easier to just compare...
October 2, 2007 at 3:38 pm
Ninja's_RGR'us (10/2/2007)
Agreed, but we don't have enough details to call bullshit... yet.
It is the National Do Not Call List designeed by a Federal Agency that we are forced to use...
October 2, 2007 at 3:06 pm
The cost to have it in during the import is about an hour of extra load time I am told. I haven't seen this for myself. I will test...
October 2, 2007 at 3:05 pm
I thought that was the case but originally the table had no index or PK. I added the PK and it did nothing to speed up my query. ...
October 2, 2007 at 2:23 pm
Here is the return 0 part
case when
(DATEDIFF(minute,RequestDate+RequestTime,ResponseDate+ResponseTime) - @Max_ResponseTime) > 0 then
(DATEDIFF(minute,RequestDate+RequestTime,ResponseDate+ResponseTime) - @Max_ResponseTime) * @Fine_Per_Min
else 0 end as Fine
October 2, 2007 at 9:28 am
Yeah, I just tested the update and it only took 5 minutes 40 seconds.
October 2, 2007 at 7:43 am
I ran this test changing my update to a select
--old query with Steve's suggestion for the date parameter and Chris's suggestion to remove one of the nests.
begin
declare @dt datetime
select @dt...
October 2, 2007 at 7:19 am
the group by created the single line, the aggregate max() told it which value to show in the single line because each row would have either a grade or a...
October 1, 2007 at 7:15 pm
most likely they will alll be unique but since you are grouping you must use an aggregate. I usually default to max but you could use min. If your...
October 1, 2007 at 5:17 pm
I have done this with 360 columns and it works. You will not be able to use the dynamic solutions on the boeard because your select will run over...
October 1, 2007 at 3:27 pm
Wow, you are editng your posts faster than I can ask my questions.
Does the event_id in td relate to the event id in the course list?
If no one...
October 1, 2007 at 2:59 pm
How does the course list relate to the people list? Where are you getting their grade from? How do you know who took what course?
October 1, 2007 at 2:54 pm
no, but we need to know what the columns are in the tables you are pulling data from to tell you how to solve the problem.
October 1, 2007 at 2:42 pm
Can you post the create statements for your tables?
October 1, 2007 at 2:37 pm
Chris, I think you are right that I could get rid of a nest by removing the extra fields. I will give it a test. I also think a...
October 1, 2007 at 2:04 pm
Viewing 15 posts - 211 through 225 (of 434 total)