BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I need the detail of BDE connections

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
glory
Guest





PostPosted: Fri Apr 02, 2004 1:33 am    Post subject: I need the detail of BDE connections Reply with quote



what configration is the key to resolve this lock, please give me more help
thanks.


Back to top
Bill Todd (TeamB)
Guest





PostPosted: Fri Apr 02, 2004 1:43 pm    Post subject: Re: I need the detail of BDE connections Reply with quote



On Fri, 2 Apr 2004 09:33:12 +0800, "glory" <borlandnewgroup (AT) 163 (DOT) com>
wrote:

Quote:
what configration is the key to resolve this lock, please give me more help
thanks.


What lock? You question does not make sense. What database are you
using? What data access components are you using? Provide a detailed
description of the problem.

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)

Back to top
Predrag Cabarkapa
Guest





PostPosted: Sat Apr 03, 2004 5:48 pm    Post subject: Re: I need the detail of BDE connections Reply with quote




Hello,

did you try with "WITH (NOLOCK)"
on my machine I'v got same locking using ADO and BDE.
(type: IS, S)
bye


Back to top
glory
Guest





PostPosted: Mon Apr 05, 2004 3:10 am    Post subject: Re: I need the detail of BDE connections Reply with quote

with Query1 do
begin
Close;
SQL.Clear;
SQL.Add('select * from t1 ');
ParamByName().AsString:=....;
Open; // at here; there is a share lock when you
memo the next word : Last;
Last; // at this time , unlocked;
// processing.......
Close;
end;
Using MSSQL2000 Server /D5/BDE/Windows2000Server;
when I use ADO connections .there is no lock ;
I know when SQLServer is querying to the table , there is a share
lock or rows or on page but
My question is that : the query is opened and the share lock on
the table should be free, but at now
only I move the pointer to the last of the query . the lock is
free. so that's a big problem to me .
and please test it and reply to me thanks a lot

"Bill Todd (TeamB)" <no (AT) no (DOT) com>
??????:kdrq60tvcnjci25rhn3m82kvs7dlpthg6s (AT) 4ax (DOT) com...
Quote:
On Fri, 2 Apr 2004 09:33:12 +0800, "glory" wrote:

what configration is the key to resolve this lock, please give me more
help
thanks.


What lock? You question does not make sense. What database are you
using? What data access components are you using? Provide a detailed
description of the problem.

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)



Back to top
quinn wildman
Guest





PostPosted: Mon Apr 05, 2004 4:21 pm    Post subject: Re: I need the detail of BDE connections Reply with quote

The BDE isn't doing any locking here. The server is doing it.

glory wrote:

Quote:
hello:
just like these code:

with Query1 do
begin
Close;
SQL.Clear;
SQL.Add('select * from t1 ');
ParamByName().AsString:=....;
Open; // at here; there is a share lock when you
memo the next word : Last;
Last; // at this time , unlocked;
// processing.......
Close;
end;
Using MSSQL2000 Server /D5/BDE/Windows2000Server;
when I use ADO connections .there is no lock ;
I know when SQLServer is querying to the table , there is a share
lock or rows or on page but
My question is that : the query is opened and the share lock on
the table should be free, but at now
only I move the pointer to the last of the query . the lock is
free. so that's a big problem to me .
and please test it and reply to me thanks a lot

"Bill Todd (TeamB)" ??????:kdrq60tvcnjci25rhn3m82kvs7dlpthg6s (AT) 4ax (DOT) com...

On Fri, 2 Apr 2004 09:33:12 +0800, "glory" wrote:


what configration is the key to resolve this lock, please give me more

help

thanks.


What lock? You question does not make sense. What database are you
using? What data access components are you using? Provide a detailed
description of the problem.

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.