Solved

What is the purpose of the User Account SQLService?

Posted on 2006-10-30
3
208 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
Comment Utility
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
Comment Utility
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
Comment Utility
Glad to help.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Word Template Mail merge with vb.net 4 38
Sort by Month and Year - SQL 3 22
SQL Server 2012 Row Selection 2 29
Report Builder 9 25
Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

743 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

17 Experts available now in Live!

Get 1:1 Help Now