为了账号安全,请及时绑定邮箱和手机立即绑定

Oracle数据库开发必备利器之SQL基础

难度入门
时长 4小时14分
学习人数
综合评分9.67
338人评价 查看评价
9.8 内容实用
9.7 简洁易懂
9.5 逻辑清晰

讲师回答 / 邱盛昌
<...code...>
老师是陕西、河北、山西、河南人咩?
create table table_new as select column1,...| * from table_old;
insert into table_new [(column1,...)] select column1,...| * from table_old
alter table table_name add column_name datatypes;
desc userinfo
alter table userinfo add remarks varchar2(500);
create table userinfo
(id number(6,0),
username varchar2(20),
userpwd varchar2(20),
email varchar2(30),
regdate date,
)
drop tablespace tablespace_name including contents
alter tablespace tablespace_name add datafile &#039;xx.dbf&#039; size xx;
dba_data_files
tablespace_name=&#039;TEST2_FILE.dbf&#039;
alert tablespace tablespace_name drop datafile &#039;filename.dbf&#039;
alter tablespace tablespace_name online | offline;

alter tablespace tablespace_name read only | read write (online)
create tablespace test1_tablespace datafile &#039;test1file.dbf&#039; size 10m;
create temporary tablespace temptest1_tablespace temfile &#039;tempfile1.dbf&#039; size 10m;
temporary temporary
dba_data_files where tablespace_name=&#039;TEST1_TABLESPACE&#039;;
dba_temp_files
永久 临时 undo表空间
表、视图、存储
中间执行过程
修改过的数据
sys/ system sysman scott
alter user username account unlock
alter user username account lock
system/password
alter user scott account unlock;
connect scott/tiger; connect scoot/tiger
show user
scott tiger
select * from dba_users;
怎么和老师说话一样。。。
给力 win8 好像不兼容 弄得我重装了win7系统
课程须知
只要知道数据库是什么就可以来学习本课程呦!
老师告诉你能学到什么?
掌握Oracle的SQL语句基础,为后续的课程学习打好基础。

微信扫码,参与3人拼团

微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号

友情提示:

您好,此课程属于迁移课程,您已购买该课程,无需重复购买,感谢您对慕课网的支持!

本次提问将花费2个积分

你的积分不足,无法发表

为什么扣积分?

本次提问将花费2个积分

继续发表请点击 "确定"

为什么扣积分?

举报

0/150
提交
取消