Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 join error

Author  Topic 

chitrasuresh
Starting Member

1 Post

Posted - 2011-12-26 : 03:50:12
hi all, i used the following query
select ExpenditureDetails.Expenditureid,
ExpenditureDetails.EmployeeId,
ExpenditureDetails.categeoryid,
ExpenditureDetails.Expenditurefor,
ExpenditureDetails.Amount,
Approvaldtls.Name ,Approvaldtls.Statusdtls from ExpenditureDetails
join Approvaldtls on ExpenditureDetails.EmployeeId=Approvaldtls.EmployeeId
where Approvaldtls.Statusdtls='Approved'
is there any wrong in this query

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-12-26 : 05:33:14
doesnt look like there's any. Why are you getting any error?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -