Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- IF (factura != '' AND year(fecha) = 2019)
- true
- ELSE
- false
- as check FROM [DB01].dbo.tablaalb;
- SELECT IF(factura != '' and year(fecha) = 2019,true,false) as check
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement