chapter8:ManagingSchemaObjects
来源:互联网 发布:Linux deploy vnc 编辑:程序博客网 时间:2024/06/07 15:47
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
Aschemaisacollectionofdatabaseobjects.Aschemaisownedbyadatabaseuserandhasthesamenameasthatuser.Schemaobjectsarelogicalstructurescreatedbyuserstocontain,orreference,theirdata.Schemaobjectsincludestructuresliketables,views,andindexes.YoucancreateandmanipulateschemaobjectsusingEnterpriseManager.
Topics
Thisfollowingtopicsarediscussedinthischapter:
ingSchemaObjectsManagingTablesManagingIndexesManagingViewsManagingDatabaseResidentProgramUnitsLoadingDataintoTablesViewingScreenshots
Moveyourmouseoverthisicontoshowallscreenshots.Youcanalsomoveyourmouseovereachindividualicontoseeonlythescreenshotassociatedwithit.
AccessingSchemaObjects
BacktoTopicList
FollowthestepsbelowtoaccessschemaobjectsusingEnterpriseManager:
1.
LogintoEnterpriseManagerDatabaseConsolebyopeningyourbrowserandspecifyingtheSYSusernameandpassword.
ClickLogin.
2.
ClickAdministrationandselecttheTableslink.
3.
Selecttheflashlighticontoselectaparticularschema.
4.
SelectHRandclickSelect.
5.
EnterempintheObjectNamefieldandclickGo.
6.
Theobjectsthatmatchyoursearchcriteriaaredisplayed.
ManagingTables
BacktoTopicList
TablesarethebasicunitofdatastorageinanOracledatabase.Theyholdalluser-accessibledata.Eachtablehascolumnsandrows.Inthissection,youwillperformthefollowingtasks:
ViewingtheAttributesofaTableViewingtheContentsofaTableCreatingaNewTableModifyingaTableDroppingaTableViewingtheAttributesofaTable
BacktoTopicList
FollowthestepsbelowtoviewtheattributesoftheHR.EMPLOYEEStable:
1.
SelecttheEMPLOYEEStableandclickView.
2.
TheTableViewpageappearsdisplayingtheattributesofthetableincludingcolumns,constraints,andstorageoptions.
ClicktheTableslinktoreturntotheTablespropertypage.
ViewingtheContentsofaTable
BacktoTopicList
PerformthestepslistedbelowtoviewthecontentsoftheHR.EMPLOYEEStable:
1.
SelecttheEMPLOYEEStableandselectViewDatafromtheActionsdrop-downmenu.ClickGo.
2.
TheViewDataForTablepageappearsshowingtherowdataintheResultssection.
CreatingaNewTable
BacktoTopicList
Inthissectionyouwillcreatethreenewtablesforyourdatabase:EMPLOYEES,CUSTOMERS,andORDERS.
1.
ClickCreateontheTablespropertypage.
2.
TheCreateTable:TableOrganizationpageappears.SelectStandard,HeapOrganizedandclickContinue.
3.
TheCreateTablepageappears.EnteremployeesintheNamefield.EnterfsownerintheSchemafield.EnterfsdataintheTablespacefield.DefinethecolumnsasfollowsandclickAdd5TableColumns.
EMPLOYEE_IDNUMBER(6)FIRST_NAMEVARCHAR2(20)LAST_NAMEVARCHAR2(25)EMAIL_ADDRESSVARCHAR2(25)PHONE_NUMBERVARCHAR2(20)
4.
Entertheremainingcolumnsasfollows:
HIRE_DATEDATEJOB_IDVARCHAR2(10)SALARYNUMBER(8)MANAGER_IDNUMBER(6)1<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
chapter8:ManagingSchemaObjectsPurposeAschemaisacollectionofdatabaseobjects.Aschemaisownedbyadatabaseuserandhasthesamenameasthatuser.Schemaobjectsarelogicalstructurescreatedbyuserstocontain,orreference,theirdata.Schemaobjectsincludestructuresliketables,views,andindexes.YoucancreateandmanipulateschemaobjectsusingEnterpriseManager.
Topics
Thisfollowingtopicsarediscussedinthischapter:
ingSchemaObjectsManagingTablesManagingIndexesManagingViewsManagingDatabaseResidentProgramUnitsLoadingDataintoTablesViewingScreenshots
Moveyourmouseoverthisicontoshowallscreenshots.Youcanalsomoveyourmouseovereachindividualicontoseeonlythescreenshotassociatedwithit.
AccessingSchemaObjects
BacktoTopicList
FollowthestepsbelowtoaccessschemaobjectsusingEnterpriseManager:
1.
LogintoEnterpriseManagerDatabaseConsolebyopeningyourbrowserandspecifyingtheSYSusernameandpassword.
ClickLogin.
2.
ClickAdministrationandselecttheTableslink.
3.
Selecttheflashlighticontoselectaparticularschema.
4.
SelectHRandclickSelect.
5.
EnterempintheObjectNamefieldandclickGo.
6.
Theobjectsthatmatchyoursearchcriteriaaredisplayed.
ManagingTables
BacktoTopicList
TablesarethebasicunitofdatastorageinanOracledatabase.Theyholdalluser-accessibledata.Eachtablehascolumnsandrows.Inthissection,youwillperformthefollowingtasks:
ViewingtheAttributesofaTableViewingtheContentsofaTableCreatingaNewTableModifyingaTableDroppingaTableViewingtheAttributesofaTable
BacktoTopicList
FollowthestepsbelowtoviewtheattributesoftheHR.EMPLOYEEStable:
1.
SelecttheEMPLOYEEStableandclickView.
2.
TheTableViewpageappearsdisplayingtheattributesofthetableincludingcolumns,constraints,andstorageoptions.
ClicktheTableslinktoreturntotheTablespropertypage.
ViewingtheContentsofaTable
BacktoTopicList
PerformthestepslistedbelowtoviewthecontentsoftheHR.EMPLOYEEStable:
1.
SelecttheEMPLOYEEStableandselectViewDatafromtheActionsdrop-downmenu.ClickGo.
2.
TheViewDataForTablepageappearsshowingtherowdataintheResultssection.
CreatingaNewTable
BacktoTopicList
Inthissectionyouwillcreatethreenewtablesforyourdatabase:EMPLOYEES,CUSTOMERS,andORDERS.
1.
ClickCreateontheTablespropertypage.
2.
TheCreateTable:TableOrganizationpageappears.SelectStandard,HeapOrganizedandclickContinue.
3.
TheCreateTablepageappears.EnteremployeesintheNamefield.EnterfsownerintheSchemafield.EnterfsdataintheTablespacefield.DefinethecolumnsasfollowsandclickAdd5TableColumns.
EMPLOYEE_IDNUMBER(6)FIRST_NAMEVARCHAR2(20)LAST_NAMEVARCHAR2(25)EMAIL_ADDRESSVARCHAR2(25)PHONE_NUMBERVARCHAR2(20)
4.
Entertheremainingcolumnsasfollows:
HIRE_DATEDATEJOB_IDVARCHAR2(10)SALARYNUMBER(8)MANAGER_IDNUMBER(6)1<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- chapter8:ManagingSchemaObjects
- Chapter8 Loader
- chapter8 other
- CCNA-Cisco-Chapter8
- CCNA2-Cisco-Chapter8
- 【C++】Chapter8:外观模式
- Qt 笔记 Chapter6-Chapter8
- Chapter8 Bit Manipulation
- Chapter6-Chapter8 Chapter 6
- ESL-chapter8-gibbs采样
- ESL-chapter8-bagging
- Chapter8 Data Binding
- 数据结构--Chapter8(外排序)
- Beginning Python Chapter8
- Cpp_Primer--Chapter8--IO库
- Algorithm Chapter8 Exicise
- CHAPTER8 SOFTWARE RNGINEERING
- algorithm chapter8 8.15
- javascript(js)浮点数字精度问题的一个解决办法。
- 使用轻松操纵(二)
- 大力的先入先出的库存物品,按批次出货的问题的一个解法。
- 使用轻松操纵
- 有趣的sql(4)-关于注释的,续"有趣的sql(1)"
- chapter8:ManagingSchemaObjects
- chapter4:ConfiguringtheNetworkEnvironment
- 数据汇总加排序
- 网赚关于个人blog加入 Google Adsense广告 注册指南
- SQL查询语句优化的一点
- Project#2--企业各级员工个人应用--Introduction
- 也说sqlserver分页查询
- 用VS.Net编写扩展存储过程(三,完)
- Google Adsense 技巧提示100条