Home All Groups Group Topic Archive Search About

CommandBehavior.SingleRow

Author
25 Apr 2006 6:07 PM
Justin
As far as performance is concerned, is it more efficient to set
SqlCommand.ExecuteReader(CommandBehavior.SingleRow) when you are only
dealing with single row?

Thanks

Author
25 Apr 2006 7:28 PM
Miha Markic [MVP C#]
It might.

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

Show quote
"Justin" <jus***@hotmail.com> wrote in message
news:uBxRgMJaGHA.4424@TK2MSFTNGP05.phx.gbl...
> As far as performance is concerned, is it more efficient to set
> SqlCommand.ExecuteReader(CommandBehavior.SingleRow) when you are only
> dealing with single row?
>
> Thanks
>
>
>
>

AddThis Social Bookmark Button