- 1、本文档共31页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ORACLE ProC文库(ORACLE ProC library)
ORACLE ProC文库(ORACLE ProC library)
ORACLE ProC library. TXT
ORACLE training course: use of pro * c (1)
I. overview of Pro * C procedures
1. What is the Pro * C program
In ORACLE database management and systems, there are three ways to access a database:
O SQL * Plus, which has SQL commands to access the database with interactive applications;
O use applications developed in the fourth generation language application to access the database. These tools have SQL * Froms, QL * Reportwriter, SQL Menu, and so on.
O is accessed using SQL language or ORACLE library function calls embedded in the third generation of languages.
Pro * C is one of the third kind of development tools, it is the procedural and non-procedural language C language SQL is the most perfectly together, has a complete process capability, and can accomplish any substandard goods task database, the user can be programmed to complete various types of reports. In Pro * C program can be embedded SQL language, use the SQL language can complete dynamically establish, modify, and delete the tables in the database, can also query, insert, modify, and delete rows in a database table, you can also implement commit and rollback transaction.
In the Pro * C program, you can also embed PL/SQL blocks to improve the performance of your application, especially in a network environment, which reduces the total overhead of network transmission and processing.
2. Procedure structure of Pro * C
In general, Pro * C programs are actually C programs embedded with SQL statements or PL/SQL blocks, so its composition is very similar to C programs. But because it has SQL statements or PL/SQL blocks embedded, it also contains a different component. In order to give you a sense of the Pro * C, the difference between the two is shown in the figure below.
(click to view larger image)
The structure of the two Pro * C program
Each Pro * C program consists of two parts: the first of the application; Application body.
The application head
您可能关注的文档
- 2010大学生入党积极分子思想汇报(In 2010, college students reported to the party activists).doc
- 2009年普通高校招生统一考试福建卷(理综)(2009 general college entrance examination fujian volume (hei)).doc
- 2010安规a卷b(2010 a volume b).doc
- 2010年一级建造师市政公用工程真题及答案(2010 primary construction division municipal public works project and the answer).doc
- 2010年北京化学中考试题(2010 Beijing chemistry exam).doc
- 2010年台湾世界杯国际少林武术大赛规程(浙江)(Taiwan World Cup 2010 international shaolin wushu competition procedure (zhejiang)).doc
- 2010年市司法行政工作计划(2010 municipal judicial administrative work plan).doc
- 2010年春期《高层建筑施工》课程期末考试试题(The final exam of high-rise building construction in spring 2010).doc
- 2010年普通高等学校招生全国统一考试 语文 真题卷(湖北卷)(2010 national unified examination of students' national standardized test (hubei volume)).doc
- 2010护士资格考试专业实践题目(2010 nurse qualification examination professional practice title).doc
文档评论(0)