Click here to Skip to main content
15,914,111 members
Home / Discussions / Database
   

Database

 
GeneralRe: ORA-12505 Pin
Shajeel11-Jul-07 18:27
Shajeel11-Jul-07 18:27 
QuestionConnection problem pls help Pin
micydon9-Jul-07 21:39
micydon9-Jul-07 21:39 
AnswerRe: Connection problem pls help Pin
Paul Conrad13-Jul-07 11:53
professionalPaul Conrad13-Jul-07 11:53 
QuestionHelp needed for an user defined Function Pin
Exelioindia9-Jul-07 21:14
Exelioindia9-Jul-07 21:14 
AnswerRe: Help needed for an user defined Function Pin
WoutL9-Jul-07 22:53
WoutL9-Jul-07 22:53 
GeneralRe: Help needed for an user defined Function Pin
Exelioindia9-Jul-07 23:02
Exelioindia9-Jul-07 23:02 
AnswerRe: Help needed for an user defined Function Pin
gauthee9-Jul-07 23:26
gauthee9-Jul-07 23:26 
QuestionRight Outer Join Probs... Pin
Member 38798819-Jul-07 20:19
Member 38798819-Jul-07 20:19 
SELECT DISTINCT dbo.magdates.mydate, EM.empId AS EId, EM.empName AS EName,
TC.carddate, TC.shift, PM.location, TC.reportingtime AS FromTime,
TC.leavingtime AS ToTime, MHD.AppWHours AS Reg, MHD.AppOtHours AS Ot,
MHD.AppSHours AS SReg, MHD.AppSOtHours AS SOt, SD.Whrs
FROM dbo.tblTimeCardmain TC
INNER JOIN dbo.tblEmployeeMaster EM ON EM.empId = TC.empid
INNER JOIN dbo.tblsalarydetails SD ON SD.EmpID = TC.empid
INNER JOIN dbo.tblProjectMaster PM ON PM.projectID = TC.projectid
INNER JOIN dbo.tblMonthHourDetails MHD ON MHD.EmpId = TC.empid
RIGHT OUTER JOIN dbo.magdates ON TC.carddate = dbo.magdates.mydateWHERE (EM.empId = 213) AND (DATEPART(mm, TC.carddate) = 6) AND
(DATEPART(yyyy, TC.carddate) = 2007) ORDER BY TC.carddate

Hi this is my query...,
See in that magdates table contain dates between 6/1/2007 to 6/30/2007...,
But the tbltimecardmain contain dates between 6/1/2007 to 6/28/2007 only...,
So i used right outer join and selected all the dates from magdates table...,
But its giving only what are the dates contain tbltimecardmain those dates only...,
But i want show the dates 6/29/2007 and 6/30/2007 also...,
How to display magdates all the dates...,
hlp me plz,
Advance Thanks,





Regards,
Magi

QuestionPassing an array to stored procedures Pin
M. J. Jaya Chitra9-Jul-07 18:40
M. J. Jaya Chitra9-Jul-07 18:40 
AnswerRe: Passing an array to stored procedures Pin
Sathesh Sakthivel9-Jul-07 19:16
Sathesh Sakthivel9-Jul-07 19:16 
QuestionQuery Insert Date? Pin
Vodstok9-Jul-07 16:14
Vodstok9-Jul-07 16:14 
AnswerRe: Query Insert Date? Pin
Frank Kerrigan16-Jul-07 2:32
Frank Kerrigan16-Jul-07 2:32 
QuestionQuery probs............., Pin
Member 38798819-Jul-07 3:36
Member 38798819-Jul-07 3:36 
AnswerRe: Outer join problem Pin
andyharman9-Jul-07 6:49
professionalandyharman9-Jul-07 6:49 
GeneralRe: Outer join problem Pin
Member 38798819-Jul-07 19:07
Member 38798819-Jul-07 19:07 
Questionhow to connect a database in sql with vb6 application Pin
treem jone9-Jul-07 1:42
treem jone9-Jul-07 1:42 
AnswerRe: how to connect a database in sql with vb6 application Pin
Pete O'Hanlon9-Jul-07 1:48
mvePete O'Hanlon9-Jul-07 1:48 
AnswerRe: how to connect a database in sql with vb6 application Pin
Sven Cipido9-Jul-07 20:23
Sven Cipido9-Jul-07 20:23 
QuestionCreation of table Pin
Ashish Vohra9-Jul-07 1:33
Ashish Vohra9-Jul-07 1:33 
AnswerRe: Creation of table Pin
SHatchard9-Jul-07 2:02
SHatchard9-Jul-07 2:02 
AnswerRe: Creation of table Pin
sam#9-Jul-07 2:05
sam#9-Jul-07 2:05 
AnswerRe: Creation of table Pin
Krish - KP9-Jul-07 2:11
Krish - KP9-Jul-07 2:11 
QuestionBackup or restore Pin
jaics2629-Jul-07 0:46
jaics2629-Jul-07 0:46 
AnswerRe: Backup or restore Pin
Paul Conrad13-Jul-07 11:54
professionalPaul Conrad13-Jul-07 11:54 
QuestionProblem inserting data in SQL Server 2000 Pin
Mubashir Javaid8-Jul-07 22:12
Mubashir Javaid8-Jul-07 22:12 

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.