安全 SQL 函数、操作和令牌
为帮助确保环境的安全、创建的以及面向 Infor Cloud 源的任何 SQL 语句将根据安全 SQL 构造列表进行解析。SQL 查询语法必须符合 SQL ANSI 92 标准。列表仅应用于 Infor Cloud 源可能受影响的情况。
允许以下 SQL 函数、操作和令牌:
Functions and operations | Tokens |
---|---|
abs | All |
acos | Ampersand |
ascii | And |
asin | Any |
atan | As |
atan2 | Asc |
avg | AsciiStringLiteral |
cast | AsciiStringOrQuotedIdentifier |
ceiling | Between |
char | By |
charindex | Case |
concat | Circumflex |
cos | Coalesce |
cot | Colon |
count | Comma |
cume_dist | Cross |
current_timestamp | Delete |
datefomparts | Desc |
datepart | Distinct |
datetime2fromparts | Divide |
datetimefromparts | Dot |
datetimeoffsetfromparts | Double |
degrees | DoubleColon |
dense_rank | Else |
exp | End |
first_value | EqualsSign |
floor | Except |
format | Exists |
getdate | Fetch |
grouping | From |
grouping_id | Full |
lag | GreaterThan |
last_value | Group |
lead | Having |
left | HexLiteral |
len | Identifier |
log | In |
log10 | Inner |
lower | Insert |
ltrim | Integer |
max | Intersect |
min | Into |
ntile | Is |
percent_rank | Join |
percentile_cont | Left |
percentile_disc | LeftCurly |
pi | LeftParenthesis |
power | LessThan |
radians | Like |
rand | Merge |
rank | Minus |
replace | MultilineComment |
replicate | Not |
reverse | Null |
right | Nullif |
round | Numeric |
row_number | On |
rtrim | Or |
sign | Order |
sin | Outer |
sqrt | Over |
stdev | Percent |
stdevp | PercentSign |
substring | Plus |
sum | QuoteIdentifier |
sysdatetime | Real |
sysdatetimeoffset | Right |
tan | RightCurly |
timefromparts | RightOuterJoin |
trim | RightParenthesis |
upper | Select |
var | Semicolon |
varp | Set |
SingleLineComment | |
Some | |
Star | |
Then | |
Tilde | |
UnicodeStringLiteral | |
Union | |
Update | |
Values | |
Variable | |
VerticalLine | |
When | |
Where | |
WhiteSpace |