当前位置:网站首页>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 ----------------------------------------------------
边栏推荐
- Design specification for mobile folding screen
- 2. Addition and management of Oracle data files
- Redis-01.初识Redis
- 7. Oracle table structure
- ‘mongoexport‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
- Knapsack problem acwing 9 Group knapsack problem
- how to understand the “model independent.“
- 4.Oracle-重做日志文件管理
- [leetcode] day94 reshape matrix
- 2.Oracle-数据文件的添加及管理
猜你喜欢
ADG5412FBRUZ-RL7应用 双电源模拟开关和多路复用器IC
Chinese remainder theorem acwing 204 Strange way of expressing integers
论文阅读报告
20220213-CTF MISC-a_ good_ Idea (use of stegsolve tool) -2017_ Dating_ in_ Singapore
Vant Weapp SwipeCell设置多个按钮
SQL三种连接:内连接、外连接、交叉连接
AE tutorial - path growth animation
Client use of Argo CD installation
P2575 master fight
Chapter 6 relational database theory
随机推荐
5.Oracle-表空间
Getting started with typescript
NotImplementedError: Cannot convert a symbolic Tensor (yolo_boxes_0/meshgrid/Size_1:0) to a numpy ar
4. Oracle redo log file management
2022-5-第四周日报
How to set the drop-down arrow in the spinner- How to set dropdown arrow in spinner?
LeetCode-54
Chinese remainder theorem acwing 204 Strange way of expressing integers
Redis-01.初识Redis
Speedtree01 generator properties
Vscode creates its own code template
C job interview - casting and comparing - C job interview - casting and comparing
vsCode创建自己的代码模板
达梦数据库全部
Adg5412fbruz-rl7 applies dual power analog switch and multiplexer IC
如何正确在CSDN问答进行提问
SQL三种连接:内连接、外连接、交叉连接
3.Oracle-控制文件的管理
Modnet matting model reproduction
5. Oracle tablespace