当前位置:网站首页>Pl/sql compilation check in kingbasees
Pl/sql compilation check in kingbasees
2022-06-11 10:24:00 【Thousands of sails pass by the side of the sunken boat_】
keyword :
KingbaseES ,PL/SQL, Compile check
1. Control parameter
check_function_bodies
The default value is true , Used to control the creation of PLSQL Whether the object period is correct PLSQL Object to perform string validation
plsql.compile_checks
The default value is false, Used to control whether or not to PLSQL Compile check for . When you need to add a compilation check item to the current requirement , By setting plsql.compile_checks Parameter is true To enable the compilation check function .
2. Syntax compliance check
KingbaseES V8R6 The syntax compliance check for is mandatory , Due to grammatical errors PLSQL object , Can't be in KingbaseES V8R6 Running in , So there are grammatical errors PLSQL An error occurs when an object is created , Create failure .
The syntax compliance check is only subject to the parameters check_function_bodies control , That is, just set check_function_bodies Parameter values for true.

3. Reference object validity check
KingbaseES V8R6 Of PLSQL in , Create a reference to an object that does not exist PLSQL Object or SQL object , After the referenced object is supplemented and created , The current created object can be called normally , So the validity check on the reference object only throws WARNING, At present PLSQL The creation of the object can still be completed normally . Later, in the call execution phase , If the referenced object still does not exist , An exception will be thrown , If the referenced object has been supplemented and created , You can call and execute normally .
(1) Parameter setting

(2) Create and call stored procedures

(3) Add missing reference objects

(4) Call the stored procedure again

4. Data matching check
(1) Data type matching check
stay PLSQL When an object is created KingbaseES V8R6 It will detect the internal data type conversion relationship , Once the data type cannot be converted between the value object and the value object is detected , Then it will be thrown directly ERROR , And terminate the current PLSQL Object creation .

(2) Data column number matching check
To ensure the downward compatibility of data , The matching detection of the number of data columns only throws WAINING , dependent PLSQL The object can still be created normally and continue to be called and executed according to the original logic .

Reference material
《PLSQL-SQL Process language 》
边栏推荐
- What are the ABAP keywords and syntax that cannot be used in the ABAP cloud environment?
- UGUI
- Ugui picture wall
- Data consistency
- NGUI,地图放大缩小
- 吴恩达机器学习课程-第七周
- VMware install win7 virtual machine
- Reprint: linearlayout+fragment to achieve the lower navigation bar effect
- 电子设备辐射EMC整改案例
- 安装MySQL ,出现由于找不到 MSVCR120.dll,无法继续执行代码解决方法”
猜你喜欢

Mysql-- index

Practical process of selecting DC-DC switching power supply controller

MySQL basic learning notes 03

Tiktok encounters cultural conflict in the UK, and many employees leave in a short time

Empire CMS imitation "game bird" template source code /92kaifa version large mobile game portal template

Detail measurement of DC-DC and PDN with network analyzer

远程监控项目离线日志说明书

電子設備輻射EMC整改案例

Wuenda machine learning course - week 7

EMC rectification cases of electronic equipment radiation
随机推荐
[torch]: parallel training and can dynamically set the batch size of the first GPU
【机器学习理论】True Positive, True Negative, False Positive, False Negative概念
详解2.5G/5G/10G Base-T以太网接口物理层一致性测试!
What are the functions and applications of Mogg test controller
使用bat向文件的第一行中写入内容
宝塔面板备份与恢复数据
安装MySQL ,出现由于找不到 MSVCR120.dll,无法继续执行代码解决方法”
[machine learning theory] true positive, true negative, false positive, false negative concept
Function and function of wandfluh proportional valve
Installing mysql5.7 for Linux
MySQL comparison
MySQL transaction
Practical process of selecting DC-DC switching power supply controller
利用PHP开发的一款万能、表白墙系统部分代码片段
Batch add noise to data and generate new named annotation files
[Objective-C] differences between structs and classes
Wuenda machine learning course - week 7
Preview component packaging graphic tutorial in cadence OrCAD capture schematic design interface
Handwritten code call, apply, bind
Pyramidtnt: TNT with characteristic pyramid structure