Viewing 9 posts - 1 through 9 (of 9 total)
I wasn't as concerned with the random data generation as I was with the queries for the actual data. Thank you though as it is much better. I tried it...
July 6, 2019 at 2:20 am
After some larger data set testing I found the solution above does not work for all data sets. Mainly those with duplicate active_dates for an account_id. I also got several...
July 4, 2019 at 8:05 pm
That does work, however, I didn't mention that there is an older environment where this needs to run and LAG is not available.
I did get a pre-LAG solution that works....
July 3, 2019 at 4:03 pm
Finally, something that worked! Thanks!
April 5, 2017 at 9:35 pm
Do you have some screen shots? In TFS Pro 2013 when a .sql file is right-clicked there is no Open With...
April 4, 2017 at 5:56 am
I am having the same problem with SSMS 2012. Unfortunately, sqlwb.sql.9.0 is not for SSMS 2012 so the above will not work.
Does anyone have a solution for SSMS 2012?
July 8, 2014 at 9:11 am
I should have mentioned there is a numbers table (referred to as a tally table here) in the database already. I'll modify the examples to use that instead.
My initial...
January 30, 2014 at 7:54 am
Chris,
Just finished reading the Tally table article and it seems to be exactly what I was looking for!
Thanks alot!
John G.
December 2, 2008 at 12:22 pm
Chris,
No, I have never worked with a tally table. Can you explain what it is?
Is it possibly a table of all possible dates?
Thanks,
John G.
December 2, 2008 at 11:32 am
Viewing 9 posts - 1 through 9 (of 9 total)