DB::connection('gtsql')->beginTransaction();
$seriefat = DB::connection('gtsql')->table('se_seriefat')
->where('c_codserie', 'FO')->first();
echo $seriefat->c_numultdoc;
sleep(15);
DB::connection('gtsql')->commit();
If I run this 15-second time an update in this table record se_seriefat ... does it work normal should it not return me a lock error?
I'm using SQLSRV