See Reference Manual: Building Blocks for details.
abs(numeric_expression)
acos(cosine)
ascii(char_expr | uchar_expr)
asin(sine)
atan(tangent )
atn2(sine, cosine)
avg([all | distinct] expression)
ceiling(value)
char(integer_expr)
charindex(expression1, expression2)
char_length(char_expr | uchar_expr)
col_length(object_name, column_name)
col_name(object_id, column_id[, database_id])
compare ({char_expression1|uchar_expression1}, {char_expression2|uchar_expression2}), [{collation_name | collation_ID}]
convert (datatype [(length) | (precision[, scale])] [null | not null], expression [, style])
cos(angle)
cot(angle)
count([all | distinct] expression)
curunreservedpgs(dbid, lstart, unreservedpgs)
data_pgs([dbid], object_id, {data_oam_pg_id | index_oam_pg_id}
datalength(expression)
dateadd(date_part, integer, {date | time | datetime)
datediff(datepart, {date1, date2 | time1 |time2 | datetime1 | datetime2})
datename (datepart, {date | time | datetime})
datepart(date_part, {date |time |datetime})
day(date_expression)
db_id(database_name)
db_name([database_id])
degrees(numeric)
derived_stat({object_name | object_id}, {index_name | index_id}, “statistic”)
difference(expr1,expr2)
exp(approx_numeric)
floor(numeric)
get_appcontext (“context_name”, “attribute_name”)
getdate()
hextoint (hexadecimal_string)
host_id()
host_name()
identity_burn_max(table_name)
index_col (object_name, index_id, key_# [, user_id])
index_colorder (object_name, index_id, key_# [, user_id])
inttohex (integer_expression)
isnull(expression1, expression2)
is_sec_service_on(security_service_nm)
lct_admin({{"lastchance" | "logfull" | "reserved_for_rollbacks"}, database_id |"reserve", {log_pages | 0 } | "abort", process-id [, database-id]})
left(character_expression, integer_expression)
len(string_expression)
license_enabled("ase_server" | "ase_ha" | "ase_dtm" | "ase_java" | "ase_asm")
list_appcontext (["context_name"])
lockscheme(object_name)
Or
lockscheme(object_id [, db_id])
log(approx_numeric)
log10(approx_numeric)
lower(char_expr | uchar_expr)
ltrim(char_expr | uchar_expr)
max(expression)
min(expression)
month(date_expression)
mut_excl_roles (role1, role2 [membership | activation])
newid([optionflag]))
next_identity(table_name)
object_id(object_name)
object_name(object_id[, database_id])
pagesize(object_name [, index_name]) or, pagesize(object_id [,db_id [, index_id]])
patindex("%pattern%", char_expr|uchar_expr [, using {bytes | characters | chars} ] )
pi()
power(value, power)
proc_role ("role_name")
ptn_data_pgs(object_id, partition_id)
radians(numeric)
rand([integer])
replicate (char_expr | uchar_expr, integer_expr)
reserved_pgs(object_id, {doampg | ioampg})
reverse(expression | uchar_expr)
right(expression, integer_expr)
rm_appcontext (“context_name”, “attribute_name”)
role_contain("role1", "role2")
role_id("role_name")
role_name(role_id)
round(number, decimal_places)
rowcnt(sysindexes.doampg)
rtrim(char_expr | uchar_expr)
set_appcontext (“context_name, “attribute_name”, “attribute_value”)
show_role()
show_sec_services()
sign(numeric)
sin(approx_numeric)
sortkey (char_expression | uchar_expression) [, {collation_name | collation_ID}])
soundex(char_expr | uchar_expr)
space(integer_expr)
square(numeric_expression)
sqrt(approx_numeric)
str(approx_numeric [, length [, decimal] ])
replace("string_expression1", "string_expression2", "string_expression3")
stuff(char_expr1 | uchar_expr1, start, length, char_expr2 | uchar_expr2)
substring(expression, start, length )
sum([all | distinct] expression)
suser_id([server_user_name])
suser_name([server_user_id])
syb_quit()
syb_sendmsg ip_address, port_number, message
tan(angle)
tempdb_id()
textptr(column_name)
textvalid("table_name.column_name", textpointer)
to_unichar (integer_expr)
tsequal(browsed_row_timestamp, stored_row_timestamp)
uhighsurr(uchar_expr, start)
ulowsurr(uchar_expr, start)
upper(char_expr)
uscalar(uchar_expr)
used_pgs(object_id, doampg, ioampg)
user
user_id([user_name])
user_name([user_id])
valid_name(character_expression)
valid_user(server_user_id)
year(date_expression)