Viewing 15 posts - 646 through 660 (of 4,820 total)
Jonathan AC Roberts - Thursday, August 30, 2018 10:03 AMHow can a top heavy fraction have an ambiguous value?
Easy. 91/2 might...
August 30, 2018 at 10:24 am
Any time you have delimiter problems, there is generally ONLY ONE WAY to permanently solve that kind of problem: Put the onus for fixing it on the source of the...
August 30, 2018 at 10:18 am
August 30, 2018 at 10:05 am
August 30, 2018 at 9:57 am
And if one wants to take it further, using Drew's fine code as the basis, what about this?DECLARE @xml AS xml =
CONVERT(xml,
N'<SearchQuery>
<DealTypeDesc>Deal</DealTypeDesc>
<VendorNum>1</VendorNum>
...
August 30, 2018 at 9:39 am
August 30, 2018 at 5:39 am
August 30, 2018 at 5:34 am
August 29, 2018 at 7:46 am
August 29, 2018 at 7:33 am
August 28, 2018 at 1:23 pm
If you ever need more than 100 months (8 and 1/3 years) for a given input row, just update the query to add another instance of the Nums table in...
August 28, 2018 at 1:11 pm
Try this:CREATE TABLE #temp (
Id int NOT NULL,
[start_date] date NOT NULL,
end_date date NOT NULL
);
INSERT INTO #temp (Id, [start_date], end_date)
VALUES (1, '07/01/2017', '08/01/2018'),
(2, '06/01/2015',...
August 28, 2018 at 1:07 pm
August 28, 2018 at 12:48 pm
Viewing 15 posts - 646 through 660 (of 4,820 total)