Viewing 15 posts - 1,336 through 1,350 (of 4,087 total)
WITH
Duplicates
AS
(
SELECT [Policy]
FROM Insurance
GROUP BY [Policy]
HAVING...
January 22, 2018 at 7:17 am
There are a couple of ways that you can handle this depending on what you want to do with the results. Probably the most common is to use a CTE...
January 19, 2018 at 2:58 pm
Assuming that you have no future dates, you only need to find the begin date and then filter based on that.
DECLARE @pStartDate SMALLDATETIME
SET @pStartDate =...
January 19, 2018 at 1:31 pm
January 19, 2018 at 12:35 pm
January 19, 2018 at 11:57 am
January 19, 2018 at 10:19 am
Thank you for your quick response on the query and efforts. As shown in...
January 19, 2018 at 8:48 am
It comes from the CROSS APPLY. I did not alter the underlying tables, if that's what you mean.
Make sure that you thoroughly understand this code before deploying it,...
January 18, 2018 at 3:03 pm
This forum is primarily English. (Türkçe bilmiyoruz.) You'd get much more of a response if you can post in English.
Drew
January 18, 2018 at 2:28 pm
This is close. Your expected results don't seem to match your description. Specifically rows 40-42 should be in the same group based on "Group continues as long as SkipPrintCompLine= ‘Y’",...
January 18, 2018 at 2:14 pm
First, we need both sample data AND expected results. You've only provided half.
January 18, 2018 at 12:53 pm
Most people here aren't going to open a zip file posted on the internet. I suggest that you resubmit your data as outlined in the first link in my signature.
January 18, 2018 at 9:51 am
Use a string splitter on both the table field and the parameter, and then use an equality comparison.
Drew
January 16, 2018 at 3:03 pm
print CONVERT(VARCHAR(3), ASCII('≡')) +...
January 16, 2018 at 2:21 pm
I would like to know how...
January 16, 2018 at 1:20 pm
Viewing 15 posts - 1,336 through 1,350 (of 4,087 total)