Sometimes, we want to run a store procedure in the server, which takes a lot of time, and in this case, the page even gets disconnected.
To solve this problem, it is enough to create a Thread in the program and only monitor its execution
Here I present the solution I created for myself and I will be happy if you help to improve it
1- create a temp table for list of processĀ
DMt.ProccessTable:='_X_'+DMt.CurrentPreName;
DMt.Exec_SQLClient('If Not Object_Id('+QuotedStr(DMt.Procc
Sometimes, we want to run a store procedure in the server, which takes a lot of time, and in this case, the page even gets disconnected.
To solve this problem, it is enough to create a Thread in the program and only monitor its execution
Here I present the solution I created for myself and I will be happy if you help to improve it
1- create a temp table for list of processĀ
DMt.ProccessTable:='_X_'+DMt.CurrentPreName;
DMt.Exec_SQLClient('If Not Object_Id('+QuotedStr(DMt.Procc