Does the following have predictable behavior, or is this not defined and up to how the database implements it?
select date \'2015-01-02\' > 2015; -- or --