Viewing 15 posts - 3,061 through 3,075 (of 59,086 total)
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
Who says? It didn't specify anything about the table. Consider it to be "most convenient". 😀
The OP said:
you want to search for all users who have an email...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2022 at 2:38 pm
Also, consider the fact that you're grouping by a table that is the "Right" table of a Left Join. Perhaps it would be better to get the data for the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 2, 2022 at 11:19 pm
For example... all the other tables are left joined vw_UsageReportCached view. So, remove everything else form the code not having to do with that view and see what you come...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 2, 2022 at 10:52 pm
Start tearing apart the query(ies) in the function. You know the data is available. Find out which part of the code in the function is preventing it.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 2, 2022 at 10:19 pm
That's reading from a function, not the view. You don't know if the function is the issue or the view.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 2, 2022 at 9:58 pm
Viewing 15 posts - 3,061 through 3,075 (of 59,086 total)