Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

What is the purpose of the User Account SQLService?

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how the fundamental information of how to create a table.

661 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