⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 csprepstmt.out

📁 derby database source code.good for you.
💻 OUT
字号:
csPrepStmt Test StartsexecuteUpdate() without parametersUpdate count is: 0executeUpdate() with parametersUpdate count is: 1execute() with parameters, no result set returnedUpdate count is: 2executQuery() without parametersgot row:  99 5 9got row:  2 6 10got row:  7 5 8end of rowsexecutQuery() with parametersgot row:  99 5 9got row:  7 5 8end of rowsexecute() with parameters with result set returnedgot row:  99 5 9got row:  7 5 8end of rowstest different data types for input parameters of a Prepared StatementUpdate count is: 0Update count is: 1test setObject on different data types for input  parameters of a Prepared StatementUpdate count is: 1test setNull on different data types for input  parameters of a Prepared StatementUpdate count is: 1got row:   1 2 3 4 5.0 6.0 7.0 88.88 99.100 column11string       column11vcstring column12lvcstring 0123456789abcdef10111213202020 0123456789abcdef10111213 0123456789abcdef10111213 xxxxxxFILTERED-TIMESTAMPxxxxx-04-12 11:44:30.0Timestamp match!got row:   1 2 3 4 5.0 6.0 7.0 88.88 99.100 column10string       column11vcstring column12lvcstring 0123456789abcdef10111213202020 0123456789abcdef10111213 0123456789abcdef10111213 xxxxxxFILTERED-TIMESTAMPxxxxx-04-12 11:44:30.0Timestamp match!got row:   0 0 0 0 0.0 0.0 0.0 null null null null null null null null null null xxxxxxFILTERED-TIMESTAMPxxxxxAfter first Timestamp!end of rowsSQLState: 07000 message: At least one parameter to the current statement is uninitialized.SQLState: 07000 message: At least one parameter to the current statement is uninitialized.insertTab ( bigtab,50)insertTab ( bigtab,200)insertTab ( bigtab,300)insertTab ( bigtab,500)insertTab ( bigtab,1000)select * from bigtabCol # 500 = null  Col 1000 = nullCol # 500 = null  Col 1000 = nullCol # 500 = null  Col 1000 = nullCol # 500 = 500  Col 1000 = nullCol # 500 = 500  Col 1000 = 1000Insert too many ColumnsinsertTab ( bigtab,1001)SQLState: 42X14 message: 'C1001' is not a column in table or VTI 'APP.BIGTAB'.Expected Syntax error insertTab ( bigtab,0)SQLState: 42X01 message: Syntax error: Encountered "<EOF>" at line 1, column 32.Expected Table does not exist insertTab ( wrongtab,1000)SQLState: 42X05 message: Table 'WRONGTAB' does not exist.Minimum BigDecimal Value: 1E-15Prepared Statement String: update Numeric_Tab set NULL_VAL=?Select NULL_VAL from Numeric_TabReturned BigDecimal Value after Updation: 1E-15Value returned from ctssql.stmt: 1E-15setObject Method sets the designated parameter with the ObjectNegative test setString with Invalid Timestamp:20SQLState: 22007 message: The syntax of the string representation of a datetime value is incorrect.CLOB result.GOT ROW: yayorsomethingBLOB result.GOT ROW: 003100300031003000310030003000300031003100300031csPrepStmt Test Ends

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -