G
Guest
Is the 'nolock' a necessary precaution against locking when executing a
command?
cmd.CommandText = "SELECT szStoreName FROM Stores with (nolock) WHERE
lStoreNumber=5"
storename = cmd.ExecuteScalar
rd = cmd.ExecuteReader
command?
cmd.CommandText = "SELECT szStoreName FROM Stores with (nolock) WHERE
lStoreNumber=5"
storename = cmd.ExecuteScalar
rd = cmd.ExecuteReader