Click here to Skip to main content
15,898,371 members
Home / Discussions / Database
   

Database

 
GeneralRe: On error resume next Pin
Eddy Vluggen2-Aug-12 9:46
professionalEddy Vluggen2-Aug-12 9:46 
GeneralRe: On error resume next Pin
vanikanc2-Aug-12 9:50
vanikanc2-Aug-12 9:50 
GeneralRe: On error resume next Pin
Eddy Vluggen2-Aug-12 10:02
professionalEddy Vluggen2-Aug-12 10:02 
GeneralRe: On error resume next Pin
vanikanc2-Aug-12 10:14
vanikanc2-Aug-12 10:14 
QuestionRe: On error resume next Pin
Eddy Vluggen2-Aug-12 12:33
professionalEddy Vluggen2-Aug-12 12:33 
AnswerRe: On error resume next Pin
vanikanc3-Aug-12 3:05
vanikanc3-Aug-12 3:05 
GeneralRe: On error resume next Pin
Eddy Vluggen3-Aug-12 4:02
professionalEddy Vluggen3-Aug-12 4:02 
QuestionSQL Query - write all in one query Pin
Raman samineni1-Aug-12 6:30
Raman samineni1-Aug-12 6:30 
Hello Friends

I have 3 select statments I need to write all in one query How, is it works in MS SQL in Management Studio

Select E.FirstName +' ' + E.LastName as Supervisor
INNER JOIN [cgs].dbo.tems h ON(h.Supervisor = E.EmploId)
where h.temId = 336

Select E.FirstName +' ' + E.LastName as Agent
From [cgs].dbo.Employ E with (NoLock)
where E.EmploId = 2305

Select count(*) As Tras
From CGCSLF
Where Dispo = 'Tras'

Select count(*) As Comp
From CGCSLF
Where Dispo = 'Comp'

SELECT AgeID Sum(Hours) As HOURS
FromCGCSLF
Group By AgeID
Raman

Thank you in advance
AnswerRe: SQL Query - write all in one query Pin
PIEBALDconsult1-Aug-12 8:42
mvePIEBALDconsult1-Aug-12 8:42 
GeneralRe: SQL Query - write all in one query Pin
Raman samineni1-Aug-12 16:02
Raman samineni1-Aug-12 16:02 
GeneralRe: SQL Query - write all in one query Pin
PIEBALDconsult1-Aug-12 18:23
mvePIEBALDconsult1-Aug-12 18:23 
AnswerRe: SQL Query - write all in one query Pin
Mycroft Holmes1-Aug-12 13:17
professionalMycroft Holmes1-Aug-12 13:17 
GeneralRe: SQL Query - write all in one query Pin
Raman samineni1-Aug-12 15:56
Raman samineni1-Aug-12 15:56 
GeneralRe: SQL Query - write all in one query Pin
Mycroft Holmes1-Aug-12 16:25
professionalMycroft Holmes1-Aug-12 16:25 
GeneralRe: SQL Query - write all in one query Pin
Raman samineni2-Aug-12 8:22
Raman samineni2-Aug-12 8:22 
AnswerRe: SQL Query - write all in one query Pin
Eddy Vluggen1-Aug-12 22:34
professionalEddy Vluggen1-Aug-12 22:34 
GeneralRe: SQL Query - write all in one query Pin
Raman samineni2-Aug-12 8:19
Raman samineni2-Aug-12 8:19 
GeneralRe: SQL Query - write all in one query Pin
Eddy Vluggen2-Aug-12 8:59
professionalEddy Vluggen2-Aug-12 8:59 
GeneralRe: SQL Query - write all in one query Pin
Raman samineni6-Aug-12 8:37
Raman samineni6-Aug-12 8:37 
GeneralRe: SQL Query - write all in one query Pin
Raman samineni6-Aug-12 8:39
Raman samineni6-Aug-12 8:39 
QuestionRe: SQL Query - write all in one query Pin
Eddy Vluggen6-Aug-12 8:50
professionalEddy Vluggen6-Aug-12 8:50 
AnswerRe: SQL Query - write all in one query Pin
Raman samineni6-Aug-12 11:11
Raman samineni6-Aug-12 11:11 
RantRe: SQL Query - write all in one query Pin
Eddy Vluggen6-Aug-12 11:30
professionalEddy Vluggen6-Aug-12 11:30 
GeneralRe: SQL Query - write all in one query Pin
Raman samineni8-Aug-12 5:30
Raman samineni8-Aug-12 5:30 
GeneralRe: SQL Query - write all in one query Pin
Eddy Vluggen8-Aug-12 7:00
professionalEddy Vluggen8-Aug-12 7:00 

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.