第二章 Orcle据库应用(上机操作).docxVIP

  • 41
  • 0
  • 约3.56千字
  • 约 10页
  • 2016-08-10 发布于贵州
  • 举报
第二章 Orcle据库应用(上机操作)

Orcle数据库应用——技能训练上机练习1:1.创建tp_orders表空间、创建tp_hr表空间CREATETABLESPACEtp_ordersDATAFILEd:\data\tp_order01.dbfSIZE10MAUTOEXTENDON;CREATETABLESPACEtp_hrDATAFILEd:\data\tp_hr01.dbfSIZE10MAUTOEXTENDON;2.创建A_oe用户、A_hr用户-- Create the user createuserA_oeidentifiedbybdqndefaulttablespace TP_ORDERStemporarytablespace TEMP;-- Grant/Revoke role privileges grantconnecttoA_oe;grantresourcetoA_oe;-- Create the user createuserA_hridentifiedbybdqndefaulttablespace TP_HRtemporarytablespace TEMP;-- Grant/Revoke role privileges grantconnecttoA_hr;grantresourcetoA_hr;3.用A_hr用户登录orcl,创建employee、dept两张表CREATETABLE emplo

文档评论(0)

1亿VIP精品文档

相关文档