Question : Do you know how to select fields from 2 files based on a join of the files?

Do you know how to select fields from 2 files as follows:

--select * from dbo.tSOXUsrRequest As U
--WHERE appname = 'BRS' and userid = 'quincy'

select * from dbo.tSOXSignOff As S
WHERE U.reqID = S.reqID and S.dtUsrSignOff is Null
and U.appname = 'BRS' and U.userid = 'quincy'

Answer : Do you know how to select fields from 2 files based on a join of the files?

SELECT *
FROM tSOXUsrRequest
LEFT JOIN tSOXSignOff ON tSOXUsrRequest.reqID = tSOXSignOff.reqID
WHERE  (tSOXUsrRequest.appname = 'BRS' and tSOXUsrRequest.userid = 'quincy')
Random Solutions  
 
programming4us programming4us