Viewing 10 posts - 1 through 10 (of 10 total)
@steve-2 Collins: Actually I need to find rows which satisfy all the conditions mentioned that if any two records from contact have same nationalidnumber, same birthdate, same mobilephone,...
March 30, 2023 at 1:53 pm
@scottpletcher: the data types for firstname and emailaddress fields are text. Will count work on them?
March 30, 2023 at 1:46 pm
@Phil Parkin>
hi tried including it but then Calcs.Age cant be calculated.
CROSS APPLY(Select distinct Birth_year from Company.Customer) calcs
JOIN GroupInfo g
ON calcs.Age
BETWEEN g.StartAge AND g.EndAge
ORDER BY Tally.n DESC;
June 7, 2021 at 4:07 pm
Hi @SSC Guru
I Just get a list of Distinct birth years from Customer table. So then based on that list I need to further calculate the other values
June 7, 2021 at 2:38 pm
Yes. I forgot to mention, I have the valid from and to date.
April 14, 2021 at 3:19 pm
Hi Grant
This is the error I am getting.
TITLE: Microsoft SQL Server Native Client 11.0
------------------------------
Windows logins are not supported in this version of SQL Server.
<hr />
Regards
Priya
May 7, 2019 at 11:51 am
The database lies on Azure storage.
May 7, 2019 at 8:58 am
Hello!
The issue is solved now. I took Chris's solution as a reference and it solved the problem. Thank you all for your help! 🙂
Regards
Priya
April 3, 2019 at 12:22 pm
Hi Thom
Yes. I am using sql but couldnt remember the corresponding function for isempty. So asked the question. But with some search i found that i can use nullif() to...
April 2, 2019 at 10:51 am
Hi Chris
Thank you for your reply. But I have an issue. Your suggestion works if i the local variable values are null. But in the actual job they come as...
April 2, 2019 at 10:36 am
Viewing 10 posts - 1 through 10 (of 10 total)