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 2005 Forums
 Transact-SQL (2005)
 two ons,

Author  Topic 

lovehui
Yak Posting Veteran

60 Posts

Posted - 2009-03-26 : 11:15:04

inner join TRANS  TR
on L.TRAN_ID=TR.TRAN_ID AND ON L.TILL_ID=TR.TILL_ID

Thanks for correct it

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-03-26 : 11:19:27
[code]SELECT ...
FROM ... AS l
INNER JOIN TRANS AS tr ON tr.TRAN_ID = l.TRAN_ID
AND tr.TILL_ID = l.TILL_ID[/code]


E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page
   

- Advertisement -