Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. SELECT CreatedDate, Account.CreatedDate FROM Opportunity
  2. WHERE CALENDAR_YEAR(CreatedDate) = 2016
  3.  
  4. SELECT CreatedDate, Account.CreatedDate FROM Opportunity
  5. WHERE CALENDAR_YEAR(Account.CreatedDate) = 2016
  6.  
  7. SELECT CreatedDate, Account.CreatedDate FROM Opportunity
  8. WHERE CALENDAR_YEAR(CreatedDate) = CALENDAR_YEAR(Account.CreatedDate)
  9.  
  10. SELECT CreatedDate, Account.CreatedDate FROM Opportunity
  11. WHERE CALENDAR_YEAR(CreatedDate) = : CALENDAR_YEAR(Account.CreatedDate)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement