crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Difference between ExecuteScalar and ExecuteNonQuery
Question Posted on 10 Feb 2020Home >> DataBase >> sql questions >> Difference between ExecuteScalar and ExecuteNonQuery

Difference between ExecuteScalar and ExecuteNonQuery
Below are the 3 main difference between ExecuteScalar and ExecuteNonQuery
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.
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Define N in nvarchar and in nchar?

difference between drop and truncate command

difference between procedure and function

different types of databases in sql

Difference Between Update Lock and Exclusive Lock






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap