Advertisement
infogulch

selecting all columns

May 23rd, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. -- execution plan: http://dl.dropbox.com/u/2925840/ExecutionPlan3.png
  2.  
  3. SELECT * FROM SOP10100 AS Header
  4. WHERE (Header.SOPTYPE = 2 OR Header.SopType = 5) --('Order','Back Order')
  5. AND LEFT(Header.CUSTNMBR, 1) = '3'
  6. --AND Status != 'COMPLETE'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement