Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
Which is the best method to get the single value from Database?
on 8/25/2009 | Category:
Sql Server Interview questions
| Views: 17434
Select from following answers:
ExecuteNonQuery() With Output parameters
Show Correct Answer
Many Interviews |
< Previous :
Unique Key is smilar to Priamary Key,except it
Next > :
Which method is used to Get a value indicating whe ...
Comments or Responses
Either the question or the answer is wrong.
The question is "Which is the best method to get the single record from Database?"
ExecuteScalar() method of ADO.NET Command eg. SqlCommand object is used to get the
first row and first column
data from the SELECT statement.
It doesn't give the single record, but it gives the single value.
Please correct the question.
Login to post response
More Interview Questions by Lakhangarg
Difference Between Truncate Table and Delete Table Command in SQL Serv ...
How Can we Write the Transaction Block in SQL Server?
How can we Rollback the Transaction in DataBase?
Will COUNT(column) include columns with null values in its count?
What is the page size in SQL Server?
Can UNIQUE KEY in SQL Server 2005 have two or more NULL?
What’s the difference between a primary key and a unique key?
Latest Interview Questions
Which method is used to Get a value indicating whether the column cont ...
Which method is used to Gets the name of the specified column using Da ...
Which method is used to commit all changes in the DataSet or DataTable ...
Which method is used to create a new row in a Table
How to disable the page viewstate by
disadvantages of hidden fields?
What does is Nan function do?