Versions Compared
Version | Old Version 1 | New Version 2 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Table of Contents |
---|
Supported MySQL Statements and Uses
MySQL is used in the following All On Mobile functionality:
- Visibility
- Paging
- Off-line Databases' for dropdown menus and validation
- Simple calculations (+ / - *)
- Validation of a Field’s contents
Supported SQL Statement
MySQL | Examples | Notes |
---|---|---|
SELECT, LIKE & WHERE | SELECT Employee_Name, Employee_DOB FROM Employees WHERE Employee_Name LIKE ‘Dave%’ LIMIT 20 | It is important to LIMIT the results when the SELECT or LIKE functions are used. This prevents to many results from being displayed and slowing the mobile device. NOTE: Where you are likely to return over 50 results use LIMIT to restrict the returned results to a manageable number. |
=, !=, >, <, >=, ==, <> |
| A list of SQL Operators and their function can be found at: |
AND & OR | SELECT * FROM Customers WHERE Country = 'Germany' AND (City = 'Berlin' OR City = ‘München') | Remember to use parenthesis to form complex expressions otherwise you may end up with conflicting logical operators. |
+ & - | SELECT ${Price} + ${VAT} - ${Discount} | Simple addition and subtraction operators. |