Skip to content

Commit 8c54fa1

Browse files
committed
Fix italic font issue by applying sql-style code block formatting.
1 parent ea9f546 commit 8c54fa1

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

CN/modules/ROOT/pages/master/7.17.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ IvorySQL提供兼容Oracle的NLS参数功能。
3030

3131
=== NLS 日期掩码设置
3232
示例:
33-
```c
33+
```sql
3434
ivorysql=# set ivorysql.datetime_ignore_nls_mask = 0;
3535
SET
3636
ivorysql=# select '2025-10-15 11:00:00.102030 CST'::oratimestamp ;
@@ -48,7 +48,7 @@ ivorysql=# select '2025-10-15 11:00:00.102030 CST'::oratimestamp ;
4848
4949
=== 禁用NLS日期/时间戳参数
5050
示例:
51-
```c
51+
```sql
5252
ivorysql=# select '2025-10-15 11:00:00.102030 '::oratimestamp ;
5353
oratimestamp
5454
----------------------------
@@ -65,7 +65,7 @@ LINE 1: select '2025-10-15 11:00:00.102030 '::oratimestamp ;
6565
=== 设置nls_length_semantics
6666
IvorySQL使用nls_length_semantics参数的值来决定长度类型,有byte和char两种值,默认为byte。
6767
示例:
68-
```c
68+
```sql
6969
vorysql=# alter session set nls_length_semantics = char;
7070
SET
7171
ivorysql=# create table character_tb(char_c char(6), char_b varchar2(6 byte), char_v varchar(6));
@@ -87,7 +87,7 @@ ivorysql=# select length(char_b), length(char_c), length(char_v) from character_
8787
```
8888
=== 设置NLS货币符号
8989
示例:
90-
```c
90+
```sql
9191
ivorysql=# show ivorysql.identifier_case_switch;
9292
ivorysql.identifier_case_switch
9393
---------------------------------

EN/modules/ROOT/pages/master/7.17.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The following parameters are included:
3030
=== NLS Date Mask Settings
3131

3232
Example:
33-
```c
33+
```sql
3434
ivorysql=# set ivorysql.datetime_ignore_nls_mask = 0;
3535
SET
3636
ivorysql=# select '2025-10-15 11:00:00.102030 CST'::oratimestamp ;
@@ -49,7 +49,7 @@ ivorysql=# select '2025-10-15 11:00:00.102030 CST'::oratimestamp ;
4949
=== Disabling NLS Date or Timestamp Format
5050
5151
Example:
52-
```c
52+
```sql
5353
ivorysql=# select '2025-10-15 11:00:00.102030 '::oratimestamp ;
5454
oratimestamp
5555
----------------------------
@@ -68,7 +68,7 @@ LINE 1: select '2025-10-15 11:00:00.102030 '::oratimestamp ;
6868
IvorySQL uses the value of the `nls_length_semantics` parameter to determine the length type, which can be either BYTE or CHAR (default is BYTE )。
6969

7070
Example:
71-
```c
71+
```sql
7272
ivorysql=# alter session set nls_length_semantics = char;
7373
SET
7474
ivorysql=# create table character_tb(char_c char(6), char_b varchar2(6 byte), char_v varchar(6));
@@ -92,7 +92,7 @@ ivorysql=# select length(char_b), length(char_c), length(char_v) from character_
9292
=== NLS Currency Symbols Settings
9393
9494
Example:
95-
```c
95+
```sql
9696
ivorysql=# show ivorysql.identifier_case_switch;
9797
ivorysql.identifier_case_switch
9898
---------------------------------

0 commit comments

Comments
 (0)