Subject Steps to Set Wait/No Wait Transaction
Author Vishal Tiwari
Hi All,

I need to understand how to set Wait/No Wait Transaction in firebird.

Also I have one doubt that I when we start transaction through code as shown below, the transaction locks particular rows in the table or it locks entire table?


Delphi code snippet should be:
 
try
    sqlMain.Transaction.StartTransaction;
 
    //Have Insert SQL Execution here
 
    sqlMain.Transaction.Commit;
except
    sqlMain.Transaction.Rollback;
end;


Thanks in advance.

With Best Regards.

Vishal