Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have tow table
(1) Patient Registration (Regid, FullName, Add1,add2 etc....)
(2) PatientAdmission (admId, Regid, AdmDate, etc....)

Question : How To get list of record Readmitted Patient in 72 hours between two Dates..


Like

RegId, Admid, FullName, ADmDate, Add1 ,Add2 etc....
101 105 ABc 01/04/2014 ... ... ... ...
101 125 ABc 02/04/2014 ... ... ... ...
130 180 abc 03/04/2014 ... ... ... ...
130 200 abc 05/04/2014 ... ... ... ...
Posted

1 solution

try this

SQL
select RegId, Admid, FullName, ADmDate, Add1 ,Add2 from PatientAdmission where ADmDate between  '01/04/2014'  and ' 14/04/2014' order by Regid
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900