Viewing 15 posts - 151 through 165 (of 183 total)
Bob,
I don't do that because that would include non-business days. the -21 was just a filter to cut off a large portion of the table that wouldnt be used....
October 14, 2009 at 4:10 pm
Understandable.
This is a portion of the select statement using these columns. We will be building reports, and these columns represent the last 14 business days, and they are summarizing...
October 13, 2009 at 3:31 pm
Oh this works fine, I was just trying to get this done in one select statement vs doing a CTE followed up by 14 sub queries.
October 13, 2009 at 2:44 pm
It is an ad hoc query that will be turned into a stored procedure once we weed out the performance issues 🙂
September 24, 2009 at 9:28 am
got it.
I did just that and yes the performance is the exact same.
I did check the execution plan before however, and the Clustered index on the View was...
September 9, 2009 at 2:49 pm
Drop and rebuild the Indexed view so it is just a view? I didn't quite all understand that one 😀
September 9, 2009 at 2:30 pm
We are using SQL Server 2005 Standard Edition.
We have a massive fact table that contains Invoices on a very granular level. The indexed view aggregates much of this into...
September 9, 2009 at 12:33 pm
Thank you for the ino on this guys that helps greatly!
September 9, 2009 at 9:55 am
Yeah I tend to agree with that. I just wanted to make sure my thought process on that was right, or possibly if there were other solutions I wasn't thinking...
August 26, 2009 at 11:24 am
Awesome thank you for the info! I definitely need to read up on this when I get the chance.
August 18, 2009 at 12:44 pm
Sorry for the slow response Bruce, been a busy week!
I use an SSIS ETL process. We have a staging database that gets wiped and reloaded each night from an as400...
August 18, 2009 at 12:24 pm
Awesome thanks Jeffrey. And I guess since you are a SSC Crazy you would know :).
I do admit I need to research more on recovery models, back ups and...
August 13, 2009 at 5:42 pm
Thank you for the help Jeff I appreciate it 😀
August 11, 2009 at 2:05 pm
Here is the code that creates the table. There are no primary keys but here is the create table and index code. (Note on the create table, I did not...
August 10, 2009 at 9:04 am
I am working on a copy I moved into my development environment and before I even started the code I added the indexes I figured were necessary 😉
August 9, 2009 at 7:52 pm
Viewing 15 posts - 151 through 165 (of 183 total)