-
Notifications
You must be signed in to change notification settings - Fork 13
SQL logical condition operator AND OR option
Tako Lee edited this page Mar 6, 2014
·
7 revisions
AND/OR option is used to set format option of AND/OR operator in condition.
- Type name: TFmtANDOR
- Available values:
- value: 0, text: at_the_end_of_line
- value: 1, text: at_the_begin_of_line
- value: 2, text: at_the_begin_of_line_outside
- value: 3, text: at_the_begin_of_line_left_align_with_main_keyword
- value: 4, text: at_the_begin_of_line_right_align_with_main_keyword
-
AND/OR at the end of line
SELECT e.employee_id, d.location_id FROM employees e,departments d WHERE e.department_id = d.department_id AND e.last_name = 'Matos';
-
AND/OR at the begin of line
SELECT e.employee_id, d.location_id FROM employees e,departments d WHERE e.department_id = d.department_id AND e.last_name = 'Matos';