1 / 17

数据库实验指导 ( 一 )

数据库实验指导 ( 一 ). 2011.03. 实验助教. 赵磊 leizhao8@mail.ustc.edu.cn 15922431980 电三楼 510 王晓亮 xlwang11@mail.ustc.edu.cn 18709850836 电三楼 415. 大纲. 实验安排 实验一:学习和掌握 SQL 语句 实验二:基于 DBMS 的应用设计与开发. 上机安排. 第 5 周开始 实验周 : 5 - 14 每个实验周的周四晚上 时间: 19:00-21:30 分两次上机 单数周:学号为单号 双数周:学号为双号. 上机要求.

kimberly
Download Presentation

数据库实验指导 ( 一 )

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 数据库实验指导(一) 2011.03

  2. 实验助教 • 赵磊 • leizhao8@mail.ustc.edu.cn • 15922431980 • 电三楼510 • 王晓亮 • xlwang11@mail.ustc.edu.cn • 18709850836 • 电三楼415

  3. 大纲 • 实验安排 • 实验一:学习和掌握SQL语句 • 实验二:基于DBMS的应用设计与开发

  4. 上机安排 • 第5周开始 • 实验周: 5 -14 • 每个实验周的周四晚上 • 时间:19:00-21:30 • 分两次上机 • 单数周:学号为单号 • 双数周:学号为双号

  5. 上机要求 • 可自行选择DBMS • Oracle, MS SQL-Server ,MySQL • 实验平台不限 • Windows, linux • 开发语言不限 • C/C++/C#, JAVA, PHP, Delphi, VB • 实验均要当面检查通过并提交相应程序和文档; • 不统一规定检查时间,先做完的同学可先检查; • Deadline: 考试前 • 注意不要COPY

  6. 大纲 • 实验安排 • 实验一:学习和掌握SQL语句 • 以Oracle 10g 为例 • 实验二:基于DBMS的应用设计与开发

  7. 客户端工具(一)SQL*PLUS • 命令行 • 登陆格式 • 用户名: 学号@ORCL • 初始密码:学号

  8. 客户端工具(一)SQL*PLUS • 初次登陆后,可用下面语句更改密码: • ALTER USER <username> IDENTIFIED BY <password>; • 例如: • ALTER USER PB08210001 IDENTIFIED BY ********* ;

  9. 客户端工具(一)SQL*PLUS • 标准的SQL语句,诸如CREATE、SELECT FORM WHERE、UPDATE、DELETE、DROP等; • 执行SQL脚本: • @D:\database\create.sql; • Start D:\database\create.sql; • 注意脚本最后要用COMMIT; • 安全退出SQL*PLUS :EXIT

  10. 客户端工具(2)PLSQL Developer • 登陆界面

  11. 客户端工具(2)PLSQL Developer • 用户界面

  12. Oracle iSQL*Plus • 登陆 http://localhost:5560/isqlplus/

  13. Oracle iSQL*Plus • 工作区:

  14. Oracle 10g 企业管理器 • 登陆 http://localhost:1158/em/

  15. Oracle 10g 企业管理器 • 管理界面

  16. 参考资料 • 《Oracle Database 10g基础教程》 • 清华大学出版社 • 《精通Oracle10g系统管理》 • 中国水利水电出版社 • 《Oracle 10g 数据库系统管理》 • 机械工业出版社 • http://infolab.stanford.edu/~ullman/fcdb/oracle.html

  17. 谢谢!

More Related