G
Guest
Is 'with (nolock)' necessary in this case?
PROCEDURE GetShoeSize
AS
select shoesize from people with (nolock) where personid=1
Dim cmd As New SqlCommand
cmd.CommandText = "GetShoeSize"
cmd.CommandType = CommandType.StoredProcedure
shooesize = cmd.ExecuteNonQuery
PROCEDURE GetShoeSize
AS
select shoesize from people with (nolock) where personid=1
Dim cmd As New SqlCommand
cmd.CommandText = "GetShoeSize"
cmd.CommandType = CommandType.StoredProcedure
shooesize = cmd.ExecuteNonQuery