Skip to content

Commit

Permalink
Update data-types.md (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanyiLee authored Nov 9, 2023
1 parent f1f3444 commit 365da28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/MatrixOne/Reference/Data-Types/data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ mysql> select * from inttable order by a desc, 2 asc;
```sql
-- Create a table named "inttable" with 2 attributes of a "bigint", a "bigint unsigned",
drop table inttable;
create table inttable ( a bigint, big bigint primary key );
create table inttable ( a bigint, big bigint unsigned primary key );
insert into inttable values (122345515, 0xFFFFFFFFFFFFE), (1234567, 0xFFFFFFFFFFFF0);

mysql> select * from inttable;
Expand Down Expand Up @@ -184,7 +184,7 @@ mysql> select name,age from names;
- BINARY 和 VARBINARY

```sql
-- Create a table named "names" with 2 attributes of a "varchar" and a "char"
-- Create a table named "names" with 2 attributes of a "VARBINARY" and a "BINARY"
create table names(name varbinary(255),age binary(255));
insert into names(name, age) values('Abby', '24');
insert into names(name, age) values("Bob", '25');
Expand Down

0 comments on commit 365da28

Please sign in to comment.