Viewing 15 posts - 226 through 240 (of 2,458 total)
Building off of Luis' excellent solution...
This:
-- Sample data, solution
DECLARE @samples TABLE (dob date);
INSERT @samples VALUES
('20161102'),('20150326'),('20150717'),('20140818'),('20120712'),('20121201'),('20120522');
-- Solution
SELECT dob,
July 19, 2017 at 2:03 pm
Note the line in my signature about the best way to get help. Pictures aren't the easiest because we can't copy/paste from an image.
That said, what you are...
July 18, 2017 at 9:10 am
July 14, 2017 at 11:59 am
July 14, 2017 at 10:44 am
Phil beat me to it. We need more/better sample data and clearer expected results. Something like this for the sample data:
DECLARE @yourtable TABLE (id int,...
July 14, 2017 at 10:22 am
I still love this proc Lowell (I'm using your newest version of sp_GetDDLa). I know I've posted that in this thread before. I thought I'd take a moment to include...
July 13, 2017 at 3:29 pm
July 13, 2017 at 9:06 am
I've interviewed at a couple places that offer this and drilled them pretty extensively about it. It seems like a good deal - you're going to be able to take...
July 12, 2017 at 10:12 am
July 11, 2017 at 7:34 pm
I just started playing around with SQL 2017 and was enthusiastic about TRANSLATE and STRING_AGG. STRING_AGG is long overdue and performs a wee-bit better than using the FOR XML PATH('') method and...
July 10, 2017 at 1:06 pm
You have a couple options, none of which are super simple.
OPTION 1 - Edit in BIDS or SSDT
As already mentioned, you can open the maintenance plan with...
July 10, 2017 at 7:55 am
July 7, 2017 at 2:17 pm
Eric's original solution did not address multiple instances of the same SSN-matching pattern but he fixed that. The only problem is when an SSN appears at the beginning or end...
July 7, 2017 at 1:28 pm
July 6, 2017 at 11:12 am
Viewing 15 posts - 226 through 240 (of 2,458 total)