Viewing 15 posts - 3,496 through 3,510 (of 59,086 total)
Dude! Check what you attached. ?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 19, 2022 at 3:32 pm
I have a computed column that subtracts a completion date from a start date and I'm trying to track the total time it takes to complete a job. However,...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 19, 2022 at 3:26 pm
Thanks Mark Cowne. That is the perfect solution.. and right in front of my eyes.... still, didn't figure it out.
DENSE_RANK() OVER(ORDER BY Id - register_sequence) AS seq_number
works beautifully!!
Careful now. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 19, 2022 at 3:13 pm
@vilaca ,
Thanks for the ID column but that can still be problematic. If it's created using an IDENTITY column or from a SEQUENCE object, there's no guarantee that you won't...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 19, 2022 at 3:12 pm
The answer is, yes... I have an idea but... you won't like it because the answer is, there is nothing in your original data to guarantee the sequence of even...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 19, 2022 at 3:43 am
p.s. What I'm trying to get you to do is that your per minute stuff is flat out the wrong way to do thing and I'm trying to get you...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 18, 2022 at 10:10 pm
the Corrente_L1 will receive values every 15 min, I need the total of Corrente_L1 for the respective period, if it is for the month, it should return the total...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 18, 2022 at 10:01 pm
Also, the Standard Edition is "Limited to lesser of 4 sockets or 24 cores" and so you need to check your hardware configuration.
You also need to do a feature comparison. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 18, 2022 at 9:46 pm
Hello,
I was looking over the Edition specifications, and Standard is capped at 128 GB RAM is that correct?Can someone recommend me to use sql server enterprise edition or standard,...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 18, 2022 at 9:38 pm
If you're using 500GB now, it could be very hard to squeeze down to 128GB.
It's likely, however, that you are not using data compression now. From SQL 2016 on,...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 18, 2022 at 9:35 pm
This can all be done in T-SQL pretty easily... we just need so reasonable data and task description to work with.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 18, 2022 at 5:39 pm
You cannot restore a 2019 database to a 2016 server even if you're in the 2016 compatibility mode on the 2019 server.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 18, 2022 at 5:11 pm
"Each record"? Which table and could you please provide some test data for the data you want to report on?
All you've provided so far is a table with an IDENTITY...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 18, 2022 at 4:56 pm
You're still working on your Calendar table. I'll be happy to show you how to do that but that's not the real issue. The issue is, what do you want...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 18, 2022 at 4:14 pm
Getting back to the original issue, if you'd go back to the original thread that start all this and answer my simple question, you might get somewhere.
As for the question...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 18, 2022 at 1:51 pm
Viewing 15 posts - 3,496 through 3,510 (of 59,086 total)