已阅读5页,还剩1页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
南京师范大学泰州学院英文翻译原文年 级: 07级 学 号: 09070131 姓 名: 赵晓红 系 部: 强化部 专 业: 计算机科学与技术 (师范) 题 目: 基于B/S结构的商品管理系统 指导教师: 倪红军 2011 年5 月8日Database OverviewA database consists of a file or a set of files. The information in these files may be broken down into records, each of which consists of one or more fields. Fields are the basic units of data storage, and each field typically contains information pertaining to one aspect or attribute of the entity described by the database. Using keywords and various sorting commands, users can rapidly search, rearrange, group, and select the fields in many records to retrieve or create reports on particular aggregates of data.Database records and files must be organized to allow retrieval of the information. Early systems were arranged sequentially (i.e., alphabetically, numerically, or chronologically); the development of direct-access storage devices made possible random access to data via indexes. Queries are the main way users retrieve database information. Typically, the user provides a string of characters, and the computer searches the database for a corresponding sequence and provides the source materials in which those characters appear. A user can request, for example, all records in which the content of the field for a persons last name is the word Smith.In flat databases 2, records are organized according to a simple list of entities; many simple databases for personal computers are flat in structure. The records in hierarchical databases are organized in a treelike structure, with each level of records branching off into a set of smaller categories. Unlike hierarchical databases, which provide single links between sets of records at different levels, network databases create multiple linkages between sets by placing links, or pointers, to one set of records in another; the speed and versatility of network databases have led to their wide use in business.Relational databases are used where associations among files or records cannot be expressed by links; a simple flat list becomes one table, or “relation”, and multiple relations can be mathematically associated to yield desired information. Object-oriented databases store and manipulate more complex data structures, called “objects”, which are organized into hierarchical classes that may inherit properties from classes higher in the chain; this database structure is the most flexible and adaptable.SQL Server as the network of small and medium-sized enterprises oriented database service system, provides with numerous senior database manager the same performance to traditional database vendors, launched a strong challenge. In the design process sequence: SQL Server adopted key and novel symmetric structure, so as to simplify the program design, and Microsoft in its Visual Basic Visual programming language for programmers provides good control; Daniel: in database tube in a SQL Server easy administration ways of dealing with many Server business management, provides a SQL Server system extension and beyond a single computer ability method.SQL Server mainly has the following functions: Comprehensive data integrity protection, whether complicated affairs support and advanced security, or user-oriented database implicit parts, and data integrity protection is applicable; With Windows NT integration, allow the symmetric multiprocessing (SMP) system to completely multithreading and symmetric multiprocessing, and can be integrated into the distributed management environment; In the low cost has outstanding performance platform; For the system administrator provide first-class management tool; On multiprocessor distributed affairs inner support. The following introduces a kind of how to use Microsoft SQL Server on Windows NT Server constructing the development environment, complete general client/Server applications. 1. On the SQL SERVER in creating a data equipment (create database for this database before must create a storage device) (1) from Microsoft SQL Server program group Utilties within the SQL EM open. (2) in the Server Manager window, the option to create the database Server. If HFNM. (3) Manage menu item choice, then select Database Device options. Manage Database Device window appears. (4) choose New Device button (first). New Database Device window appears. (5) Name: for to create device Name; Location: can choose to create device site (such as: c: databas e); (MB) : do the Size of setting this equipment used for database (usually the 1.25 times normal). (6), click the Create button, Create this device is empty. Note: please create database in before must first create two storage devices, is a database of physical equipment, the other is a database of logical device. 2. In SQL SERVER create a database (1) from Microsoft SQL Server 6.5 Utilties program in the group opened SQL EM. (2) in the Server Manager window, the option to create the database Server. If HFNM. (3) Manage menu item choice, then select Database options. Appear Manage Database window. (4) choose New Database button (first). Appear New Database window. (5) Name campaign for the database Name, physical equipment Data Device for database Name, do physical equipment is the distribution of storage space for database (MB); Questions for database Device logical Device name, is this Logic devices do for database distribution of storage space (MB). Please dont check Default Device options. (6) according to Create Now button, the official Create database.3. On the existing database creating tables (1) from Microsoft SQL Server program group Utilties within the SQL EM open. (2) in the Server Manager window, choose Server. Click to create the database tables by plus. Click on the database and Group/Users its components. (3) click next. Plus it components Server Manager will open, and shows it projects can operation of all database Objects. (4) choose Table is object. Then click Manager menu items, and select players project. Will appear in Manager (management form window. (5) now keep Table is for new combo box (if in combo box chose other tables, that yao can modify it). Name: field name on Datatype: field types Do: Nulls: whether to allow the length of the field a null value Default: Default value (6) press, Save form brings a button. 4. The data table created for the Lord keyword (1) started Microsoft SQL Server EM, selecting the appropriate servers and databases. Click on the plus side, Server database Manager will begin database, citing out all components. (2) click next to it, Server project Manager are listed plus symbol can operation of database Objects. (3) click the plus sign players folders beside. Right-click on the corresponding data table objects from the popup menu, then choose intended command. Choose Then players window Manage will appear on the screen. (4) click on the toolbar Features (Advanced Features on the button. Then will appear and form the more detailed information about. (5) in the first card (ask Identity), Key specific/main keyword can be set. Click on ask the window frame Key specific Names (listing) combo box. Will show did not set for a series of Nulls column name. Please select the appropriate column, has primarily keyword. (6) on the key word, it should be defined as (index type non - clustered). Click the Add button in the chart Add, Add the Lord keyword information. Note: (1) the definition of main key word for a data sheet, it was very important, if no main keyword, then this data sheet is read-only. (2) the main keyword in the definition of data table must be preserved, because the data table before in the preservation, adds field will not allow for the NULL type. 5. Create clustered index for form (1) start SQL EM, choose corresponding database. (2) Manage the menu from Indexes options. (3) in the Table is combo box, select the appropriate data tables. In the Index combo box, select , in order to create a new new Index. Inside the new index name input. (4) In Columns In Table is Available within the (forms Available column) list, choose proper column within and press the Add press button. This column name will be moved to the Columns In Index (Key specific) list box. Still can choose multicolumn. (5) in Attribute Index (Index properties), within the Clustered (choose window swarm) check box. (6) in the two radio button beside Clustered in duplicate, both rows says Allow repeat line. (7) according to Build button to begin creating the index. 6. In SQL Server for database open user (1) started Microsoft S
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年无人机理论考试题库(含标准答案)
- 2020-2025年一级建造师之一建民航机场工程实务模考模拟试题(全优)
- 某戏剧家协会演员行为规范管理制度
- 四川省泸州市三校联盟2026届高三上学期第一次联合考试(期中)英语试卷(含答案无听力原文及音频)
- 小学冀教版 (三年级起点)Lesson 17 I Like All Seasons!教案
- 身边的“雷锋”教学设计-2025-2026学年小学综合实践活动六年级下册浙科技版
- 活动2 穿越时空的祝福教学设计-2023-2024学年小学信息技术(信息科技)三年级下册西师大版
- 2025年高考广东地理 参考答案
- 第10课 俄国彼得一世的改革教学设计-2025-2026学年高中历史岳麓版2007选修历史上重大改革回眸-岳麓版2007
- 2025年护理执业药师考试题目及答案
- 2025国网能源研究院限公司高校毕业生招聘【21人】事业单位易考易错模拟试题(共500题)试卷后附参考答案
- 白血病患者日常护理建议
- 2025年及未来5年中国鱼具行业市场运营现状及投资战略咨询报告
- 《政务信息系统运行维护费用定额测算方法》
- 【课件】消防月:消防安全知识培训
- 2025健身房与瑜伽馆合作经营合同
- 户外灯光架施工方案
- 2025年农产品食品质量安全检验员技能及理论知识考试题库附含答案
- 四川省公务员2025年考试行测言语理解真题试卷(含答案)
- 矿山绿色矿业建设规划
- 2025广西玉林市自来水有限公司下半年公开招聘21人笔试参考题库附带答案详解
评论
0/150
提交评论