1.

Number of rows is returned by the attribute __________(a) insertIID(b) rows(c) rowsAffected(d) lengthI have been asked this question during an online interview.The above asked question is from Web Databases in portion HTML Images & Web Page Files of HTML

Answer»

The correct OPTION is (c) rowsAffected

The best I can explain: rowsAffected attribute returns the NUMBER of ROWS that were changed by SQL. If there is no change by the SQL STATEMENT then this attribute will RETURN zero. If we use “SELECT” statement, this attribute will always return zero.



Discussion

No Comment Found

Related InterviewSolutions