Design and Implementation of Stored Procedure Router Based on Dynamic SQL

被引:0
作者
Teng Yingyan [1 ]
He Zonggang [1 ]
机构
[1] Neusoft Inst Informat, Dept Comp, Dalian 116023, Peoples R China
来源
2009 INTERNATIONAL FORUM ON INFORMATION TECHNOLOGY AND APPLICATIONS, VOL 3, PROCEEDINGS | 2009年
关键词
Stored Procedure; Dynamic SQL; PL/SQL;
D O I
10.1109/IFITA.2009.260
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The stored procedure router is designed to dynamically call stored procedure. It is based on dynamic SQL and coded by PL/SQL. Two tables are established according to stored procedure table and stored procedure parameter table before stored procedure router is called. The caller gets input and output parameters of stored procedure by visiting two tables, without direct contact stored procedure itself. Inputting stored procedure number and parameters can obtain result of executing stored procedure. Dynamic SQL statement based on these parameters is designed and executed. Input parameters and output parameters are bind the corresponding variables which begin to the colon in SQL statement. When invoking stored procedure coded by PL/SQL, it is convenient to use stored procedure router. Only modify content of table when stored procedure changes. It brings a great facilitate to secondary development staff and accelerate the system design process, improve the system design performance.
引用
收藏
页码:476 / 478
页数:3
相关论文
共 3 条
  • [1] SPMutation: Design and implementation of stored procedure mutation tool
    Xie, Xiaodong
    Li, Nan
    Liu, Yan
    Huazhong Keji Daxue Xuebao (Ziran Kexue Ban)/Journal of Huazhong University of Science and Technology (Natural Science Edition), 2015, 43 (07): : 93 - 97
  • [2] Research on SQL performance optimization of CRM stored procedure
    Rui, Wang
    Na, Wang
    COMPUTER AND INFORMATION TECHNOLOGY, 2014, 519-520 : 28 - +
  • [3] An Intelligent Charging Algorithm for Computer Rooms Based on Stored Procedure
    Xu, Hai-cheng
    Fu, Jin-wei
    Lou, Qi-ming
    PROCEEDINGS OF 2010 ASIA-PACIFIC YOUTH CONFERENCE ON COMMUNICATION, VOLS 1 AND 2, 2010, : 666 - 669