Viewing 15 posts - 1,051 through 1,065 (of 1,419 total)
That's freaking amazing. It's awesome to see real in depth analysis. Thank you for doing this.
Shifting gears a bit, since the Nested Sets method has most of...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 27, 2020 at 11:58 am
That's freaking amazing. It's awesome to see real in depth analysis. Thank you for doing this.
Shifting gears a bit, since the Nested Sets method has most of the goodies...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 26, 2020 at 10:44 pm
Those columns are not needed, I think. At the end of the 2nd article (allow me to quote you some Jeff Moden) it says:
Last but certainly not least, if you...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 26, 2020 at 1:34 pm
Imo expressing the recursive "downlines" or "sort path" as nested json makes the information much more usefully accessible. You can check out an example at:
Can you use the...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 25, 2020 at 3:51 pm
Imo expressing the recursive "downlines" or "sort path" as nested json makes the information much more usefully accessible. You can check out an example at:
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 25, 2020 at 2:07 pm
What is the DBA world consensus on using this to implement databases for an application? An application developer presented this as the "future of EF" but I do not...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 25, 2020 at 2:44 am
It's conditional counting. Sql is terrible at this.
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 22, 2020 at 7:54 pm
Yeah I noticed that too. My next attempt would be to use CROSS APPLY containing IIF function(s) (as many as necessary) and pass in a ton of variables.
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 21, 2020 at 5:41 pm
This appears to work but it's not simple. It defines the anchor records as having the minimum ArrivedDate where the doc_row_num<=2 and doc_row_num<= doc_count. Then it inserts additional rows calculating...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 21, 2020 at 2:12 am
/* without STRING_AGG */
;with
ErrData1(tran_no, ref_no, ref_tamt) as (
select t1.tran_no, t1.ref_no, t1.ref_tamt
from @tran_dtl1 t1
where t1.ref_tamt >...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 19, 2020 at 4:45 pm
Maybe STRING_AGG instead of COALESCE?
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 17, 2020 at 7:25 pm
Well I have no sample data so that was a stab in the dark. Makes sense though! Maybe more iif's
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 17, 2020 at 4:22 pm
select
concat(iif((columnproperty(object_id('dbo.TempparsedHeaderCSVData'),'Footnote','ColumnId') IS NOT NULL) and
(columnproperty(object_id('dbo.TempparsedHeaderCSVData'),'Footnote2','ColumnId') IS NULL),
...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 17, 2020 at 4:07 pm
drop table if exists #anchorj;
create table #anchorj(
UserId varchar(10),
SalesDate date,
SalesAmount ...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 16, 2020 at 5:06 pm
Sorry, I was happy because my project worked. I'm not trying to sell anything. You won't miss this post so it's gone.
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 16, 2020 at 1:57 pm
Viewing 15 posts - 1,051 through 1,065 (of 1,419 total)