mssql2000企業版支持最大用戶數是多少 |
|
diashad
一般會員 ![]() ![]() 發表:20 回覆:10 積分:6 註冊:2006-08-10 發送簡訊給我 |
|
aftcast
站務副站長 ![]() ![]() ![]() ![]() ![]() 發表:81 回覆:1485 積分:1763 註冊:2002-11-21 發送簡訊給我 |
請參考 :
http://72.14.235.104/search?q=cache:bWQzfFGDv_gJ:info.borland.com/devsupport/sqllinks/pub-68.html no user transaction is currently in progress mssql&hl=zh-TW&gl=tw&ct=clnk&cd=2 ===================引 用 文 章=================== 我的以前的mssql7.0在nt4.0上,現在轉到mssql2000上,感覺速度慢很多,而且有時還會在程式上運行時出現 no user transaction is currently in progress 感覺是同一時間運行了同一個過程.還是別的原因. 不知如何解決.請求幫助..
------
蕭沖 --All ideas are worthless unless implemented-- C++ Builder Delphi Taiwan G+ 社群 http://bit.ly/cbtaiwan |
diashad
一般會員 ![]() ![]() 發表:20 回覆:10 積分:6 註冊:2006-08-10 發送簡訊給我 |
Resolution:
3 possible workarounds. 1) Set DB/ALIAS SQL PASSTHRU MODE param to "NOT SHARED" 2) Close and re-open the database that is out of sync. 3) execute a tquery that starts a transaction to rollback on the server. //If yes, start a transaction qBeginTrans.execSQL; //Rollback BDE and server transaction. database1.rollback; end; 請問:PASSTHRU MODE 是什麼意思, dbOracle.StartTransaction; try with StoredProc1 do begin ParamByName('').Value:=xxx; .......... Prepare; ExecProc; end; except dbOracle.Rollback; raise; end; dbOracle.Commit; 我在delphi中就是以前就是這樣寫.
------
x |
aftcast
站務副站長 ![]() ![]() ![]() ![]() ![]() 發表:81 回覆:1485 積分:1763 註冊:2002-11-21 發送簡訊給我 |
SQLPASSTHRU MODE
是BDE上的設定值。 建議使用not shared 或是SHARED NOAUTOCOMMIT 當使用Stored Procedures時。另外修改 except if dbOracle.InTransaction then dbOracle.Rollback; 若還是不行再想辦法
------
蕭沖 --All ideas are worthless unless implemented-- C++ Builder Delphi Taiwan G+ 社群 http://bit.ly/cbtaiwan |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |