Viewing 15 posts - 316 through 330 (of 1,396 total)
The windowing function FIRST_VALUE returns the first value in an ordered set. In this case PARTITION BY item_num ORDER BY revision. You could use a CTE to UPDATE the column...
October 27, 2022 at 12:33 pm
In SELECT statements the FROM clause and JOINs are evaluated first. Maybe you could use the VALUES table value constructor to store (rows of) criteria, order number, and value. Then...
October 23, 2022 at 8:08 pm
At this point no I haven't downloaded the desktop app. I did look around some more at the Blazor razor pages. In that area in general you seem to be...
October 21, 2022 at 7:28 pm
(another attempt to fight the anti-spam forum measures)
EF isn't used at all for the interesting parts. I just added it 2 weeks ago and it's only used by the...
October 20, 2022 at 2:42 pm
The GitHub link is only visible in the footer of the demo/query section of the site
https://github.com/jtheisen/squil
Entity Framework is just used for configuration purposes, the actual data access during browsing...
October 19, 2022 at 4:04 pm
Very interesting. It looks impressive and the site works great. The GitHub repo (+1 star'ed) is always the interesting part imo. It seems maybe the project began a while ago...
October 19, 2022 at 12:28 pm
You could nest the current formula inside an additional CONCAT function and test for the existence of the lead characters
SELECT tt.homepage_url
...
October 16, 2022 at 1:41 pm
Does the query return the expected output?
October 7, 2022 at 7:21 pm
One place to keep important SQL-related information for me is SSC's Briefcase feature. For a while after I became a member it wasn't working (at least for me using Chrome...
October 7, 2022 at 2:19 pm
Steve Collins, I don't see how we can avoid using ORMs and report writers.
...
Sometimes the easy fix is good enough.
Avoidance is the easy way imo
October 5, 2022 at 12:24 pm
ORM only makes sense if the mapping is necessary, no? Otherwise, if it's easier to not use ORM then it becomes a waste to use it. Imo since .NET 6...
October 4, 2022 at 10:16 pm
IQP is important because there are more processes reading the database, not all of them written by developers. Some are generated by reporting tools or ORMs. This sort of...
October 4, 2022 at 1:47 pm
with rn_cte as (
select *, eow-[Week] wk_diff,
row_number() over (partition by it, cg,...
October 3, 2022 at 2:51 am
In Visual Studio if you hold the Alt key down while using the mouse to highlight text it rectangularly selects areas. Because the dates are horizontally aligned with just a...
October 2, 2022 at 1:00 pm
No comment on the date calculations?
declare @start_yr int=2022;
with months_cte(mo_num) as (
select * from...
October 1, 2022 at 10:09 pm
Viewing 15 posts - 316 through 330 (of 1,396 total)