Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » SQL Anywhere 服务器 - 数据库管理 » 数据库配置 » 数据库选项 » 选项分类 » 兼容性选项

 

Transact-SQL 和 SQL/2008 的兼容性选项

下表列出了兼容性选项、其允许值及缺省设置。

选项 缺省值
allow_nulls_by_default 选项 On、Off On
ansi_blanks 选项 On、Off Off
ansi_close_cursors_on_rollback 选项 On、Off Off
ansi_permissions 选项 On、Off On
ansi_update_constraints 选项 Off、Cursors、Strict Cursors
ansinull 选项 On、Off On
chained 选项 On、Off On
close_on_endtrans 选项 On、Off On
continue_after_raiserror 选项 On、Off On
conversion_error 选项 On、Off On
date_format 选项 字符串 YYYY-MM-DD
date_order 选项 MDY、YMD、DMY YMD
divide_by_zero_error 选项 On、Off On
escape_character 选项 保留 保留
fire_triggers 选项 On、Off On
isolation_level 选项 0, 1, 2, 3 0
nearest_century 选项 0 到 100(含)之间的整数 50
non_keywords 选项 字符串(以逗号分隔的关键字列表) 空字符串(不关闭任何关键字)
on_tsql_error 选项 Stop、Conditional、Continue Conditional
quoted_identifier 选项 On、Off On
reserved_keywords 选项 字符串(以逗号分隔的关键字列表) 空字符串(不关闭任何关键字)
sql_flagger_error_level 选项 Off、SQL:1992/Entry、SQL:1992/Intermediate、SQL:1992/Full、SQL:1999/Core、SQL:1999/Package、SQL:2003/Core、SQL:2003/Package、UltraLite Off
sql_flagger_warning_level 选项 Off、SQL:1992/Entry、SQL:1992/Intermediate、SQL:1992/Full、SQL:1999/Core、SQL:1999/Package、SQL:2003/Core、SQL:2003/Package、UltraLite Off
string_rtruncation 选项 On、Off On
time_format 选项 字符串 HH:NN:SS.SSS
timestamp_format 选项 字符串 YYYY-MM-DD HH:NN:SS.SSS
tsql_outer_joins 选项 On、Off Off
tsql_variables 选项 On、Off Off