Rewards
Web
Images
Videos
Academic
Dict
Maps
More
Flights
My Bing
Notebook
ANSI_WARNINGS
Sample Sentence
Definition:
All
All
Category:
All
All
,
Oral
Oral
,
Written
Written
,
Title
Title
,
Technical
Technical
Source:
All
All
,
Dictionary
Dictionary
,
Web
Web
Difficulty:
All
All
,
Easy
Easy
,
Middle
Middle
,
Hard
Hard
More sentence filters
Hide sentence filters
1.
The
result
of
an
arithmetic
operator
is
always
nullable
,
even
if the
operands
are
nonnullable
and
ANSI_WARNINGS
or
ARITHABORT is
set
ON
.
即使
操作
数
不可
为
空
并且
ANSI_WARNINGS
或
ARITHABORT
设置
为
ON
,
算术
运算符
的
结果
也
始终
可
为
空
。
jí shǐ
cāo zuò
shù
bù kě
wèi
kōng
bìng qiě
ANSI_WARNINGS
huò
ARITHABORT
shè zhì
wèi
ON
,
suàn shù
yùn suàn fú
de
jié guǒ
yě
shǐ zhōng
kě
wèi
kōng
。
technet.microsoft.com
2.
If
ANSI_WARNINGS
is
ON
but
ARITHABORT is
OFF
,
floating point
domain
errors
do
not
cause
the
query
to
be
terminated
.
如果
ANSI_WARNINGS
为
ON
但
ARITHABORT
为
OFF
,
则
浮点
域
错误
不会
导致
查询
终止
。
rú guǒ
ANSI_WARNINGS
wèi
ON
dàn
ARITHABORT
wèi
OFF
,
zé
fú diǎn
yù
cuò wù
bú huì
dǎo zhì
chá xún
zhōng zhǐ
。
technet.microsoft.com
3.
A
connection
must
have
the
ANSI_NULLS
and
ANSI_WARNINGS
options
set
ON
before
the
connection
can
execute
distributed
queries
.
必须
先
将
连接
的
ANSI_NULLS
和
ANSI_WARNINGS
选项
设置
为
ON
,
然后
该
连接
才能
执行
分布式
查询
。
bì xū
xiān
jiāng
lián jiē
de
ANSI_NULLS
hé
ANSI_WARNINGS
xuǎn xiàng
shè zhì
wèi
ON
,
rán hòu
gāi
lián jiē
cái néng
zhí xíng
fēn bù shì
chá xún
。
msdn2.microsoft.com
4.
If
either ANSI_WARNINGS
or
ARITHABORT are
ON
,
an
error
is
thrown
instead
of
returning
NULL
value
.
如果
ANSI_WARNINGS
或
ARITHABORT
为
ON
,
则
将
引发
错误
,
而不是
返回
NULL
值
。
rú guǒ
ANSI_WARNINGS
huò
ARITHABORT
wèi
ON
,
zé
jiāng
yǐn fā
cuò wù
,
ér bú shì
fǎn huí
NULL
zhí
。
technet.microsoft.com
5.
Added
a
footnote
to
the
Set
Options
table
about
how
setting
ANSI_WARNINGS
to
ON
affects
the ARITHABORT
setting
.
向
Set
选项
表
中
添加
了
有关
将
ANSI_WARNINGS
设置
为
ON
会
如何
影响
ARITHABORT
设置
的
脚注
。
xiàng
Set
xuǎn xiàng
biǎo
zhōng
tiān jiā
le
yǒu guān
jiāng
ANSI_WARNINGS
shè zhì
wèi
ON
huì
rú hé
yǐng xiǎng
ARITHABORT
shè zhì
de
jiǎo zhù
。
technet.microsoft.com
6.
ARITHABORT
settings
are honored
,
if
ANSI_WARNINGS are
set
to
OFF
and
there
is
no
change
to ARITHABORT
.
如果
ANSI_WARNINGS
设置
为
OFF
并且
ARITHABORT
没有
更改
,
则
遵守
ARITHABORT
设置
。
rú guǒ
ANSI_WARNINGS
shè zhì
wèi
OFF
bìng qiě
ARITHABORT
méi yǒu
gēng gǎi
,
zé
zūn shǒu
ARITHABORT
shè zhì
。
technet.microsoft.com
7.
Domain
errors
are
not
controlled
by ANSI_WARNINGS
.
ANSI_WARNINGS
不
控制
域
错误
。
ANSI_WARNINGS
bù
kòng zhì
yù
cuò wù
。
technet.microsoft.com
8.
Domain
errors
are
also
controlled
by
ANSI_WARNINGS
and
are
severity
16
errors
.
域
错误
由
ANSI_WARNINGS
控制
,
并且
是
严重
级别
为
16
的
错误
。
yù
cuò wù
yóu
ANSI_WARNINGS
kòng zhì
,
bìng qiě
shì
yán zhòng
jí bié
wèi
shí liù
de
cuò wù
。
technet.microsoft.com
9.
Added
a
footnote
to the
Set
Options
table
about the
effect
on
the ARITHABORT
setting
when ANSI_WARNINGS is
set
to
ON
.
添加
了
对
“
设置
选项
”
表
的
脚注
,
脚注
涉及
在
将
ANSI_WARNINGS
设置
为
ON
时
对
ARITHABORT
设置
的
影响
。
tiān jiā
le
duì
"
shè zhì
xuǎn xiàng
"
biǎo
de
jiǎo zhù
,
jiǎo zhù
shè jí
zài
jiāng
ANSI_WARNINGS
shè zhì
wèi
ON
shí
duì
ARITHABORT
shè zhì
de
yǐng xiǎng
。
technet.microsoft.com
10.
If
SET
ARITHABORT
is
ON
and SET
ANSI
WARNINGS
is
OFF
,
these
error
conditions
cause
the
batch
to
terminate
.
如果
SETARITHABORT
为
ON
,
但
SETANSIWARNINGS
为
OFF
,
则
这些
错误
情况
将
导致
批处理
终止
。
rú guǒ
SETARITHABORT
wèi
ON
,
dàn
SETANSIWARNINGS
wèi
OFF
,
zé
zhè xiē
cuò wù
qíng kuàng
jiāng
dǎo zhì
pī chǔ lǐ
zhōng zhǐ
。
technet.microsoft.com
1
2