当前位置:网站首页>Database mysql all
Database mysql all
2022-07-05 06:36:00 【LZYmarks】
mysql Corresponding to the data type Java type


-------------------------------------------- Report errors ----------------------------------------------------
When creating a database table, there is one more comma
CREATE TABLE `login` (
Field , Field , Field , Field , <--------- That's the comma
) ENGINE=InnoDB DEFAULT CHARSET=utf8
-------------------------------------------/ Report errors ----------------------------------------------------
-------------------------------------------- Build table ----------------------------------------------------
Self incrementing and unique indexes will not be created
CREATE TABLE usertable(
user_id INT(30) PRIMARY KEY AUTO_INCREMENT,
user_name VARCHAR(200) UNIQUE NOT NULL,
NAME VARCHAR(200) NOT NULL,
document_type VARCHAR(200) NOT NULL,
document_num INT(18) NOT NULL,
phone_num INT(16) UNIQUE NOT NULL,
email VARCHAR(200) NOT NULL,
login_password VARCHAR(200) NOT NULL,
pay_password INT(6) NOT NULL,
user_state INT(1)
)
-------------------------------------------/ Build table ----------------------------------------------------
边栏推荐
- LSA Type Explanation - lsa-5 (type 5 LSA - autonomous system external LSA) and lsa-4 (type 4 LSA - ASBR summary LSA) explanation
- Getting started with typescript
- 博弈论 AcWing 893. 集合-Nim游戏
- Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging
- 7. Oracle table structure
- Vant Weapp SwipeCell設置多個按鈕
- Game theory acwing 894 Split Nim game
- Client use of Argo CD installation
- 2022-5-第四周日报
- LeetCode-61
猜你喜欢

ollvm编译出现的问题纪录

区间问题 AcWing 906. 区间分组

NotImplementedError: Cannot convert a symbolic Tensor (yolo_boxes_0/meshgrid/Size_1:0) to a numpy ar

Vscode creates its own code template

20220213-CTF MISC-a_ good_ Idea (use of stegsolve tool) -2017_ Dating_ in_ Singapore

Suppose a bank's ATM machine, which allows users to deposit and withdraw money. Now there is 200 yuan in an account, and both user a and user B have the right to deposit and withdraw money from this a

代码中的英语全部

Bash exercise 17 writing scripts to install the server side of FRP reverse proxy software

达梦数据库全部

【LeetCode】Easy | 20. Valid parentheses
随机推荐
2022-5-第四周日报
1.手动创建Oracle数据库
Vant Weapp SwipeCell設置多個按鈕
Record of problems in ollvm compilation
Chinese remainder theorem acwing 204 Strange way of expressing integers
VLAN experiment
2. Addition and management of Oracle data files
LSA Type Explanation - lsa-1 [type 1 LSA - router LSA] detailed explanation
Vant weave swipecell sets multiple buttons
高斯消元 AcWing 884. 高斯消元解异或线性方程组
P2575 master fight
[QT] QT multithreading development qthread
How to understand the definition of sequence limit?
5. Oracle tablespace
confidential! Netease employee data analysis internal training course, white whoring! (attach a data package worth 399 yuan)
Record the process of configuring nccl and horovod in these two days (original)
LSA Type Explanation - detailed explanation of lsa-2 (type II LSA network LSA) and lsa-3 (type III LSA network Summary LSA)
AE tutorial - path growth animation
7. Oracle table structure
5. Oracle TABLESPACE