Solved

What is the purpose of the User Account SQLService?

Posted on 2006-10-30
3
209 Views
Last Modified: 2008-02-01
I have looked in three books, searched MSDN, google and ASK - and I can not get a definition for SQLService -

what is it?
what is it used it for?
Is it created when SQL Server 2000 is installed?

Thanks
0
Comment
Question by:KimberleyY
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
nmcdermaid earned 125 total points
ID: 17839698
SQLService - This particular word could mean a couple of things so here's the long explanation.


"SQL Server" runs as a service. A service is a 'program' that is running on the server at all times (even when you're not logged in)

If you open up the services applet (start/settings/control panel/administrative tools/services) you will see that there are a whole load of services running on your computer (including MSSQLSERVER). You can in fact stop and start these services.


The SQL Server Service (MSSQLSERVER) does these things (and more):
-accepts incoming connections over the network
-writes stuff to database files


When the service performs files operations, it needs to have a 'security context'.

For example when the service requests windows to delete all of your MP3 files, windows needs to know if that request is from a user who has sufficient rights to delete those files.

You can actually see the security context in the Services applet - its under 'Log On'. That is the account that the service runs under.


Generally the SQL Server account is not an issue as its only doing things locally.

Its actually the SQL Server Agent account that is usually the issue as by default it is a 'Local' user that doesn't know anything about (or have any rights on) the network.

Then when you try to get the SQL Agent to copy a network file (by creating a scheduled job) it fails because the service is not running under an account that can do network operations.



0
 

Author Comment

by:KimberleyY
ID: 17842309
Thanks for a very nice and simple to understand answer.

Its like a word you know because you can infer what it means based on how its used - I just wanted to be sure befire I explained it to someone else

Great Job!
0
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 17846999
Glad to help.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP.NET 5 Templates 2 65
sql server query from excel 3 57
SQL Server merge records in one table 2 10
Extract string portion 2 10
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now