1. @ Error
If an error occurs in the current statement, the error code is returned. Otherwise, 0 is returned. Note that @ error is reset immediately after each statement is executed. Therefore, check the value after the statement to be verified is
Returns the number of rows affected by the previous statement! The same features as @error are reset after each statement is executed, and if future use requires saving the variable to a local variable. Any statements that do not return this
Returns the number of affected rows in the previous statement! Similar to @ ERROR, each statement is reset after execution. If it is used in the future, you need to save the variable to a local variable. Any statement not returned sets this variable
1. @ERRORIf the current statement encounters an error, an error number is returned, otherwise 0 is returned. It is important to note that @error is reset immediately after each statement is executed, so you should check the value after execution of
The @ @ROWCOUNT in SQL Server returns the number of rows affected by the previous statement, and the return value type is int integer. ROWCOUNT_BIG.">if the number of rows is greater than 2 billion, you need to use Rowcount_big. The values of the @ @
The @ @ROWCOUNT in SQL Server returns the number of rows affected by the previous statement, and the return value type is int integer. ROWCOUNT_BIG.">if the number of rows is greater than 2 billion, you need to use Rowcount_big. The values of the @ @
Some problems encountered during the learning of PHP, but not all of them can be solved smoothly. In the PDO abstraction layer, rowCount () is used (); when the data can be queried normally, the returned result is 0. I searched the internet for a
RowCountfunction : Returns the number of currently available rows for the Data window control (all rows extracted minus the number of rows deleted, plus the number of rows inserted, minus the number of rows filtered, that is, the number of rows in
You need to print the task in your hand.
It's good to win from Google. You can share it with me ~
How can I print the data in datagrid?
Http://forums.aspfree.com/archive/t-17107
Http://forums.aspfree.com/t17107/s.html
Using system; using system.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.