Advertisement
androlizer

Untitled

Apr 22nd, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. Select only filelds of "00" or "UU" which is inprogress and un-delivered
  2.  
  3. The Second: You said it'll show two entries for same JOB
  4. yes you are right and this is the problem which mentioned by our DBA , but
  5. he overcome it by applying filer to select statement
  6.  
  7.  
  8. WHERE (dbo.Issue.SYSTEM = 1) AND (dbo.Status.Result_code = '00') OR
  9.  
  10. (dbo.Issue.SYSTEM = 1) AND (dbo.Status.Result_code =
  11. 'UU') "
  12.  
  13.  
  14. This filter is used to select only the last status of the job , so by
  15. applying the above statements you will find only one job in App and admin
  16. panel which is unique and status in inprogress and un-delivered
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement