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 

What is the meaning "Session"?

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





PostPosted: Mon Apr 04, 2005 1:35 am    Post subject: What is the meaning "Session"? Reply with quote



In SQL Server, there are term " Session". What is the meaning "Session"? I
Have tried to read its of Manual Book. But I just still not understand. Can
You explain to me easyly?


Back to top
Patrick
Guest





PostPosted: Mon Apr 04, 2005 12:56 pm    Post subject: Re: What is the meaning "Session"? Reply with quote



Quote:
You explain to me easyly?
A session to SQL Server starts when a client connects to the server and ends

when the client closes the connection.



Back to top
Bpk. Adi Wira Kusuma
Guest





PostPosted: Mon Apr 04, 2005 2:53 pm    Post subject: Re: What is the meaning "Session"? Reply with quote



Thanks, Patrick.

Can a client have more than a Session? If Can, give me its illustration!


Back to top
Patrick
Guest





PostPosted: Mon Apr 04, 2005 3:44 pm    Post subject: Re: What is the meaning "Session"? Reply with quote

Quote:
Can a client have more than a Session? If Can, give me its illustration!
That depends on how you define 'Client.' To SQL server, no, each connection

is a 'client.' To an application, it could have multiple connections to the
server, each one being a session. isqlw is a good example of that (each
window has a different session.)



Back to top
Bpk. Adi Wira Kusuma
Guest





PostPosted: Mon Apr 04, 2005 6:29 pm    Post subject: Re: What is the meaning "Session"? Reply with quote

Wait...wait. Patrick, If I make a application with BDE object. Can I have
multiple Session? If Can, How to make it?
And Can I execute more than a statement at TQuery Object?

Trims.......!


Back to top
Patrick
Guest





PostPosted: Mon Apr 04, 2005 7:13 pm    Post subject: Re: What is the meaning "Session"? Reply with quote

Quote:
Wait...wait. Patrick, If I make a application with BDE object. Can I have
multiple Session? If Can, How to make it?
And Can I execute more than a statement at TQuery Object?

I know nothing about BDE, sorry.



Back to top
Kevin Frevert
Guest





PostPosted: Mon Apr 04, 2005 7:21 pm    Post subject: Re: What is the meaning "Session"? Reply with quote

Adi,

By using the TSession component. I recommend (along with Borland and
Microsoft) that you use ADO and not the depreciated DBLib (which the BDE
uses) for MSSQL 7/2000 data access.

http://community.borland.com/article/0,1410,28688,00.html
http://community.borland.com/article/0,1410,10359,00.html
http://community.borland.com/article/0,1410,19694,00.html
http://support.microsoft.com/default.aspx?scid=kb;en-us;260817

Good luck,
krf

"Bpk. Adi Wira Kusuma" <adi_wira_kusuma (AT) yahoo (DOT) com.sg> wrote

Quote:
Wait...wait. Patrick, If I make a application with BDE object. Can I have
multiple Session? If Can, How to make it?
And Can I execute more than a statement at TQuery Object?

Trims.......!





Back to top
Bill Todd
Guest





PostPosted: Tue Apr 05, 2005 1:23 am    Post subject: Re: What is the meaning "Session"? Reply with quote

As Kevin said, do not use the BDE to access SQL Server. Use ADO.

--
Bill Todd (TeamB)
TeamB cannot answer 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.