table locking - but why?
Posted: Thu 26 Apr 2018 11:44
Hi,
when I create the following:
and create a table also:
and setting no other parameter, we have the problem that if i want to update the table with some values the system is waiting for something. Also any changes from SQL Server Mgm Studio are running endless, until i close the connection above. It looks like that the connection is blocking the whole table, but why ???
Using Delphi XE7 and the latest SDAC and MS SQL Server 2017
Thanks!
when I create the following:
Code: Select all
dbCon := TMSConnection.Create(NIL);
dbCon.DataBase := sDIC;
dbCon.LoginPrompt := FALSE;
dbCon.Password := 'abc2018#';
dbCon.Username := 'DDM-User';
dbCon.Server := msSQL_SRV;
dbCon.Name := 'DBmR' + IntToStr(DBmRNum);
Code: Select all
dbPerso := TMSTable.Create(NIL);
Connection := dbCon;
dbPerso.Filtered := FALSE;
dbPerso.Name := 'PERSO' + IntToStr(DBmRNum);
dbPerso.TableName := 'PERSO';
dbPerso.KeyFields := 'PERS_ID';
Using Delphi XE7 and the latest SDAC and MS SQL Server 2017
Thanks!