连接SQL Server数据库-毕业论文外文文献翻译.docx
《连接SQL Server数据库-毕业论文外文文献翻译.docx》由会员分享,可在线阅读,更多相关《连接SQL Server数据库-毕业论文外文文献翻译.docx(13页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、SQL server database management and maintenanceTo connect SQL Server databaseFirst we introduce the basic knowledge of the database,be regarded as the warm-up exercise that study database weave distance front!1.warm-up exerciseNeeding first avowal is relation database that database knowledge that we
2、here introduce all point. The so-called relation database is to mean data as that the form gather, passing to establish simple form an a kind of database for of relation to defining construction.I ignore the watch at how saving way in physics in the document in database is,it can see to make an a li
3、ne for with row, with electronics form is similar with the row.In relation database, the line were called the record, but the row then is called word segment.This form inside each an all in formations for is a record, it including particular customer, but each record then included the same type with
4、 the word segment of the quantity:Customers number, name etc.Form is logic set that a kind of related information that press a line of arranging with row, similar in single form in work.Each row of the word a database form inside calls a word segment. Watch is from every kind of word a definition of
5、 its containment of, each word a data for describing its implying. While creating to set up a database, the beard assign for each word segment a the piece belongs to the sex with the other according to the type,biggest length.The word segment can include every kind of word sign,arithmetic figure eve
6、n sketch.An information of relevant customer deposits in the line of the form, is called record.By any large, arbitrarily two records for database form to create set up cant be same.Key be a certain word segment( or several words segment) of the form inside, it() for fast inspect but drive index. Th
7、e key can be unique, and also can then the right and wrong is unique, being decided by it() whether admission repetition. Unique key can specify for main key, using each one that come to unique marking form.The norm turns the database design of mission be method that the data of buildup,but the data
8、 of buildup, should can dissolve otiose repetition, and for have the necessary information offering to check to seek the path quickly. For attaining this kind of target but separate information to the process gone to in every kind of independent form, be called the norm turn.It is complicated proces
9、s to use many appointed rules to proceed the norm with the type of the different Class that norm turn. That process studies and discuss already beyond the reach of textual scope.But,the norm of the simple database in majority turn and can use the simple experience in underneath rule completes: inclu
10、de the form of the information of repetition must be divided into independent a few forms dissolve repetition.If we have chosen to learn 12 curricular 1000 students, the each curricular elucidation will show with the teacher 100 many- to choose that curricular and eachstudent repeat once.To avoid th
11、is kind of low efficiency, should to turn the dichotomous and independent form in form to the norm,an is used to mean the student,the another uses mean the course.Now the form was turned by the norm, so, to changes the particular and curricular course describe or data,as long as change a record all
12、right.Is a basic knowledge concerning database above,this is what study database plait distance must.Although the database technique is used as a course,its depth is not this space and can describe with the wide degree of,be used as the primer with simple database plait the distance should be all ri
13、ght already.Like,underneath we can start practicing.We usually meet the database system is to registers the system,ignoring you are in the unit,or attend what buildup,the register is to cans not help of,and it of the construction is more simple,we take a register system as an example.The analysis is
14、 once a data for involving.2. understanding the elementsFor the register, want the on the trail of information include:name、sex、native place、age、date of birth、unit、address、postal service codes、telephone、FAX. Certainly,can create to set up a form in brief,make above each piece according to item to sh
15、ould a word segment.Need to point the form the main key in parties now, in order to unique marking each a record,increase register number conduct and actions unique key respectively in register form,guarantee a two records like this all different.To the database after making an above analysis,we can
16、 start establishing the database.3.set up the firm in campHere we study to establish the database how,needing to make sure the type that to establish the database first.Pass in Visual Basic the data interview control piece or data interview object ( DAO) can visit the following database:1)The databa
17、se of JET, namely Microsoft Access2)The database of ISAM, such as: DBase, etc. of FoxPro3)The database of ODBC,every follow the standard of ODBC customer/ server database. Such as: Microsoft SQL Server, OracleBy any large, if develop the personal small scaled database system, use Access database com
18、parison accommodation, to develop the big and medium-sized database system uses the database of ODBC fester. But dBase with the database of FoxPro because of already dated,unless special circumstance,do not use otherwise.In our example, chose to use the database of Access certainly. Establish the da
19、tabase of Access contain two kinds of methods: While establishing the database in Microsoft Access. Click new set up button can establish the new form. Here we main introduction the second method: The usage can see to turn the data management machine, do not need to weave the distance and then can c
20、reate to set up the database.Can see to turn the data management machine is the applied procedure of a great use,it is a VB business enterprise version is supplementary with the profession version, in the catalogue. Devastation vb samples the Visdata is next, its interface is as follows the diagram.
21、Click the menu document item is next new set up son item Microsoft ACCESS son item of edition 7.0 MDB item. Input the new setting up the name of the database in flick window way open register, appear the underneath show the window way:Want the born and new form, the single shot in right key database
22、 window way flicks the menu open, then the choice new form ordinaries,establishing in watch construction dialog box appeared later on a word for wanting segment. The every time faces to join in the form new word segment, single shot increment word segment button, will appear of increment word segmen
23、t dialog box.Increment word a type for options in the dialog box, according to word segment.In our the register database that establish, the type of the each word segment.Want to notice of is, because the word segment registers the number be used unique marking record of, therefore, it cant be input
24、ted by customer. So while defining the words segment need to be defined for Long data type, the automatic born word segment item is valid, and picks out this item. Be the customer like this to input to record with other the different value every input a new record, system would on the words segment
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 连接SQL Server数据库-毕业论文外文文献翻译 连接 SQL Server 数据库 毕业论文 外文 文献 翻译
限制150内