Viewing 15 posts - 1 through 15 (of 15 total)
thanks John it worked.
i've updated the script if others get stuck to a similar problem
SELECT a.Coding_Source, ad.Admit_Date, dd.Disch_Date, pn.Patient_No, w.Ward, ed.Episode_Date,
ROW_NUMBER() OVER(Partition by en.Episode_Number ORDER BY en.Episode_Number) AS...
November 29, 2012 at 7:58 am
many thanks for replying.
the input values will be recieved using reporting services field on report. The user will type the code. Future work will use reference table. please see...
May 26, 2011 at 7:57 am
i just used in the actions [@FinYear] or [@FinMonth]etc and this worked for multivalue
February 22, 2011 at 10:17 am
I think i've cracked it...but needs testing
SELECT F.Crn, F.admission, F.Procedures
FROM tbl_PS_IXP_MEDREC_PROCS_FLAT AS F INNER JOIN
...
February 19, 2011 at 5:44 am
Thanks for the reply i don't fully understand that code for ssc
This is what i got for if the value was single string and works
codes
w811
s222
f224
SELECT Procedures,...
February 19, 2011 at 4:57 am
Finally got it working. Many thanks for all of you to providing help.
i've posted the code if anyone else comes to the same problem.
USE [ColossusUser]
GO
/****** Object: UserDefinedFunction [dbo].[fFinYear] ...
January 28, 2011 at 3:08 pm
hi lynn,
thats right for fiscal year 01/04/2010 to 31/03/2011 would be 2010/11
January 28, 2011 at 1:11 am
sorry i wasn't clear enough.
from the two views i want the two results to be combined into one view.
i.e
NoDaycase noElective Dis_Spec ...
December 29, 2010 at 5:22 am
yup we got it working finally.
September 16, 2010 at 2:17 pm
His one of my staff....i asked him to search on the forums. Just pot luck that he came to the same forum. I'm more of apps developer and done sql...
September 16, 2010 at 4:27 am
thank you for both responses.
i have similar query which if i wanted to calculate the 14 days from the disdate from the admdate
e.g
crn admdate ...
September 15, 2010 at 6:52 am
This is perfect,
Can you quickly go over the SQL statement. Its learning curve and learning as i go along.
Nope its not homework i'm afraid, i'm out of practice...
September 15, 2010 at 6:03 am
thank you for responding....however i don't think i've clearly explained myself.
The CRN is patient identification No. What i'm trying to do is see how many of the same patients (CRN's)...
September 15, 2010 at 4:55 am
I've tried to simply it...but get an error saying Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'CASE'.
SELECT COUNT(NHSNo) AS [patientvol]
CASE...
October 20, 2009 at 4:06 am
Hi thankyou for replying how would i be able to apply this to the example if you given me?
USE [InformationServices]
GO
/****** Object: StoredProcedure [dbo].[p18WeekPTLAdmitted] Script Date: 10/19/2009...
October 19, 2009 at 8:14 am
Viewing 15 posts - 1 through 15 (of 15 total)