一.Oracle --创建表 create table test ( id varchar2(200) primary key not null, sort number, name varchar(200) ) --字段加注释 comment on column test.id is 'id'; comment on column test.sort is '序号'; --表加注释 comment on table test is '测试表' 二.Mysql -…
1.创建用户,并授权SELECT查询权限,授权远程访问权限,注意,命令中username/password指用户名密码,请自己指定.若要限制仅指定IP可以使用此用户访问Mysql,将%改为具IP即可,dbname指定限制的数据库,如果是全部则改为*. GRANT SELECT ON dbname.* TO 'username'@'%' IDENTIFIED BY "password"; 2.刷新mysql权限,使用户创建.授权生效. FLUSH PRIVILEGES; privileg…
给字段加注释 comment on column testtb17.AGE is '年龄';comment on column testtb17.CREATEDTIME is '创建时间';comment on column testtb17.ID is '唯一标识';comment on column testtb17.NAME is '名字'; 给表加注释comment on table testtb17 is 'SEVENTEEN';…