多好的青年被
Stored procedureFrom Wikipedia, the free encyclopediaJump to: navigation, searchA stored procedure is a subroutine available to applications accessing a relational database system. Stored procedures (sometimes called a proc, sproc, StoPro, or SP) are actually stored in the database data uses for stored procedures include data validation (integrated into the database) or access control mechanisms. Furthermore, stored procedures are used to consolidate and centralize logic that was originally implemented in applications. Large or complex processing that might require the execution of several SQL statements is moved into stored procedures and all applications call the procedures procedures are similar to user-defined functions (UDFs). The major difference is that UDFs can be used like any other expression within SQL statements, whereas stored procedures must be invoked using the CALL statement[citation needed]CALL procedure(…)orEXECUTE procedure(…)Stored procedures can return result sets, . the results of a SELECT statement. Such result sets can be processed using cursors by other stored procedures by associating a result set locator, or by applications. Stored procedures may also contain declared variables for processing data and cursors that allow it to loop through multiple rows in a table. The standard Structured Query Language provides IF, WHILE, LOOP, REPEAT, CASE statements, and more. Stored procedures can receive variables, return results or modify variables and return them, depending on how and where the variable is [hide]1 Implementation2 Other uses3 Comparison with Dynamic SQL4 Difference between Stored Procedures and Functions5 Disadvantages6 References7 External links[edit] ImplementationThe exact and correct implementation of stored procedure varies from one database system to another. Most major database vendors support them in some form. Depending on the database system, stored procedures can be implemented in a variety of programming languages, for example SQL, Java, C, or C++. Stored procedures written in non-SQL programming languages may or may not execute SQL statements increasing adoption of stored procedures led to the introduction of procedural elements to the SQL language in the SQL:1999 and SQL:2003 standards in the part SQL/PSM. That made SQL an imperative programming language. Most database systems offer proprietary and vendor-specific extensions, exceeding SQL/PSM. For example, Microsoft SQL Server allows for stored procedures to be written using Transact-SQL; Oracle calls its dialect PL/SQL, DB2 uses SQL/PL, PostgreSQL provides PL/pgSQL and also allows users to define their own function languages such as pl/perl or pl/php, and MySQL supports their own stored procedures that try to adhere closely to the SQL:2003 standard[edit] Other usesIn some systems, stored procedures can be used to control transaction management; in others, stored procedures run inside a transaction such that transactions are effectively transparent to them. Stored procedures can also be invoked from a database trigger or a condition handler. For example, a stored procedure may be triggered by an insert on a specific table, or update of a specific field in a table, and the code inside the stored procedure would be executed. Writing stored procedures as condition handlers also allow DBAs to track errors in the system with greater detail by using stored procedures to catch the errors and record some audit information in the database or an external resource like a file.[edit] Comparison with Dynamic SQLBecause stored procedure statements are stored directly in the database, this can remove the compilation overhead that is typically required in situations where software applications send inline (dynamic) SQL queries to a database. However, most database systems implement statement caches to avoid repetitive compilation of dynamic SQL statements. In addition, pre-compiled SQL statements, while avoiding some overhead, add to the complexity of creating an optimal execution plan because not all arguments of the SQL statement are supplied at compile time. Depending on the specific database implementation and configuration, mixed performance results will be seen from stored procedures versus generic queries or user defined major advantage with stored procedures is that they can run directly within the database engine. In a production system, this typically means that the procedures run entirely on a specialized database server, which has direct access to the data being accessed. The benefit here is that network communication costs can be avoided completely. This becomes particularly important for complex series of SQL procedures allow for business logic to be embedded as an API in the database, which can simplify data management and reduce the need to encode the logic elsewhere in client programs. This may result in a lesser likelihood of data becoming corrupted through the use of faulty client programs. Thus, the database system can ensure data integrity and consistency with the help of stored procedures.[edit] Difference between Stored Procedures and Functionsa. Only function can Return a value (to be precise using the Return keyword)b. Procedures can use ‘Return’ keyword but without any value being passedc. Functions could be used in select statements, provided they don’t do any data manipulation inside and also should not have any OUT, IN OUT . Functions must return a value, but for procedure it is not . The Function can have only in parameter.[edit] DisadvantagesStored procedures are often said to be more secure than dynamic SQL, since users may have no direct table access. In real world, the database is most often used not by users, but by programmers. If they are restricted to a fixed set of procedures and not allowed to run proper queries, the system will perform poorly. In order to fix this, the developers need to have access to actually modify the procedures, which is far more administrative privilege than allowing simple select/insert/update/delete statements. Spurious changes to stored procedures may lead to destabilizing remote parts of code. Splitting project team into database and application developers creates extra bureaucracy barrier, which in non security-critical systems is mostly of using "where something in (value1, value2, ...)" may lead some developers to write code that passes SQL as a string to a stored procedure, leading to far more dangerous SQL injection attacks than are feasible with sanitized parameterised more, some modern DBMS systems (notably from MS SQL Server 2000 onwards) don't offer any performance benefits of using stored procedures - they are compiled and cached in the same manner as dynamic SQL is. Indeed, it has been observed that using simple CRUD procedures creates only an extra efficiency overhead.[edit] ReferencesThis article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unverifiable material may be challenged and removed. (October 2007)
狂爱KIKI
论文对所设计的汽车销售系统进行了论述,在设计该系统前,对系统进行了详细的用户需求分析,在毕业设计过程中,首先根据用户需求分析对系统的数据库进行了精心设计,对系统进行了总体规划,然后,对系统的各个功能模块进行了详细的设计,编写了实现这些功能的程序代码。在系统的设计过程中对所设计的程序不断地进行修改与调试,使系统功能得以不断完善。该系统能在计算机上成功运行,实现汽车销售管理。 The paper to the auto sale system which designed has carried on the elaboration, before designing this system, has carried on the detailed user's needs analysis to the system, in the graduation project process, first has carried on the careful design according to the user's needs analysis to system's database, has carried on the overall plan to the system, then, has carried on the detailed design to system's each functional module, compiled has realized these function procedure code. To the procedure which designs makes the revision and the debugging unceasingly in system's design process, enables the system function to consummate unceasingly. This system can succeed the movement on the computer, realizes the auto sale management. 该系统的表现层主要使用了JSP、CSS技术,用Java语言设计了后台逻辑,使用了SQL Server 2000设计后台的数据库。系统从开始的登陆模块,到各个功能模块都反映出设计者从安全性、人性化以及实用性等方面考虑。在登陆页面的时候加入了验证码。进入系统到各个模块,都可以收索到所有用户的信息,而且用户密码是用MD5编码方式加密,因此即使有人能进入系统模块,也不用担心密码被窃取。同时如果是用普通用户或者是一般的管理员身份进入是看不到这个模块的。使用该系统,管理员可以根据市场的变动情况修改、添加或者删除有关汽车基本情况的信息。在系统的订单模块控制下,客户可以通过网络下订单。在系统中进行了图表统计,可以很直观地看到每个地区和各个年份的汽车销售情况,可以对地区和年份进行查询。系统还设计了客户反馈的功能,客户可以通过网络留下自己的意见,管理员可以对这些意见进行模糊查询、检索以及删除操作。所设计的汽车销售系统运行稳定,用户界面友好。This system's performance level has mainly used JSP, the CSS technology, with the Java language design backstage logic, has used SQL Server 2000 to design the backstage the database. The system from the debarkation module which starts, reflected to each functional module the designer from aspects and so on security, user-friendly as well as usability considered. In lands page's time has joined the confirmation code. Enters the system to each module, may receive the rope to all user's information, moreover the user password is with the MD5 encoding method encryption, even if therefore some people can enter the system module, also does not need the worry password to steal. Simultaneously if or is the common manager status enters with the average consumer does not look at this module. Uses this system, the manager may revise, the increase or the deletion related automobile basic situation information according to the market change situation. Under system's order form modular control, the customer may adopt under the network the order form. Has carried on the graph statistics in the system, may see very intuitively each local and each year's auto sale situation, may carries on the inquiry to the area and the year. The system also designed the customer feedback function, the customer has been possible to leave behind own opinion through the network, the manager may carry on the fuzzy inquiry, the retrieval as well as the deletion operation to these opinions. Designs the auto sale systems operation is stable, the user interface is friendly.
我们学校没有要求翻译参考文献,但是要按照正常的格式写在后面,比如毕业论文要求参考文献是国标,而有些杂志有自己的参考文献格式。
编辑证书是对你论文语言文字已经达标的证明,是对润色服务专业度的保证。北京译顶科技做的不错,可以联系他们一下你可以加速去知道了解下
把中文论文翻译成英文会被查重的。 现在知网已经重新更新升级了,类似图片、翻译等都能被被查重,以前的大学生因为在写作能力欠缺,就会从知网上下载一些中文文章,然后用
一、“翻译腔”的定义 “翻译腔”其实就是指翻译出来的译文有洋化现象或不符合汉语的习惯表达方式。表现为译文不自然、不流畅、生硬、难懂、费解等特点。 《当代翻译
Stored procedureFrom Wikipedia, the free encyclopediaJump to: navigation, search