Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

What is the purpose of the User Account SQLService?

Posted on 2006-10-30
3
Medium Priority
?
222 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 500 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

782 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