Advertisement
Guest User

Untitled

a guest
May 30th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. Select a.mkey, c.type_desc DOC_TYPE, a.doc_no INWARD_NO,
  2. convert(varchar, a.doc_date,103)date, a.to_user, a.No_of_pages,
  3. Ref_No, d.type_desc DEPT_RECEIVED, b.first_name + ' ' + b.last_name EMP_RECEIVED,
  4. b.first_name + ' ' + b.last_name NAME, b.email, a.Oracle_doc_no ORACLE_DOC_NO
  5. from inward_doc_tracking_hdr a , user_mst b ,type_mst_a c,type_mst_a d
  6. where a.to_user = b.mkey and a.doc_type = c.master_mkey
  7. and a.dept_received = d.Master_mkey and a.to_user = '1172'
  8. and a.doc_no = 'IW/16/66'
  9.  
  10. select * from inward_doc_tracking_hdr where doc_no = 'IW/16/66'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement