Viewing 15 posts - 676 through 690 (of 13,849 total)
Can you please confirm this statement:
1 record has match is 2 because it has in 2 subsequent previous month data was there with mainhost
You are referring to the 2023-12-31 row,...
January 11, 2024 at 9:08 am
Thank you, sorry i dont know the different between sql server and mysql. I'm newbie here... 😉
Then perhaps you will find this informative: https://aws.amazon.com/compare/the-difference-between-sql-and-mysql/
January 8, 2024 at 10:45 am
sorry.. solved..
You've been here long enough to know the forum etiquette: please re-post your original question and its solution. This may come in useful to others.
January 8, 2024 at 9:40 am
First, please note that this is a SQL Server forum, not MySQL.
In T-SQL, I'd do something like this
DROP TABLE IF EXISTS #wp_um_metadata;
CREATE TABLE #wp_um_metadata
(
...
January 8, 2024 at 9:37 am
--Removed duplicate
January 7, 2024 at 9:19 am
Should I see this warning when I have ISNULL check at SUM function and changing NULLs to 0?
Thank you
No. As demonstrated below.
DROP TABLE IF EXISTS #x;
CREATE...
January 7, 2024 at 9:19 am
This will be easier to answer if you provide the DDL for the underlying table, including PK and Index definitions. If the query really is as simple as you suggest,...
January 2, 2024 at 11:36 am
This issue happening in prod environment ,but not in staging and local development environment, is there any setting for clearing tempdb cache of sql server
Possibly because the prod environment...
December 28, 2023 at 8:38 am
What is the text of the error you are receiving?
Is the data exactly the same across the different environments?
December 27, 2023 at 4:55 pm
You need to find out more from the person asking you to do this. Questions such as
What sort of validation? Data within certain limits? Data has only predefined values? Data...
December 24, 2023 at 10:05 pm
Wow, don't be offended, but what a mess! It might be time to think about a divide and conquer approach. Build up your result sets individually and then assemble them...
December 19, 2023 at 8:30 pm
We can't even properly see your query! How is anyone supposed to know what code is in that function?
December 19, 2023 at 5:11 pm
It's varchar(15). Casting as varchar(max) was the seemingly only way to avoid this error:
"STRING_AGG aggregation result exceeded the limit of 8000 bytes. Use LOB types to avoid result truncation."
After...
December 19, 2023 at 3:32 pm
What is the datatype of SERVICE_CD? CASTing every element to VARCHAR(MAX) sounds like madness.
December 19, 2023 at 3:25 pm
Your DISTINCT is applied to the result of the STRING_AGG, not to the elements it contains.
Remove the dupes in a CTE and select your STRING_AGG from that.
December 19, 2023 at 3:22 pm
Viewing 15 posts - 676 through 690 (of 13,849 total)