Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
In short, ExecuteScalar is a direct shot to the data execution of the data layer with no other interpretation. The SQL command is handed off and handled as is by the data layer whereas there is some interpretted logic in the ExecuteStoredProcedure (which is generally intended for more simple SPROCS). Generally speaking, I always use the ExecuteScalar, ExecuteNonQuery, etc. anytime that I want to execute a SPROC anyway as it is actually slightly better on the performance side of things. At any rate, I am glad that you got it going.
|