Viewing 15 posts - 676 through 690 (of 1,424 total)
Not too long ago there was a question for SQL Server 2012 with pretty much the same pattern.
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
Yes, no STRING_AGG in 2012. We're in the 2016 Forum 🙂 To revert you could use STUFF+XML instead of STRING_AGG.
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
Not dynamic
select tmp_channel, tmp_entity,
sum(case when tmp_category='Cat1' then tmp_charges else 0 end) cat1,
sum(case when...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
A man goes to the doctor and says, "Doc, it hurts when I do this." The doctor's response: "Don't do that." What about not deleting the data within the transaction?
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
I think you're looking for something like this. The first CROSS APPLY 'cma_check(cnt)' counts the number of commas. The second CROSS APPLY 'wrd_check(cnt)' counts the number of words in the...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
Yes I mostly agree with ratbak and I even narrowly agree with Joe. If you've got access to pro software then use that 🙂 The code provided does sort of...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
The query could split the input into left and right strings based on the location of the comma. Then determine if the trailing character of the right string is a...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
Viewing 15 posts - 676 through 690 (of 1,424 total)