Viewing 15 posts - 3,766 through 3,780 (of 6,035 total)
This reminds me of a discussion from a few months back:
http://www.sqlservercentral.com/Forums/FindPost1673628.aspx
One approach is sliding window table partitioning. The rows can also age off into a ReadOnly partition. All rows can...
June 9, 2015 at 8:34 am
I'm assuming the goal here is to have USD_Sales populated only on the lowest ranked row within a group.
I've found the simplest, most flexible, and often the most performant approach...
June 9, 2015 at 8:16 am
Barcelona10 (6/8/2015)
I think i should go with EXCEPT
If you want to return a result of rows from one set that are not included in another set, then EXCEPT is the...
June 9, 2015 at 7:55 am
Jeff Moden (6/8/2015)
Andy Warren (6/8/2015)
June 9, 2015 at 7:50 am
DonlSimpson (6/8/2015)
Lynn Pettis (6/8/2015)
June 8, 2015 at 2:33 pm
Reply back with a simplified example of what the query result would look like.
June 8, 2015 at 1:50 pm
Barcelona10 (6/8/2015)
CHECKSUM_AGG compares one column at the time.
If you want to calculate a checksum across multiple columns and rows, then you can can wrap checksum_agg() around checksum() like this:
checksum_agg(...
June 8, 2015 at 1:44 pm
Or like you said originally, this could be done using INSTEAD OF triggers.
For example, you could create a ClosedPeriods table containing one row for each closed period. Using this method...
June 8, 2015 at 12:44 pm
bimplebean (6/8/2015)
June 8, 2015 at 12:10 pm
First, I'd suggest a column called ClosedDate. But until you scale up to several millions of rows, then partitioning your table(s) for the sake of performance is not worthwhile. However,...
June 8, 2015 at 11:55 am
Take a look at the CHECKSUM() and CHECKSUM_AGG() functions.
June 8, 2015 at 11:39 am
If you want to know the salary of a specific US federal employee, someone has created a user friendly website using public data.
http://www.fedsmith.com/2013/04/29/locating-the-salary-of-an-individual-federal-employee/
June 8, 2015 at 9:06 am
Jeff Moden (6/8/2015)
Eric M Russell (6/8/2015)
Jeff Moden (6/8/2015)
Andy Warren (6/8/2015)
Jeff, would you decline an offer from a company that publishes all salaries?Yes.
Even if the company were financially stable, the IT...
June 8, 2015 at 8:52 am
Jeff Moden (6/8/2015)
Andy Warren (6/8/2015)
Jeff, would you decline an offer from a company that publishes all salaries?Yes.
Even if the company were financially stable, the IT projects interesting, and the published...
June 8, 2015 at 8:12 am
David.Poole (6/7/2015)
June 8, 2015 at 7:55 am
Viewing 15 posts - 3,766 through 3,780 (of 6,035 total)