Viewing 15 posts - 1 through 15 (of 23 total)
Thanks Chris, this is awesome. Will go ahead and include all the other required bits and see how I get on with it.
Thanks
July 23, 2010 at 8:40 am
My apologies Chris, the table has a huge host of columns so had to pick out the relevant ones. I have redone the script and data capture as well.
July 23, 2010 at 3:49 am
Would appreciate your input to this.
Script doesn't quite work. I'm not getting the values expects, getting 0s and nulls. What is wrong?? Have attached attributes for both tables.
SET NOCOUNT ON
DECLARE...
July 22, 2010 at 7:43 am
The problem is with the last part of the script, insert & select. Obvioulsy, as new_cost doesn't exist in the sales table, the calculated data needs to go somewhere in...
July 22, 2010 at 4:39 am
Hi Chris,
Script doesn't quite work. I'm not getting the values expects, getting 0s and nulls. What is wrong?? Have attached attributes for both tables.
SET NOCOUNT ON
DECLARE @income money,
@cost money,...
July 22, 2010 at 4:24 am
Hi Chris,
Does this means I will have to introduce a new column, newcost, to the tmp_hhrsales2 table?
July 22, 2010 at 1:36 am
HAve attached the table attributes which includes indexes. Pls let me know your thoughts.
What do the two changes you've made do, how do they affect the data??
July 21, 2010 at 1:56 am
Don't know why a trigger or any other option was not used, just inherited the package.
Could you give an example script of your idea pls?
July 20, 2010 at 7:28 am
Yes, the clustered index on TransactionID and Date.
I did try Chris' suggestion with the calendar table, it did make a huge difference. Anyway I can optimise it further looking at...
July 20, 2010 at 1:47 am
Viewing 15 posts - 1 through 15 (of 23 total)