What is the Server ?
All advanced database management systems include some kind of service applications as part of the database system. For example, to use the SQL Server database, you must have an application called "SQL Server Engine" running on the computer. This application is a windows service (a hidden application that will start automatically when your computer starts and keep running always).
Your program (software) which need to access the database will not access the database file directly. Instead, your program will communicate with the database service application. It is the responsibility of this service to communicate with the database file and execute your commands.
When you install SQL Server on your computer, the SQL Server service will be automatically installed on your computer. When you write code to access database, you just write the ADO.NET code using C#, VB.NET etc. The .NET Framework will execute your ADO.NET code to communicate with the database server and database server will communicate with the database file to execute. All these happens without your knowledge. All you do is, write ADO.NET code to execute queries and you will get the results back.
To make your ADO.NET code work, the database service must be running. If somebody stop the service, your code will fail.
In case of file based database systems like MS Access or FoxPro, there is no database service involved. Your code will directly communicate with the database file.
Popular Posts
-
The SQL ORDER BY clause comes in handy when you want to sort your SQL result sets by some column(s). For example if you want to select all t...
-
1 Introducing the .NET Framework with C# The .NET Framework is such a comprehensive platform that it can be a little difficult to descr...
-
STRINGS: The way a group of integers can be stored in an integer array, similarly a group of characters can be stored in a character array. ...
-
Declaration of variables In order to use a variable in C++, we must first declare it specifying which data type we want it to be. The syntax...
-
Introduction: In this exercise, you are going to build and run a sample Java program called Homework using NetBeans. The sample program can...
-
SQL aliases can be used with database tables and with database table columns, depending on task you are performing. SQL column aliases are u...
-
A "service" is an application that can start automatically when the computer starts. There are two start up modes: 1. Automatic - ...
-
More About Ascii How can I know what is the Ascii value of a specific character? Use the Asc command. For example, the following line: Print...
-
Using functions we can structure our programs in a more modular way, accessing all the potential that structured programming can offer to us...
-
Java Server Pages JavaServer Pages (JSP) technology is the Java platform technology for delivering dynamic content to web clients in a por...
No comments:
Post a Comment