 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bpk. Adi Wira Kusuma Guest
|
Posted: Mon Apr 04, 2005 1:35 am Post subject: What is the meaning "Session"? |
|
|
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
|
Posted: Mon Apr 04, 2005 12:56 pm Post subject: Re: What is the meaning "Session"? |
|
|
| 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
|
Posted: Mon Apr 04, 2005 2:53 pm Post subject: Re: What is the meaning "Session"? |
|
|
Thanks, Patrick.
Can a client have more than a Session? If Can, give me its illustration!
|
|
| Back to top |
|
 |
Patrick Guest
|
Posted: Mon Apr 04, 2005 3:44 pm Post subject: Re: What is the meaning "Session"? |
|
|
| 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
|
Posted: Mon Apr 04, 2005 6:29 pm Post subject: Re: What is the meaning "Session"? |
|
|
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
|
Posted: Mon Apr 04, 2005 7:13 pm Post subject: Re: What is the meaning "Session"? |
|
|
| 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
|
Posted: Mon Apr 04, 2005 7:21 pm Post subject: Re: What is the meaning "Session"? |
|
|
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
|
Posted: Tue Apr 05, 2005 1:23 am Post subject: Re: What is the meaning "Session"? |
|
|
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 |
|
 |
|
|
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
|
|