Home > Database > Mysql Tutorial > How to modify a field to null in mysql

How to modify a field to null in mysql

coldplay.xixi
Release: 2020-10-19 14:11:52
Original
16994 people have browsed it

Mysql method to modify the field to null: 1. Create a new query and use statement settings; 2. Double-click to open the table, sort by time to find the record that needs to be modified, and click on the [finish_time] of the record Just right-click and set null.

How to modify a field to null in mysql

Mysql method to modify the field to null:

1, sql syntax

Create a new query and use the statement setting: update p_order set finish_time=null where id='XXXX'

2. Set in navicat for mysql

Double-click to open the p_order table, find the record that needs to be modified by sorting by time, and right-click on the finish_time of the record (no need to delete the data). After right-clicking, it will be set to Null (English: Set to Null), and the result will be Has been set to Null value.

Related free learning recommendations: mysql database(Video)

The above is the detailed content of How to modify a field to null in mysql. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template