Solved

What is the purpose of the User Account SQLService?

Posted on 2006-10-30
3
216 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
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…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

635 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