Advertisement
BlackRoas2017

GHI

Oct 3rd, 2017
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. [1] || means "or" ↳ OR , || Logical OR. Returns 1 if either argument is not 0 and not NULL.
  2. [2] ! means not() ↳ NOT , ! Logical NOT. Returns 1 if the argument is 0
  3. [3] {f} means timestamp .
  4.  
  5. Comparison operators : If one of the arguments is a TIMESTAMP or DATETIME column and
  6. the other argument is a constant, the constant is converted to a timestamp before the comparison
  7. is performed. This is done to be more ODBC-friendly.
  8.  
  9. [4] `id` is the column .
  10. [5] --%0a means comment and new line .
  11. [6] the @ after is just to stick a char to select, @ is a temporary variable .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement