Adobe COLDFUSION 9 Manual page 452

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
LEADING
LEFT
LOWER
MATCH
MODULE
MONTH
NCHAR
NEXT
NULLIF
NUMERIC
ONLY
OPEN
OUTER
OUTPUT
POSITION
PRECISION
PRIOR
PRIVILEGES
REAL
REFERENCES
RIGHT
ROLLBACK
SECOND
SECTION
SET
SMALLINT
SQL
SQLCODE
SUM
SYSTEM_USER
TIME
TIMESTAMP
TRAILING
TRANSACTION
TRUE
UNION
UPPER
USAGE
VALUES
VARCHAR
WHENEVER
WHERE
YEAR
ZONE
Using Queries of Queries with dates
If you create a query object with the
the dates as a string inside the query object until a Query of Queries is applied to the query object. When ColdFusion
applies a Query of Queries to the query object, it converts the string representations into date objects.
Query of Queries supports date constants in SQL and ODBC format, as follows:
• SQL format: Dates, times, or timestamps in one of the following format:
• Date string: yyyy-mm-dd, for example, 1955-06-13.
• Time string: hh:mm:ss[.[nnn]], for example, 14:34:30.75.
• Timestamp string: yyyy-mm-dd hh:mm:ss[.[nnn]], for example, 1924-01-14 12:00:00.000.
• ODBC format: Dates, times, or timestamps in one of the following format:
• Date string: {d 'value'}, for example, {d '2004-07-06'}.
• Time string: {t 'value'}, for example, {t '13:45:30'}.
• Timestamp string: {ts 'value'}, for example, {ts '2004-07-06 13:45:30'}.
LEVEL
MAX
NAMES
NO
OCTET_LENGTH
OPTION
OVERLAPS
PREPARE
PROCEDURE
RELATIVE
ROWS
SELECT
SOME
SQLERROR
TABLE
TIMEZONE_HOUR
TRANSLATE
UNIQUE
USER
VARYING
WITH
function and populate a column with date constants, ColdFusion stores
QueryNew
Last updated 8/5/2010
LIKE
LOCAL
MIN
MINUTE
NATIONAL
NATURAL
NOT
NULL
OF
ON
OR
ORDER
PAD
PARTIAL
PRESERVE
PRIMARY
PUBLIC
READ
RESTRICT
REVOKE
SCHEMA
SCROLL
SESSION
SESSION_USER
SPACE
SQLSTATE
SUBSTRING
TEMPORARY
THEN
TIMEZONE_MINUTE
TO
TRANSLATION
TRIM
UNKNOWN
UPDATE
USING
VALUE
VIEW
WHEN
WORK
WRITE
447

Advertisement

Table of Contents
loading

Table of Contents