Hi,
I looked around quite a bit for this and haven't been able to find the answer.
I'm looking for a clean way to handle table locks when attempting to write via ODBC. I'm using VB.Net (Visual Studio 2008), Datadirect 4.10 SQL92 9.1E ODBC driver, on a 9.1E DB (Win32).
I know the tricks for read only access, using the "WITH(NOLOCK)" parameter in the select statement. But what if I really got to write ? How can I check/handle the situation when the record is locked?
Thank you for your time.
I looked around quite a bit for this and haven't been able to find the answer.
I'm looking for a clean way to handle table locks when attempting to write via ODBC. I'm using VB.Net (Visual Studio 2008), Datadirect 4.10 SQL92 9.1E ODBC driver, on a 9.1E DB (Win32).
I know the tricks for read only access, using the "WITH(NOLOCK)" parameter in the select statement. But what if I really got to write ? How can I check/handle the situation when the record is locked?
Thank you for your time.