Viewing 15 posts - 2,806 through 2,820 (of 10,144 total)
Can you post up some consumable sample data for the tables please?
In order to write the second query, you will need to know how to track a single commission amount...
November 6, 2014 at 1:53 am
In the absence of an Actual execution plan, any suggestions would be guesses. Can you post it please, as a .sqlplan attachment? Thanks.
November 6, 2014 at 1:46 am
You may find some useful info in this thread. Post back if you have more questions.
November 6, 2014 at 1:38 am
aaron.reese (11/5/2014)
you are filtering the join based on properties of RO - these feel to me like they should be in the WHERE clause.
If...
November 5, 2014 at 5:52 am
;WITH SampleData (BASEDPTH, OWN, SEGLEN, SURFWID, UNITID, DESCRIPT, STKEY) AS (
SELECT 0, 'COF', 710.14, 30, 'YORKTOWNDR', 'YORKTOWN DR', 4774 UNION ALL
SELECT 0, 'COF', 349.23, 30, 'YORKTOWNDR', 'YORKTOWN DR', 4774 UNION...
November 5, 2014 at 2:36 am
jacksonandrew321 (10/31/2014)

In this table I want to count records of column parcel2014 in between dates 2006 and 2016 then what should I fire...
October 31, 2014 at 2:57 am
How many rows in table #md?
What's the distribution of values in the columns BID & BWG?
October 31, 2014 at 2:48 am
Looking at Name "A", the second row (by Seq) is within 48 hours of the first row. The third row is within 48 hours of the second row. The fourth...
October 29, 2014 at 3:25 am
vee_jess (10/28/2014)
Your date function is very cleverly written. Is there a way to get a bigger dataset out of this function? I want a date to start from 01/01/2012 till...
October 29, 2014 at 2:59 am
DaveBoltman (10/28/2014)
October 28, 2014 at 10:36 am
vee_jess (10/28/2014)
My apologies, I was confused when I didn't see data for Tuesday week 4 2014 and then there was data for Wednesday week 4 2014. The reason for...
October 28, 2014 at 5:27 am
vee_jess (10/28/2014)
Yep, I changed it to WHERE MONTH(c.TheDate) IN (10,11,12). Is that causing the issue?
I don't see an issue, the query outputs data for October, week 4 - can you...
October 28, 2014 at 3:42 am
vee_jess (10/27/2014)
After testing I have noticed that this query isn't working as expected. I'm getting 0 parcel count 2014 for Tuesday weekNo 4 in October, then there are parcel...
October 28, 2014 at 2:59 am
Viewing 15 posts - 2,806 through 2,820 (of 10,144 total)