Viewing 15 posts - 3,061 through 3,075 (of 59,091 total)
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
I ran Jeff's query, it returns nothing:
DUDE!!!! CHANGE THE VALUE OF THE STRING FOR THE BLOODY @OBJECTNAME VARIABLE TO THE SCHEMA NAME AND OBJECT NAME FOR...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 7:59 pm
Here's your original data as a Temp Table to persist the test data to make "playing" easier...
DROP TABLE IF EXISTS #Temp;
GO
CREATE TABLE #Temp
...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 7:53 pm
Using the following code, please note that the DATE and DATETIME datatypes behave exactly the same way when it comes to blanks and NULLs. Run the following code and see.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 6:10 pm
Please see my reply on the thread that spawned this need at
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 4:21 pm
Thank you for the feedback, Daniel. I appreciate it.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 4:13 pm
Yes, i am trying to find out which stored procedure or table. I was just given this task and thrown in the deep end. I am still learning the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 4:06 pm
Yes, that can be the issue. Do you think it will work when there is data in that table?
You should try it and see. "One good test is worth...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 3:31 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...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 3:02 pm
Currently my "auditLevyBreakdown" table contains no data, it is suppose to have data in it.
Your function is grouping by columns from that table and it's empty??? Do you suppose...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 2:49 pm
sometime i got same issue, how can i solve this
To be honest, this sounds like a setup for a SPAM update. If you're not a spammer, go back to...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 2:44 pm
Viewing 15 posts - 3,061 through 3,075 (of 59,091 total)