Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / ADO.NET / January 2006

Tip: Looking for answers? Try searching our database.

Newbie Client-Server select Query Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jepsen,andy - 03 Jan 2006 17:21 GMT
It might be a very basic question, but I don't the answer. Please clear my
boubt.

From the client system when we execute "select * from Employee" where does
the execution takes place.
Does it execute it at server or at client.
Do we need to have a high power client to do any queries.

Please Help,
Andy
Marina - 03 Jan 2006 18:18 GMT
What does 'client system' mean.  What exactly is your scenario. What is the
structure of the application.

> It might be a very basic question, but I don't the answer. Please clear my
> boubt.
[quoted text clipped - 6 lines]
> Please Help,
> Andy
jepsen,andy - 03 Jan 2006 18:37 GMT
Suppose I have 2 system. One is the server another is just a client to
communicate with the server.
My question is if I do a query from the client then will it do the
processing at the server or at the system where we ran the query.

I hope this is clear.
Thanks, Andy

> What does 'client system' mean.  What exactly is your scenario. What is
> the structure of the application.
[quoted text clipped - 9 lines]
>> Please Help,
>> Andy
Kerry Moorman - 03 Jan 2006 18:55 GMT
Andy,

If by server you mean a true RDBMS such as SQL Server, Oracle, DB2, etc.,
then the processing will be done at the server and the resultset will be
returned to the client.

Of course, if by server you mean an Access database file then the processing
will be done on the client, regardless of where the Access file is located.

Kerry Moorman

> Suppose I have 2 system. One is the server another is just a client to
> communicate with the server.
[quoted text clipped - 17 lines]
> >> Please Help,
> >> Andy
Jerry H. - 03 Jan 2006 18:59 GMT
Much of that depends on the design of your provider and the database.
I believe with MS SQL server (all variants), the query is passed to the
machine where the SQL Server is actually installed.

I have also worked with older systems (such as a Thoroughbred DB that
uses flat files) where the ODBC client does all the work...which means
that the client machine itself  needs to have some processing power
behind it.
Marina - 03 Jan 2006 19:07 GMT
No, you are still being very vague on what a client is in your
understanding, and what a server is. That answer did not clear anything up,
really.

Well, presumably the client tells the server to run a query for it. So of
course the server is the one that handles this request.  The client in this
case just passes along the query it wants run, and that's it.  This is the
only client/server scenario I can imagine, or else you don't really need a
server.

But, in this case, I am not sure why you would ask this question. Since the
whole concept is that the client asks the server to run the query - and the
server goes to the database. So there is no possible way the client can be
handling running the query.

The server, however, is responsible for connecting to the DB, etc, but of
course it is the database server that runs the actual query. The database
server parses the query, creates the execution plans, and goes gets the
data.  The server component of an application is not itself a database
engine, it is just handling client requests.

Only the database server/engine ever truly executes queries. It returns the
result set to whoever requested it - in this case the server component of an
application, which in turn hands the data over to the client application.

> Suppose I have 2 system. One is the server another is just a client to
> communicate with the server.
[quoted text clipped - 17 lines]
>>> Please Help,
>>> Andy
George Gomez - 06 Jan 2006 07:58 GMT
> No, you are still being very vague on what a client is in your
> understanding, and what a server is. That answer did not clear anything up,
[quoted text clipped - 42 lines]
>>>>Please Help,
>>>>Andy

Hi,

The only thing I would add here is that you really do not need a
powerful client in order to view the results of complex queries.

The client, however, needs to be powerful enough to support the
application that you are going to be running on it, regardless of the
time it takes to process sql commands.

Regards,
George

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.