mysql:show databases;use databases;
show tables;
alter table …add 字段名,数据类型
alter table … drop 字段名
alter table …modify 字段名,数据类型
alter table … change 原字段名 新字段名 数据类型
修改表名 alter table 原表名 to 新表名
Oracle:user_tables:用户拥有的表
all_table 用户可以访问的表
create user … identified by
create database …
datafile …
size …
autoextend on
connect 普通用户,能访问表
resource,开发者,能创建表
dba 管理员,最高权限
grante …to
revoke… from
mysql,oracle
最新推荐文章于 2024-04-28 18:48:43 发布