Viewing 15 posts - 3,046 through 3,060 (of 59,086 total)
I'm thinking that you need to find out if it's "static" or not. It's starting to sound like it and you may have to make a copy of the data...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 8:21 pm
Drew showed me his wonderful code to do this same thing on another thread. I did a deep dive on it and the concept is wonderfully simple and it solved...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 8:19 pm
Yeah... I definitely posted to the wrong thread. Here's the thread I meant to post to. The only thing my post on this thread does is show the performance. It...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 8:15 pm
I don't understand what that query is doing?
Is there another query written in a more standard way that produces the same results but is slower?
It creates an million row...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 8:09 pm
Is the current database that you're running the code in the same database as where the table is?
If so, then I don't know what the issue is other than there...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 7:54 pm
Drew, thanks again for the solution. It's "Spec-hacular"!
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 7:53 pm
Drew showed me his wonderful code to do this same thing on another thread. I did a deep dive on it and the concept is wonderfully simple and it solved...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 7:50 pm
Aye. Thanks for the link. The solution that you posted is even simpler than either of those two and now I understand about why you say it's not where you...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 6:45 pm
It clearly states that you do NOT need to grant sys_admin privs...
source connection must have the sysadmin role, OR have the db_owner role and the SELECT...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 6:29 pm
I have a table that is empty and it should have data in it. I need to find a stored procedure or table(s) that populates this table.
How do i...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 6:22 pm
I just did a deep dive on that code. ANSI NULLs are the key there! Really cool code! Thanks, again, Drew. Do you have a link where Itzik provides this...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 6:08 pm
I agree with Drew... the code he posted does a single scan and not a scan with a wad of seeks.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2022 at 5:41 pm
Thanks for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 10:01 pm
It doesn't. You're wayyyy over-analyzing this. Again, it's a simple q with a simple answer. Save the big analysis for a more significant q.
Says the guy with the critique...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 9:59 pm
I actually wouldn't be surprised that someone posted such a thing somewhere. 😀 That's why I posted the code to prove what it actually does. It was just easier...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 8:09 pm
Viewing 15 posts - 3,046 through 3,060 (of 59,086 total)