Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. SELECT
  2. IF (factura != '' AND year(fecha) = 2019)
  3. true
  4. ELSE
  5. false
  6. as check FROM [DB01].dbo.tablaalb;
  7.  
  8. SELECT IF(factura != '' and year(fecha) = 2019,true,false) as check
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement