oracle基本操作

1.创建用户

create user 用户名 identified by 密码
default tablespace 表空间 
temporary tablespace temp;  


2.给用户授予权限
grant connect,resource,dba to 用户名; 


3.导入数据
@F:/database.sql


4.查询oracle服务名

cmd:
sqlplus / as sysdba;
select global_name from global_name;


5.导出dmp文件

exp user/pwd@服务名 file=导出路径(dmp后缀)


6.查看oracle数据表


猜你喜欢

转载自blog.csdn.net/leadseczgw01/article/details/79300442