in Data Science by
Q:

Difference between ExecuteScalar and ExecuteNonQuery

1 Answer

0 votes
by

ExecuteScalar:-It will returns the output value
ExecuteNonQuery:-It will not return any value
ExecuteScalar:-It is used for fetching a single value
ExecuteNonQuery:-It is used to execute insert and update statements
ExecuteScalar:-It does not return the number of affected rows
ExecuteNonQuery:-It will Returns the number of affected rows.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Dec 24, 2019 in Data Science by sharadyadav1986
0 votes
asked Dec 31, 2019 in Data Science by sharadyadav1986
...