Hi all,
Does anybody know the difference between adLockOptimistic and adLockPessimistic? I've read, both lock rows at the data source while being edited, but on adLockOptimistic the book says it has less consistency because multiple users may have changed data. How can multiple users change data if the rows are locked? What does it actually mean?(unfortunately the book doesn't explain that).
The second question is, is it possible to call a stored procedure (in SQL Server) from VB6? If yes, is it considerably faster (in database performance) than writing the SQL code on VB itself? Examples would be great!
Of course any useful info will be given a star.
Thank you very much.
Does anybody know the difference between adLockOptimistic and adLockPessimistic? I've read, both lock rows at the data source while being edited, but on adLockOptimistic the book says it has less consistency because multiple users may have changed data. How can multiple users change data if the rows are locked? What does it actually mean?(unfortunately the book doesn't explain that).
The second question is, is it possible to call a stored procedure (in SQL Server) from VB6? If yes, is it considerably faster (in database performance) than writing the SQL code on VB itself? Examples would be great!
Of course any useful info will be given a star.
Thank you very much.