1. Add fields: alter table table name ADD field name type; eg: alter table sys_cwzd ADD SCCLLJ VARCHAR2(50); 2. Add remarks: comment on column table name. Field name is 'remark name'; eg: comment on column sys_cwzd.SCCLLJ is 'Upload material path'; Content extension: Add a new field: alter table bulletin add citycode varchar(6) not null default 0; # city code 1. Set the encoding when creating the database create database test character set utf8; 2. Set the encoding when creating a table create table test(id int primary key)DEFAULT charset=utf8; 3. Modify the database encoding alter database test character set utf8; 4. Modify the default encoding of the table alter table test character set utf8; You may also be interested in:
|
<<: Detailed explanation of Vue's methods and properties
>>: CentOS 6 uses Docker to deploy Zookeeper operation example
The paging effect is implemented in the vue proje...
chmod Command Syntax This is the correct syntax w...
1. Analytical thinking 1. Eliminate the machine...
question I encountered a problem when writing dat...
Operating system: Window10 MySQL version: 8.0.13-...
When talking about this issue, some people may ask...
It is too troublesome to find the installation tu...
I have never been able to figure out whether the ...
Scenario Description In a certain system, the fun...
In actual web page development, accordions also a...
After setting the table width in the page to width...
Recently, there is a particularly abnormal busine...
Table of contents Preface 1. Props, $emit one-way...
Many web designers are confused about the width of...
Table of contents 1. Select database USE 2. Displ...