C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |



My Profile

Gifts

Active Members
TodayLast 7 Days more...







Difference B/w Execute NonQuery and Execute Scalar


Posted Date: 04 Jul 2008    Resource Type: Definitions    Category: General

Posted By: UltimateRengan       Member Level: Diamond
Rating:     Points: 5



The status of this resource is Rejected.

Reason: Poor Quality






Responses

Author: Satyanarayan SushilKumar Bajoria    05 Jul 2008Member Level: Diamond   Points : 1
Hi,

Very good information on Execute non-query and Execute scalar.

We use Execute scalar method frequently for authentication purpose.

Thanks for sharing your knowledge.

Keep posting such useful information on .net.

Thanks and Regards
S.S.Bajoria


Author: Afsar    05 Jul 2008Member Level: Bronze   Points : 2
* We use Execute NonQuery to perform DML(Data Manipulation Language)operations,which return how many row get affected.

* We use execute Scalare to retrive data that has single value like counting how many row in a table.
We can also use Execute Scalar to retrive 0th Row, Oth Column Data from a table.





Author: Arun Nair    05 Jul 2008Member Level: Bronze   Points : 0
Clear information.

Thanks a lot...


Author: sathiya    07 Jul 2008Member Level: Silver   Points : 1
we are using Execute scalar for Aggregate functions like SUM(),COUNT(),AVG(),MAX(),MIN() which returns integer values


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Clustered Index Vs Non Clusterd
Previous Resource: ACID properties
Return to Discussion Resource Index
Post New Resource
Category: General


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

conference call definitions

Contact Us    Privacy Policy    Terms Of Use