分享
分销 收藏 举报 申诉 / 37
播放页_导航下方通栏广告

类型SQL-Server简介外文翻译其他专业.doc

  • 上传人:二***
  • 文档编号:4763191
  • 上传时间:2024-10-12
  • 格式:DOC
  • 页数:37
  • 大小:900.04KB
  • 下载积分:5 金币
  • 播放页_非在线预览资源立即下载上方广告
    配套讲稿:

    如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

    特殊限制:

    部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

    关 键  词:
    SQL Server 简介 外文 翻译 其他 专业 完整版
    资源描述:
    SQL_Server简介外文翻译其他专业(完整版) (文档可以直接使用,也可根据实际需要修改使用,可编辑 欢迎下载) 外文原文 Introduction to SQL Server By Samuel Relational databases have been around for 30 years, but they were not the original kind ofdatabase, nor are they the newest kind of database. XML and object-oriented data structures haveevolved in recent years. But relational databases are still by far the most popular kind of database available and will be for some time to come. SQL is the abbreviation of Structured Query Language and it is for relational databases, as the title indicates this is only for fresher who has just started the carrier or who is waiting to open up the carrier in the application programming side. But that does not mean this article is a tutorial for a fresher who does not know anything about SQL.This article is meant for who already have a little knowledge in SQL and want toimprove it. What Does SQL Do? First, SQL is the premier tool for viewing information from a relational database. It doesn’t just give you a data dump. SQL gives you sophisticated tools to summarize, consolidate, and calculate from the data. Using table relationships, data can be combined from multiple tables in a number of ways. With a properly designed database, SQL can answer practically any question about the data. Second, SQL provides commands to manipulate the data in a relational database. Records can be updated and added to or deleted from a table. Here is SQL as a database language really shines. Procedural programming languages, such as BASIC, might require several lines of code to update a record in a database table. In addition, procedural programming languages would have to use some sort of looping structure to repeat this process on every record. SQL operates on an entire set of records all at the same time. SQL is like haiku for programmers; often a dozen words or fewer can delete or change thousands of records. Finally, SQL is a complete data definition language (DDL). The database itself can be created along with all tables, fields, primary keys, and relationships. Add to that the record insert commands, and you can have a complete database and all its data expressed in programming code. This greatly enhances a database programmer’s ability to work remotely or to port data enhancements among various installations. The prerequisite for learning SQL is knowledge in Discrete Mathematics (Set Theory,Relations and Functions). Although it is not necessary to learn all the theorems and proof for the theorems in the Discrete Mathematics, you should have learned the basic concepts of the Sets, Relations and Functions. This will help you to learn SQL queries and fundamentals easily. If you want to explore a RDBMS more deeply you should learn Graph Theory too. Although I tried to avoid SQL Server specific topics in this article, I am sure that some topics are pure to SQL server such as SQL Enterprise manager. Data to DBMS Data is something that should be stored for future manipulations (In terms of Database). The system which provides such a facility is called Database Management System or DBMS. The simplest form to store a data for latter retrieval is using a text file. For example you may want to store your friends name and phone numbers to use it latter. (In this case you may use notepad or word to do so.) This kind of storage is called flat file storage or unstructured storage. In this case the text editor uses the File and Directory services provided by the Operating System to accomplish the task of storing and retrieving data. But these unstructured flat files are not suitable to large data such as storing stock details. Since the stock data is large in volume and added and updated frequently it is not scale up well if we use a simple flat file. To overcome this we need some system which should perform the storing, retrieving, manipulating and querying operations on the data and give output to us. This kind of system is called Database Management System. So a DBMS is a system which organizes and stores data in a structural way for fast retrieval. A DBMS uses one or more files to store the given data. Since the DBMS is meant mainly for developers every DBMS has it is own language to write the commands. The languages are standardized under the name SQL(Structured Query Language). The following definition for SQL is from Books Online“A language used to insert, retrieve, modify, and delete data in a relational database.SQL also contains statements for defining and administering the objects in a database. SQL is the language supported by most relational databases, and is the subject of standards published by the International Standards Organization (ISO)and the American National Standards Institute (ANSI). SQL Server 2000 uses a version of the SQL language called Transact-SQL.” Representation of Data by DBMS DBMS should represent the data stored by them in some form and it is most common to represent them as Column, Row, Tables and Databases. As you know SQL you know what are columns, rows, tables and database. Primary Key A column or set of columns used to uniquely identify the records in a table. Primary Keys don’t allow NULL values. You can relate a table with other table if you have defined primary on it. (So defining UNIQUE and NOT NULL constraint is not equivalent to primary key). SQL server will create a Clustered index while you create a primary key. Primary keys should be carefully defined since based on it other relations are defined. Poorly designed primary keys will affect insert, update and delete operations. Primary keys are different from which are used for paperwork. Foreign Key The primary key of one of the tables is almost always involved in the relationship. The field in the other table on the other end of that relationship is called the foreign key. The term simply refers to the fact that this field is key to relating to a foreign (or other) table. In the Lyric Music database there is a relationship between artists and titles. The ArtistID field is the primary key in the Artists table. Therefore, the ArtistID field in the Titles table is a foreign key. It relates the Titles table to the primary key in the Artists table. Most table relationships can be described as one-to-many. In a one-to-many relationship, a single record in the first table can be related to many records in the second table. However, each record in the second table relates to only one record in the first table. In addition to one-to-many relationship, tables can have one-to-one relationships. But these are much less common. Server – Client In Client Server technology, a server is a program which does all the jobs that is requested by the client and Client is a program which depends on the Server to accomplish its task. Client is mainly used to interact with Users and most Server software doesn’t have direct interaction with Users. A DBMS should have the following functionality – Interaction with users (developers),Managing Data. Since these two functionalities are entirely different modern DBMS is divided into two or more parts. Almost all current DBMS has the following module –Server and one or more clients. A server module is program which manages the data and handles requests from the client applications. It interprets the SQL queries and returns results back to the clients. A client program is a program which sends SQL commands to server and gets the result. Client program does not know the detailed underground structure of the server. SQL Server 2000 runs as a service in NT based machines. You have to establish a connection to the server first if you want to do some SQL operation. SQL Server uses Local or Network IPC (Inter process communication) to communicate with the clients. See Books Online for more details. The most basic misunderstanding of many junior developers is considering SQL Enterprise Manager as the SQL server. SQL Enterprise Manager is a tool used to access the SQL server. SQL Query analyzer is also similar tool used to access the SQL server. The difference between SQL query analyzer and Enterprise Manager is Query Analyzer is a light weight process and Enterprise manager is heavy weight processes due to its Graphical User Interface. Enterprise Manager is a handy tool in the initial stage of a project. It will save lot more time while designing the database. You can easily create Tables, Triggers, Relationships, Constraints etc using Enterprise manger easily. I have seen many of developers don’t have experience in using Enterprise Manager. Never become one of them, use Enterprise Manager whenever you start creating a database. Query Analyzer is a tool used to Create, Analyze, Modify and Delete T-SQL queries. You can also access SQL server using osql.exe or isql.exe which is a very light weight command line utility. You can execute T-SQL commands in osql/isql. The difference between osql and isql is osql uses ODBC library whereas isql uses DB library to communicate with the SQL server. SQL Query analyzer is Windows version of isql.exe. You can directly access SQL server by accessing the TCP Port/Named Pipes and issuing certain commands. However it is very tedious, so SQL Server has provided some library to access it easily. You can find the source code for these libraries in the installation directory of the SQL Server. For database communication standards SQL Server fully supports ODBC. Further it has own database driver for communication. SQL Server also offers SQL-DMO (SQL Distributed Management Objects) a COM component which offers easy programming interface. I have created one application called Whiz using the SQL-DMO. You can download source code for that application in my projects page. Apart from these libraries many third party libraries are also available to access SQL Server. In .Net you can directly access SQL server using Data.SQLClient namespace. Now you have learned how SQL Server and SQL Client tools are exists in a network. It is time to learn some Client-Server technology rules 1) There may be more than one connection to server at any time 2) Client should request only what it wants 3) Client requests should be short The first point is related to Server so leave it. The second point says that the client should retrieve only the data that it needs. This is because transferring data from Server to Client utilizes server’s resource and also increases network traffic. DDL (Data Definition Language) What is data type? – Classification of data into similar groups. Names, Money,Date, Time, etc are examples for data type. What is the use of classification or data type? – It increases the performance, reduces the space needed to store the data. DML (Data Manipulation Language) Data Manipulation Languages contains command used to query, change, and add data from/to the database. This includes the following commands - SELECT, INSERT, DELETE. All these commands are deals with set of data. So I want to refresh the Set theory concepts before going further. Transactions A transaction is a sequence of operations performed as a single logical unit of work. A logical unit of work must exhibit four properties, called the ACID (Atomicity, Consistency, Isolation, and Durability) properties, to qualify as a transaction. DTS (Data Transformation Services) Data Transformation Services are used to transfer and transform data from one datasource to another datasoure in the same server or another server.Some applications of DTS 1) Copying data from one database to another database 2) Copying data structure from one database to another database 3) Migrating data from other datasources such as Flat File, Excel, Access, Oracle to SQL Server. 4) Migrating data from SQL server to other datasources. Since the DTS topic is huge you cannot get to know what it is until you do actual task that is related to DTS. So try the following things and you will get to know something about DTS. Create an Excel file with the following columns EmployeeName, Address, DateOfJoin, PhoneNumber, MaritialStatus, and Department. Fill this excel sheet with some meaningful information and then try to transfer the contents from Excel to SQL using DTS Import/Export Wizard. You can also create DTS packages which can be scheduled to run at future. DTS package programming allows mapping source fields to different destination fields and also provides error control. SQL Profiler SQL Profiler is a handy tool used to analyze what is happening inside and outside of a SQL Server. Simply it is a tool which extracts the log information from SQL server.These logs will help you debug applications, optimize queries, redesign database structure. Running SQL Profiler is very easy, Click SQL profiler from the SQL Server group menu. Then select New Trace from the file menu. It will open the connection dialog box. Type your server name, user name and password. Now you have to set options for your profile. The options include what events you want to trace, what columns you want in the output, filters if any. DBCC Database Console Commands are referred as DBCC. DBCC contains some special commands through which you can accomplish certain DB operations which is not possible through normal SQL commands. 外文翻译 SQL server 简介 塞缪尔著 关系数据库已经存在了30年,但他们不是原种的数据库,他们也不是最新的数据库。 XML和面向对象的数据结构在近几年已经发展。但是,关系数据库仍然是迄今为止最流行的数据库,并将于今后一段时间继续被人们所使用。 SQL是结构化查询语言的缩写,并且用于关系数据库。如题目,这篇文章只是在应用程序编程方面刚开始开发或者准备开发项目的载体。但是,这并不意味着这篇文章能给初学者关于SQL的一个清楚的介绍。这篇文章是给那些关于SQL有一些了解,并且想提高水平的读者读的。 SQL是干什么的? 首先,SQL是用于查看关系数据库中的信息的首选工具。它不仅给你转储数据,而且是对数据总结、巩固和计算的先进工具。使用表关系,数据可以从来自多个表中的许多方面被合并。SQL可以回答一个完善的数据库几乎所有有关数据的问题。 其次,SQL提供了在关系数据库中数据的命令操纵功能,记录可以被更新并添加到一个表中或从一个表中删除,这是作为数据库语言SQL真正的闪光点。程序的编程语言,如BASIC,可能需要几行代码来更新数据库表的记录。此外,程序的编程语言就必须使用一些循环结构排序在每个记录中重复这一过程。SQL能在同一时间操作所有记录。 SQL对于程序员像是俳句,经常用很多语句或更少就可以删除或更改数千的记录。 最后,SQL是一个完整的数据定义语言(DDL)。该数据库本身可以创建和所有表,字段,主键的关系。通过向该记录插入指令添加数据,你可以有一个完整的数据库和所有编程代码表示的数据。这极大地增强了数据库编程的工作能力或者各端口远程数据的改进。 学习SQL的先决条件是离散数学(集理论知识,关系和函数)。虽然没有必要学习所有的定理和离散数学定理证明,但是应该了解基本概念,关系和职能。这将帮助您学习SQL查询和基本内容。如果你想更深入探讨关系数据库管理系统,也应该学习图论。 虽然我尽力在这篇文章中避免探讨SQL Server的特定主题,但是我确保这篇文章涉及到关于SQL Server,例如SQL企业管理器的内容。 数据库管理系统的数据 数据是在未来的操作中能存储的东西(在数据库方面)。该系统是能提供这样一种被称为数据库管理系统或DBMS的设施。 存储以备以后检索使用的数据的最简单的形式是使用文本文件。例如你为了以后使用想存储您朋友的名字和 号码(在这种情况下你可以使用记事本或Word来做)。这种存储形式被叫做平面文件存储或非结构化存储。在这种情况下,文本编辑器是使用以完成数据的存储和检索任务的操作系统提供的文件和目录服务来完成的。 但是,这些非结构化的平面文件不适合存储大量数据,如股票的相关信息。由于股票的数据量较大并且添加和更新频繁,如果我们用一个简单的平面文件不能很好的扩展。为了克服这一点,我们需要一些对数据执行存储,检索,操作和查询操作并将结果输出给我们的系统,这种系统被称为数据库管理系统。因此,一个数据库管理系统是一个在一结构方式快速检索、组织和存储数据的系统。一个数据库管理系统对给定数据使用一个或多个文件存储。 由于开发的数据库管理系统都会用自己的语言去写命令,这个标准化的语言的名称是SQL(结构化查询语言)。以下是网上丛书对SQL的定义 “在关系数据库中用来插入,检索,修改数据的一种语言,还包含在数据库中定义和管理对象。 SQL是大多数关系数据库支持的语言,并且是由国际标准化组织(ISO公布的标准)和美国国家标准学会(ANSI)确定的主题。SQL Server 2000使用一种被称为Transact - SQL的SQL语言的版本” 。 通过数据库管理系统表示数据 数据库管理系统应该代表他们在某种形式下存储的数据,最常见的代表是列,行,表格和数据库。如你所知SQL让您知道什么是列,行,表和数据库。 主键 主
    展开阅读全文
    提示  咨信网温馨提示:
    1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
    2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
    3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
    4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
    5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
    6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

    开通VIP折扣优惠下载文档

    自信AI创作助手
    关于本文
    本文标题:SQL-Server简介外文翻译其他专业.doc
    链接地址:https://www.zixin.com.cn/doc/4763191.html
    页脚通栏广告

    Copyright ©2010-2026   All Rights Reserved  宁波自信网络信息技术有限公司 版权所有   |  客服电话:0574-28810668    微信客服:咨信网客服    投诉电话:18658249818   

    违法和不良信息举报邮箱:help@zixin.com.cn    文档合作和网站合作邮箱:fuwu@zixin.com.cn    意见反馈和侵权处理邮箱:1219186828@qq.com   | 证照中心

    12321jubao.png12321网络举报中心 电话:010-12321  jubao.png中国互联网举报中心 电话:12377   gongan.png浙公网安备33021202000488号  icp.png浙ICP备2021020529号-1 浙B2-20240490   


    关注我们 :微信公众号  抖音  微博  LOFTER               

    自信网络  |  ZixinNetwork