Neoview SQL Reference Manual (R2.4)

Extracts a substring from a character string.“SUBSTRING/SUBSTR Function” (page 454)
Translates a character string from a source character set
to a target character set.
“TRANSLATE Function” (page 462)
Removes leading or trailing characters from a character
string.
“TRIM Function” (page 463)
Upshifts alphanumeric characters. You can also use
UPSHIFT or UPPER.
“UCASE Function” (page 464)
Upshifts alphanumeric characters. You can also use
UPSHIFT or UCASE.
“UPPER Function” (page 472)
Upshifts alphanumeric characters. You can also use UPPER
or UCASE.
“UPSHIFT Function” (page 473)
See the individual entry for the function.
Datetime Functions
These functions use either a datetime value expression as an argument or return a result of
datetime data type:
Adds the integer number of months specified by
intr_expr to datetime_expr and normalizes the
result.
ADD_MONTHS Function” (page 326)
Converts a Julian timestamp to a TIMESTAMP value.“CONVERTTIMESTAMP Function” (page 347)
Returns the current timestamp. You can also use the
“CURRENT_TIMESTAMP Function”.
“CURRENT Function” (page 352)
Returns the current date.“CURRENT_DATE Function” (page 353)
Returns the current time.“CURRENT_TIME Function” (page 355)
Returns the current timestamp. You can also use the
“CURRENT Function”.
“CURRENT_TIMESTAMP Function” (page 356)
Adds the interval specified by interval_expression
to datetime_expr.
“DATE_ADD Function” (page 358)
Subtracts the specified interval_expression from
datetime_expr.
“DATE_SUB Function” (page 359)
Extracts the datetime field specified by text from the
interval value specified by interval and returns the
result as an exact numeric value.
“DATE_PART Function (of an Interval)” (page 363)
Extracts the datetime field specified by text from the
datetime value specified by timestamp and returns the
result as an exact numeric value.
“DATE_PART Function (of a Timestamp)” (page 364)
Returns the date with the time portion of the day
truncated.
“DATE_TRUNC Function” (page 365)
Adds the interval specified by datepart and num_expr
to datetime_expr.
“DATEADD Function” (page 360)
Returns the integer value for the number of datepart
units of time between startdate and enddate.
“DATEDIFF Function” (page 361)
Formats a datetime value for display purposes.“DATEFORMAT Function” (page 362)
Returns an integer value in the range 1 through 31 that
represents the corresponding day of the month. You can
also use DAYOFMONTH.
“DAY Function” (page 366)
Returns the name of the day of the week from a date or
timestamp expression.
“DAYNAME Function” (page 367)
Categories 319