Viewing 15 posts - 3,091 through 3,105 (of 59,086 total)
I had same issues , the detach query executed for 4 hours but didn't completed.
The solution worked for me is very simple. I dont know the reason behind it...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 1, 2022 at 7:11 pm
I suspect you meant "...relational databases are not going away."?
Absolutely correct. Can't believe I phat phingered that. Thank you for the catch.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 1, 2022 at 6:55 pm
Ok... so tell us how you got the numbers is the "after" graphic from the numbers in the "currently have" graphic. The don't add up.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 1, 2022 at 6:52 pm
Step 1 would be to query just the view to see if the date range returns anything. Then add a piece of your query for one of the joins and...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 1, 2022 at 6:46 pm
If your system is like mine, the data in the default trace lasts about 6 seconds. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 1, 2022 at 6:33 pm
With the understanding that I've never used Power BI, are you suggesting that Power BI cannot get data directly from SQL Server without having to use a language like Python?
If...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 1, 2022 at 4:55 am
I'm pretty sure that I'd remove the IP address and port from the original post. Just sayin'... you know... Security??? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 7:24 pm
I just checked the MS documentation... Here's the link of the document section I'm looking at.
https://docs.microsoft.com/en-us/sql/t-sql/statements/create-trigger-transact-sql#recursive-triggers
It's amazing to me that this is still only a server level option but...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 7:10 pm
That other table has a trigger, but no write operations, other than to itself.
Just at a quick glance, I'm thinking the above from your original post is the source...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 6:54 pm
The use of COUNT() OVER will make light work of this. It basically does what Phil says... provides a combination of COUNT with GROUP BY. You would use the PARTITION...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 6:36 pm
PS... my version of money and happiness...
"Money can't buy happiness, but it can buy you a sailboat big enough that you can sail right up next to it."
Old and...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 6:30 pm
Have you already started on this? I'm asking because I see some red flags in some of the posts above but don't want to waste my time advising if...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 6:22 pm
Hi,
We have log backup job running daily 5 times. One time run is taking 4-5 times longer than the other runs daily. The backup size is same for all...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 6:16 pm
The best way to do this is monthly partitioning using either Partitioned TABLE or Partitioned VIEW technology. Not intending to sound the part of an iconoclast ,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 6:04 pm
I've found that changing datatypes in a Tally function really isn't necessary but that's a personal observation. Implicit conversions usually work just fine here. I've not personally ever run into...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 31, 2022 at 4:34 pm
Viewing 15 posts - 3,091 through 3,105 (of 59,086 total)