Viewing 15 posts - 1 through 15 (of 117 total)
This should get you pointed in the right direction. Fully expect the heavy hitters to come up with some other great solutions.
-- Create a sample table
DROP TABLE...
January 9, 2025 at 5:20 pm
I have a plan. I'm learning Spanish. I'm retiring in 18 months and plan to spend a year in Europe with a base in Spain. I'm training to live...
January 3, 2025 at 4:03 pm
Scott's code is definitely more concise. Here is another method leveraging LEAD
; WITH TaskData AS
(SELECT *,
NextTask = LEAD(TaskName, 1,...
November 21, 2024 at 11:55 pm
I love a good reason to use any of the widow functions. Thank you to Kaj for some sample data. I can't tell you how many times I've had to...
November 7, 2024 at 9:19 pm
Awww man!! Keep coming west Jeff! Would love to see you make it to Orange County, CA one of these days.
August 7, 2024 at 2:28 pm
Most watched does not equate to accurate. They did have to pay out nearly $800 million due to false claims.
June 20, 2024 at 3:40 pm
Please consider learning standard SQL. We don't have an IFF() construct; that was spreadsheets and perhaps some nonrelational languages. Take the time to write everything out as a CASE...
May 2, 2024 at 3:24 pm
Couldn't it be as straightforward as this??
SELECT t.[pick your columns]
FROM SomeTable t
INNER JOIN (SELECT [ID#]
FROM...
April 3, 2024 at 3:00 pm
This is the output I get. (In fact I did a copy/paste from my post).
March 9, 2024 at 12:15 am
It's Friday afternoon and this was a nice small example. Here's my offering:
-- Create sample data
DROP TABLE IF EXISTS #Example
CREATE TABLE #Example
(DayNum INT,
...
March 8, 2024 at 11:51 pm
I've been a member of this forum for 17 years, mostly a lurker with very occasional posting or replying. I am the baby Jeff at my company. My scope isn't...
February 9, 2024 at 4:45 pm
jcelko212 32090 wrote:Have you ever read a book on RDBMS?
You can explain things without being such an absolute condescending asshole, Joe!
Actually no, no he cannot. I blocked him years ago...
February 6, 2024 at 3:49 pm
You may have already found your solution, but here's how I have it configured in one of my reports. I've obfuscated some names. In my case, the report is under...
December 21, 2023 at 5:14 pm
This might be a long shot, but see if this query gives you any insight. If the subscription is complaining about the parameters, then it's possible it won't even get...
December 1, 2023 at 8:15 pm
Viewing 15 posts - 1 through 15 (of 117 total)