Viewing 15 posts - 76 through 90 (of 1,415 total)
I've seen this "constant" "equality test / compare" "expression" used in other languages, and its a thing due to (in some languages) the inherent ambiguity between "=" the test and...
July 3, 2020 at 1:45 pm
I don't approve of doing this – it wouldn't get past me in a code review – but you can do something like this:
BEGIN TRY
...
June 17, 2020 at 8:06 pm
The U.S. Congress decided (wisely for once) that they wanted people to want to stay home without worrying about the bills. So they authorized an extra $600.00...
June 1, 2020 at 7:42 pm
Why can't you take the meaningless loop out of Function 5 and make it inline? There's no point in counting up from 0 until you reach the parameter value. ...
May 28, 2020 at 1:19 pm
I think we have to suck it up with this "mobile first". Obviously the smart move would be to serve up a mobile site when a mobile useragent presents itself...
May 15, 2020 at 2:04 pm
I feel like I'm missing something. An inner join is necessarily an existence check, why not:
SELECT u.UserId
FROM UserTable u
JOIN TableA a ON...
May 12, 2020 at 10:38 pm
X, the re-write goes like this:
WITH CTE (Pull all the user ids who have logged in for last 12 months)
SELECT Client ID's WHERE Exists (select From CTE)
This would not work,...
May 12, 2020 at 7:33 pm
Okay, so TableA and TableB in the derived table are those two source tables where the login info may exist. So why the distinct in the outer query when there...
May 12, 2020 at 7:22 pm
What percentage of the rows of each table are less than 12 months ago?
All of them. The system is only 9 months old.
Lynn, there are a lot of...
May 12, 2020 at 7:17 pm
Okay, so TableA and TableB in the derived table are those two source tables where the login info may exist. So why the distinct in the outer query when there...
May 12, 2020 at 6:45 pm
Six rows was an exaggeration.
I suspect that's not the only exaggeration LOL
Now is someone going to rewrite that query or not?
May 12, 2020 at 6:37 pm
Here's the query. There's not any understanding on how the the language works, index usage (or lack of usage), and what these things do.
It works in dev,...
May 12, 2020 at 4:54 pm
Here's the query. There's not any understanding on how the the language works, index usage (or lack of usage), and what these things do.
It works in dev, why...
May 12, 2020 at 4:46 pm
Viewing 15 posts - 76 through 90 (of 1,415 total)