Viewing 15 posts - 2,116 through 2,130 (of 2,645 total)
The END is just the end of a CASE statement.
If it runs already with no errors why do you think it might not run?
October 16, 2018 at 7:54 am
October 15, 2018 at 11:09 am
;WITH CTE AS
(
SELECT MAX(X.TABLE_1Dates) NewestDate -- Newest Date From TABLE_1
FROM TABLE_1 A
CROSS APPLY(VALUES (A.StartDate),(A.EndDate)) X(TABLE_1Dates)
),
CTE2 AS
(
SELECT...
October 15, 2018 at 10:56 am
October 15, 2018 at 9:32 am
j.clay 47557 - Monday, October 15, 2018 8:09 AMMany thanks Jonathan - that works perfectly!
Thanks j.clay,
I think you would be better putting...
October 15, 2018 at 8:21 am
Here is my SQL:
select distinct cast(c.serialnumber AS INT), c.firstname, c.keyname, c.addressline1, c.addressline3,...
October 15, 2018 at 7:45 am
October 15, 2018 at 7:41 am
I dont understand the red marked part in my book.
Is this query...
October 15, 2018 at 6:51 am
I have created the following SQL statement which works fine. However, it would...
October 15, 2018 at 6:39 am
October 14, 2018 at 3:29 pm
October 13, 2018 at 6:07 am
I'm not sure from your question what the column name is for a person? but you would need a query like this to get the most recent row for each...
October 13, 2018 at 6:02 am
Viewing 15 posts - 2,116 through 2,130 (of 2,645 total)