Created
February 26, 2016 15:08
-
-
Save Gerhard-Kanzler/5639a576ddcf6bfb2922 to your computer and use it in GitHub Desktop.
BETWEEN DB Query
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $sql = ' $von ' BETWEEN validStart AND validStop | |
| OR ' . $bis . ' BETWEEN validStart AND validStop | |
| OR validStart BETWEEN ' . $von . ' AND ' . $bis . ' | |
| OR validStop BETWEEN ' . $von . ' AND ' . $bis . '; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment