Click here to Skip to main content
15,911,482 members
Home / Discussions / Database
   

Database

 
QuestionSql Server Pin
senthilsstil24-Apr-08 20:04
senthilsstil24-Apr-08 20:04 
GeneralRe: Sql Server Pin
Blue_Boy24-Apr-08 22:15
Blue_Boy24-Apr-08 22:15 
Generalschedule a procedure to run daily in a given time. Pin
yesu prakash24-Apr-08 18:47
yesu prakash24-Apr-08 18:47 
GeneralRe: schedule a procedure to run daily in a given time. Pin
Blue_Boy24-Apr-08 19:03
Blue_Boy24-Apr-08 19:03 
GeneralRe: schedule a procedure to run daily in a given time. Pin
yesu prakash24-Apr-08 20:11
yesu prakash24-Apr-08 20:11 
GeneralRe: schedule a procedure to run daily in a given time. Pin
GuyThiebaut24-Apr-08 22:03
professionalGuyThiebaut24-Apr-08 22:03 
GeneralHelp performing a count Pin
AdamskiR24-Apr-08 5:22
AdamskiR24-Apr-08 5:22 
GeneralRe: Help performing a count Pin
Kschuler24-Apr-08 8:37
Kschuler24-Apr-08 8:37 
Why don't you give a sample of what data is in each table, and then the SQL statement that you have tried, and how/why it isn't working. Because it is very hard to understand what your question is from what you have given us. My best guess is to try somthing like this:

SELECT therapy, count(*) FROM tblMain, tblTherapy, tblLookupTherapy WHERE tblMain.ReferralID=tblTherapy.ReferralID AND tblTherapy.DTID=tblLookupTherapy.DTID WHERE tblMain.DateSubmitted>4/24/2008 GROUP BY therapy
GeneralRe: Help performing a count Pin
AdamskiR24-Apr-08 22:55
AdamskiR24-Apr-08 22:55 
GeneralRe: Help performing a count Pin
Blue_Boy24-Apr-08 23:00
Blue_Boy24-Apr-08 23:00 
GeneralRe: Help performing a count Pin
AdamskiR24-Apr-08 23:09
AdamskiR24-Apr-08 23:09 
GeneralRe: Help performing a count Pin
Blue_Boy24-Apr-08 23:19
Blue_Boy24-Apr-08 23:19 
GeneralRe: Help performing a count Pin
AdamskiR24-Apr-08 23:25
AdamskiR24-Apr-08 23:25 
GeneralRe: Help performing a count Pin
Blue_Boy24-Apr-08 23:48
Blue_Boy24-Apr-08 23:48 
GeneralRe: Help performing a count Pin
AdamskiR25-Apr-08 0:05
AdamskiR25-Apr-08 0:05 
GeneralRe: Help performing a count Pin
Kschuler25-Apr-08 3:20
Kschuler25-Apr-08 3:20 
GeneralRe: Help performing a count Pin
AdamskiR25-Apr-08 4:51
AdamskiR25-Apr-08 4:51 
GeneralRe: Help performing a count Pin
Kschuler25-Apr-08 4:54
Kschuler25-Apr-08 4:54 
GeneralRe: Help performing a count Pin
Blue_Boy25-Apr-08 5:00
Blue_Boy25-Apr-08 5:00 
GeneralRe: Help performing a count Pin
AdamskiR25-Apr-08 5:13
AdamskiR25-Apr-08 5:13 
GeneralRe: Help performing a count Pin
Blue_Boy25-Apr-08 5:17
Blue_Boy25-Apr-08 5:17 
GeneralRe: Help performing a count Pin
AdamskiR25-Apr-08 5:19
AdamskiR25-Apr-08 5:19 
GeneralRe: Help performing a count Pin
Blue_Boy25-Apr-08 5:29
Blue_Boy25-Apr-08 5:29 
GeneralRe: Help performing a count Pin
AdamskiR25-Apr-08 5:32
AdamskiR25-Apr-08 5:32 
GeneralRe: Help performing a count Pin
Blue_Boy25-Apr-08 5:35
Blue_Boy25-Apr-08 5:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.