oracle 11g服务器,plsql客户端安装配置

  1. 安装oracle
oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

二、数据库配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置


oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

  1. 配置监听服务
oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

配置已完成,点击下一步或点击关闭即可。

oracle 11g服务器,plsql客户端安装配置

三、配置监听

oracle 11g服务器,plsql客户端安装配置

主机为计算机名称

oracle 11g服务器,plsql客户端安装配置

配置数据库服务----添加数据库

oracle 11g服务器,plsql客户端安装配置

SID长度必须在8位以下

oracle 11g服务器,plsql客户端安装配置

配置服务器名。选择服务命名,点击加号

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

配置完成需保存。如图:

oracle 11g服务器,plsql客户端安装配置

四、Plsql安装

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

oracle 11g服务器,plsql客户端安装配置

  1. plsql 登陆
oracle 11g服务器,plsql客户端安装配置

  1. 建立表空间,建立用户,给用户赋权

执行下列语句:

create temporary tablespace prison_temp //临时表空间名

tempfile 'd:prison_temp.dbf' //存放临时表空间的文件路径

size 50m

autoextend on

next 50m maxsize unlimited

extent management local;

create tablespace prison_data //数据表空间名

logging

datafile 'd:prison_qpkss.dbf' //存放数据表空间的文件路径

size 50m

autoextend on

next 50m maxsize unlimited

extent management local;

create user prison_qpkss identified by 密码 default tablespace prison_data //建立用户名密码,指定数据表空间名字

temporary tablespace prison_temp; //指定临时表空间名字

grant connect,resource,dba to prison_qpkss; //给用户赋权

基本sql语句(增删改查)

使用select * from student; 查看结果

  1. (增)添加数据

语法:insert into 表名 values(值1,值2,…);

举例:insert into student values (1,'qinbin',18);

2、删除数据

语法:DELETE FROM 表名 [WHERE 条件表达式

举例:删除student表中的id值为7的记录

命令:DELETE FROM student WHERE id=7;

3、(改)更新数据

语法:UPDATE student

    SET name=‘caocao’,grade=50

    WHERE id=1;

举例:将student表中id值为1=记录,将其name字段的值改为‘caocao’,grade字段的值改为50。

先查询之前的记录:SELECT * FROM student WHERE id=1;

展开阅读全文

页面更新:2024-05-10

标签:字段   语句   语法   路径   数据表   客户端   名字   服务器   数据库   数据   用户   空间

1 2 3 4 5

上滑加载更多 ↓
推荐阅读:
友情链接:
更多:

本站资料均由网友自行发布提供,仅用于学习交流。如有版权问题,请与我联系,QQ:4156828  

© CopyRight 2008-2024 All Rights Reserved. Powered By bs178.com 闽ICP备11008920号-3
闽公网安备35020302034844号

Top