Sql Failure Log - Mitsubishi Electric Melsec Q Series User Manual

Programmable contoller mes interface module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

8
DB CONNECTION SERVICE AND SETTING TOOL

8.8.2 SQL failure log

When an SQL text or stored procedure is executed on a database, if an error occurs, the
error contents are output to the SQL failure log.
The following shows the SQL failure log contents
For details on [Database error number] and [Database error message] in the output log
format, refer to the manual for each database.
Depending on the [Error code], however, Database Message and subsequent data cannot
be output.
According to the error code, confirm the error details and take corrective actions.
(1) SQL execution failed
Item
[Date] [Error code] [Target data source]:[SQL text]
Output log format
Database Message [Database error number] [Database error message]
2007/10/01 12:00:00.000 0x00000000 DataSource:INSERT INTO TABLE ( COL ) VALUES ('') ;
Example
Database Message 0x00000388 [Oracle][ODBC][Ora]ORA-00904: "COL" :invalid identifier
(2) Stored procedure execution failed
Item
[Date] [Error code] [Target data source]:[Procedure name] ([Value in argument 1][, Value in argument 2][, ...])
Output log format
Database Message [Database error number] [Database error message]
2013/10/01 12:00:00.000 0x20f00007 SQLSERVER:SampleProcedure ( '003', 'MES' )
Example
Database Message 0x00000afc [Microsoft][ODBC SQL Server Driver][SQL Server]Could not find stored
procedure 'SampleProcedure'.
Section 10.2.2 (3) SQL failure log of DB Connection Service
Table 8.30 SQL execution failed
Table 8.31 Stored procedure execution failed
Description
Description
8.8 Output Log Specifications
8.8.2 SQL failure log
1
2
3
4
5
6
7
8
8
- 29

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71mes96Qj71mes96nSw1dnc-mesif-e

Table of Contents