Sql Notes And Considerations - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

Chapter 3: Querying a Database
Operators
These specify conditions and perform logical and numeric functions:
Basic SQL Operators
Operator
AND
OR
NOT
=
<>
<
>
<=
>=
+
-
/
*

SQL Notes and Considerations

Keep the following in mind when writing SQL in ColdFusion:
There is a lot more to SQL than what is covered here. It's a good idea to
purchase one or several SQL guides that you can refer to.
The data source, columns, and tables that you reference must exist in order to
perform a successful query.
Some DBMS vendors use non-standard SQL syntax (known as a dialect) in their
products. ColdFusion does not validate the SQL in a CFQUERY, so you are free
to use any syntax that is supported by your data source. Check your DBMS
documentation for non-standard SQL usage.
Description
Both conditions must be met, such as Paris AND Texas
At least one condition must be met, such as Smith OR Smyth
Exclude the condition following, such as Paris NOT France
Equal to
Not equal to
Less than
Greater than
Less than or equal to
Greater than or equal to
Addition
Subtraction
Division
Multiplication
23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 4.5

Table of Contents