Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select wonum
- , projectname
- , status
- , description
- , jpnum
- , supervisor
- , location
- , assetnum
- , actfinish
- , reportedby
- , reportdate
- from workorder
- where istask = 0
- and commoditygroup = 'ENG'
- and commodity = 'DES'
- and status not in ('CAN', 'NWA')
- and vendor = '632734'
- and projectname IS NOT NULL
- and (actfinish > DATEADD(year,-1,GETDATE()) OR actfinish IS NULL);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement