Viewing 15 posts - 76 through 90 (of 641 total)
I moved the conversion into the query, instead of trying to do it at time of setting the param and now the conversion works.
November 14, 2014 at 4:23 pm
top article: JOIN, EXISTS, IN capable of producing the same stats.
Gail. Exists doesn’t check for a match, it doesn’t care in the slightest what values are been returned from the...
November 12, 2014 at 7:41 am
peitlinden's ends up working better for me because it allows me to order the dates within the partition, but that wasn't part of the ask....:-)
November 11, 2014 at 3:35 pm
Jason and peitlinden. both marked as answer. Thanks much for help.
Regarding 'correlated queries are your friend'....seems to be true lately, peitlinden. Thanks for sticking by.
November 11, 2014 at 3:19 pm
ok pietlinden, I can use your query and then union all results to original query, but do you have insight on how to pull the date of the move ie....
November 4, 2014 at 4:25 pm
hi pietlinden.
Your query works to extract the lead_id having been moved into a property it was referred to, which is cool becuase you understand the logic, but I'm looking...
November 4, 2014 at 12:20 am
thank you gward, davo collective, and matt miller for further clarification.
This experience has led me with conviction to understand that in the scenario where I was seeing the...
October 20, 2014 at 1:07 pm
I guess you're not in Kabul, then.
OK.
so I incremented the JOIN condition in Eirikur's LEFT JOIN example and found that the entire left table is returned, whether the JOIN condition...
October 19, 2014 at 10:23 pm
My current latest understanding:
In Left Outer JOIN everything is returned, period. That's because it's not an INNER JOIN but a LEFT OUTER.
Next, if there is a WHERE clause, results are...
October 19, 2014 at 9:28 pm
Hi Lynn, thanks for bearing with me.
the persontype comes from Person.Person. I aliased. Can you revise the explanation?
freakin' frustrating.
This looks simple enough and I understand the sentences and logic, but...
October 19, 2014 at 6:41 pm
Lynn, when I try the EXCEPT I get error:
"
Msg 421, Level 16, State 1, Line 3
The xml data type cannot be selected as DISTINCT because it is not comparable.
"
[/
SELECT
...
October 19, 2014 at 6:27 pm
nope, it literally returns all records from the right hand side regardless of join or filter, right?
October 19, 2014 at 5:34 pm
(1) the LEFT JOIN to Person.Person table returns everything from Person.Person that satisfies the JOIN condition (p.BusinessEntityID = st.BusinessEntityID) and the filters for persontype and dates.
(2) the AND usage retrieves...
October 19, 2014 at 3:24 pm
Viewing 15 posts - 76 through 90 (of 641 total)