当前位置:数据库 > SQLServer >>

PLSQL数据导入

PLSQL数据导入
 
导入数据
 
(1)      首先以管理员身份登录plsql;
 
(2)      新建命令窗口
 
 
(3)      创建用户,设置帐号,密码
 
创建语句:create user usernameidentified by password;
 
(4)      创建表空间,
 
创建语句:createtablespace tablespacename datafile ‘路径’ size 100m;
 
(5)      将刚创建的用户默认表空间设置成新建表空间
 
修改语句:alter userusername default tablespace tablespace;
 
(6)      授予创建用户权限
 
语句:grant create session,createtable,create view, unlimited tablespace to username;
 
(7)      更换用户,导入数据库
 
语句:connusername/password
 
@后边跟sql文件的路径
 
导入数据
 
 
选择工具→导入表
 
然后,选择数据文件即可。
 
Oracle
MySQL
Access
SQLServer
DB2
Excel
SQLite
SYBASE
Postgres
如果你遇到数据库难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,