Autor Beitrag
wisher
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 54
Erhaltene Danke: 1



BeitragVerfasst: Do 21.04.05 14:01 
Salut,

folgendes Problem: Mit den BDE-Komponenten mache ich ein Update auf eine
MS-SQL Tabelle. Beim abschließenden ExecSQL tut sich gar nichts.
ich vermute der Datensatz wird durch einen anderen user gesperrt.
Von Oracle her kenne ich die Möglichkeit dem Update-SQL noch ein "for update nowait"
mitzugeben. Das heißt, beim ExecSQL springt das Programm mit einem Fehler raus.
In meinem Beispiel allerdings bleibt das Programm einfach hängen und der user
erkennt nicht, dass der DS gesperrt ist. Wie handhabe ich das unter dem MS-SQL-Server ?

Danke, Sascha.
Softchaos67
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 103

XP Prof
Delphi 7
BeitragVerfasst: Mi 01.06.05 09:37 
Hallo,
ich hab ein ähnliches Problem und wäre an einer Lösung sehr interressiert.
Bist du da schon weiter?
Gruss
Matthias
alzaimar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Do 02.06.05 19:29 
Wird der Datensatz gelockt (durch eine Transaktion eines anderen users)? Oder durch dich selbst?
Was sagt der Profiler?

Und, wieso nutzt Du noch die BDE? Die wird doch sowieso bald eingestampft