September 19, 2007 at 1:28 pm
Hi guys,
i created a script that i want to use generate the resultset based on the value of count(X).
Example
Select
Distinct PD.KPAIDS_NO, PD.LastName, PD.FirstName, PD.Registration_Date, PD.Date_Of_Birth
,PD.Marital_Status,CL.Clinic_Sites,convert(varchar(10),PCT.Test_Date, 101) as [Previous C13 Test Date]
,PCT.Previous_C13_Test,PCT.Test_Result,count(D.Date_Delivered) as 'Total Delivery'
....
group by ......
having count(Date_delivered) > 1
but i get an error
is there an alternative way to do this
?
September 19, 2007 at 1:35 pm
Do you use "count(x)"?
September 19, 2007 at 1:39 pm
ok got it solved
September 19, 2007 at 6:27 pm
It sure would be nice if you shared what you did to solve it... this is a forum, you know?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2007 at 1:24 am
" but i get an error" ... what a wonderful definition of problem. Makes it really easy to find solution.
Here are some more ways how to ask for support (from my own experience, not made up):
- I got some message but I didn't understand it, so I clicked Yes and now it doesn't work.
- I am getting a message "You don't have permissions to.." and so on. Please fix it.
- A button has disappeared from my screen, what should I do?
Which button, or at least whats written there?
I don't know.. it's the blue one I click every morning when I come to work. I really need it! (the "button" was a Terminal Server icon )
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply