Viewing 15 posts - 61 through 75 (of 1,413 total)
I think this approach relies on data quality that isn't necessarily guaranteed. For instance, if the two statuses were "Presentation" moving to "Approve", the LAG() method would catch it,...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
November 27, 2024 at 8:02 pm
LAG, which compares rows within the window partition, is not strictly necessary imo. JOIN relates to a lookup table containing the values sequence. Also, I'm not a fan of ordering...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
November 26, 2024 at 11:38 pm
> What difference the client is a phone? <<
Because to determine all the Tests that haven't been fully graded could require scanning a very large number of StudentGrade rows.
If,...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
November 19, 2024 at 9:23 pm
Thanks for getting back to me.
I have always been hesitant to use a flag in one table when I could get that same information using a database query. Since...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
November 19, 2024 at 8:32 pm
To maintain each country's local time, we have collected their respective time zones. Initially, everything worked fine. However, as time passed, some countries requested changes to their time zones...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
November 19, 2024 at 1:55 pm
Hi pietlinden, maybe you want to generate random prices for a base price of 50, plus or minus 5. Or maybe you want a base price of 50, plus or...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
November 18, 2024 at 10:50 pm
You're already generating a series using dbo.fnTally so maybe raise fn.N by an exponent power. Either POWER or EXP function
declare @increase_pct ...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
November 18, 2024 at 7:43 pm
Yes so I went with 2 queries. Just because it's possible to jimmy horn different sets in the WHERE clause doesn't mean it's a good idea
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
November 12, 2024 at 1:08 am
Alternately
with rn_cte as (
select pv.PatID, pv.AcctID, pv.ProcDate,
iif(v.abs_diff>=2, null, dv.Department) Department,
...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
November 7, 2024 at 2:50 am
If any consecutive click within 2 seconds is sufficient then the query posted looks ok 🙂
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
November 1, 2024 at 11:35 am
Given the following table and query, this will return any records(based on message_id) that have timestamps within 2 seconds. This works and gives me the correct output.
The query...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
November 1, 2024 at 11:11 am
Instead of typing up an example I pasted your code next to a table from another topic and then did cut/paste/replace the column names. "...ts.PKey is not column of subquery"...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
October 30, 2024 at 6:03 pm
your are right: using a qualifier results in an error (unknown column):
update TempSel set WertA = 'TEST' where PKey in
(select Q1.PKey from (select PKey as...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
October 30, 2024 at 3:14 pm
Or what's the question? It seems the topic's scope has crept after solutions were posted
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
October 25, 2024 at 7:47 pm
... extract all numbers which follow a '#' and then create a new row for each.
So far I'm not seeing a solution for which each character returned is an...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
October 23, 2024 at 9:12 pm
Viewing 15 posts - 61 through 75 (of 1,413 total)