Monday, March 26, 2012
Running Under Compatibility Level 80
After we migrate our SQL 2000 databases, the compatibility level is set
to "SQL Server 2000(80)" by default. My question are:
1. What are the differences in terms of performance runing databases
under comp level 80 and comp level 90 in SQL 2005 ?
2. What do I lose if the database is still running under Comp level 80?
3. What do I gain by chaning to 90, what are things need to be
considered?
ThanksHi Don,
Check out the matrices in the BOL topic for sp_dbcmptlevel. Just changing
the compatibility level may not significanty change the performance, but the
use of feature that are not available because of it, could have a significant
impact.
John
"Don" wrote:
> Hi There,
> After we migrate our SQL 2000 databases, the compatibility level is set
> to "SQL Server 2000(80)" by default. My question are:
> 1. What are the differences in terms of performance runing databases
> under comp level 80 and comp level 90 in SQL 2005 ?
> 2. What do I lose if the database is still running under Comp level 80?
> 3. What do I gain by chaning to 90, what are things need to be
> considered?
> Thanks
>
Running Under Compatibility Level 80
After we migrate our SQL 2000 databases, the compatibility level is set
to "SQL Server 2000(80)" by default. My question are:
1. What are the differences in terms of performance runing databases
under comp level 80 and comp level 90 in SQL 2005 ?
2. What do I lose if the database is still running under Comp level 80?
3. What do I gain by chaning to 90, what are things need to be
considered?
ThanksHi Don,
Check out the matrices in the BOL topic for sp_dbcmptlevel. Just changing
the compatibility level may not significanty change the performance, but the
use of feature that are not available because of it, could have a significan
t
impact.
John
"Don" wrote:
> Hi There,
> After we migrate our SQL 2000 databases, the compatibility level is set
> to "SQL Server 2000(80)" by default. My question are:
> 1. What are the differences in terms of performance runing databases
> under comp level 80 and comp level 90 in SQL 2005 ?
> 2. What do I lose if the database is still running under Comp level 80?
> 3. What do I gain by chaning to 90, what are things need to be
> considered?
> Thanks
>sql
Running Totals at group level
Hi,
I have a report that groups data by day - I have created a running value to
show cumulative sales for Monday, Monday+Tuesday, Monday+Tuesday+Wednesday etc.
I have a group below this level that expands out the customer. I
wish to create a cumulative sales value for that customer for that day of the
week. i.e. Customer A Monday value, Customer A Monday+Tuesday
value.
When you use RunningValue with scope Nothing, ie.
RunningValue(Fields!nett_value.Value, Sum, Nothing), the value returned on
Tuesday is Total Monday value plus each customer Tuesday value cumulative
adding. If you use scope at customer group level it cumulatively
adds that day’s customer totals.
I need to recreate:
Daily
Cumulative
Monday
100 100
Customer A 50
50
Customer B 25
25
Customer C 25
25
Tuesday
100 200
Customer A 50
100
Customer B 25
50
Customer C 25
50
Any ideas?
Thanks
While I am having fun trying to work this out...Any help would be great!!!
Thanks!
Wednesday, March 21, 2012
Running SQLServer and SQLServer Agent as Power User
n
on our Win2K servers, especially SQL servers. We have created a domain level
account to run SQLServer and SQLAgent. We'd like to limit it to Power User
status instead of Admin status on the servers, but we cannot seem to start
and stop the services from SEM with only Power User status. We've checked
registry key permissions and everything seems to be configured properly. Is
this configuration even possible? Or does this account NEED to be local admi
n
on the server? Help would be appreciated. Thanks.The account that starts the services needs to have the "log on as a service"
right. Without this MSSQLServer and MS SQL Server Agent will not start.
It would also be more secure to use a domain account for this rather than a
local account as SQL then benefits from the integrated security of Windows
2000.
Also why would you want end users to have admin rights on the server at all?
This defeats the object of system security and resource accessibility. It
is best that they are Doman Users only then assign access rights to shares
on the servers.
HTH
Regards
Dazza
"gbledsoe" <gbledsoe@.discussions.microsoft.com> wrote in message
news:72CDD311-3C73-480E-9734-3E6F0E76DB09@.microsoft.com...
> We're trying to limit the number of user accounts with Admin level
> permission
> on our Win2K servers, especially SQL servers. We have created a domain
> level
> account to run SQLServer and SQLAgent. We'd like to limit it to Power User
> status instead of Admin status on the servers, but we cannot seem to start
> and stop the services from SEM with only Power User status. We've checked
> registry key permissions and everything seems to be configured properly.
> Is
> this configuration even possible? Or does this account NEED to be local
> admin
> on the server? Help would be appreciated. Thanks.|||We've following the instructions in MS article 283811 and ensured that the
account has all necessary extended user rights, such as act as part of
operating system, logon as batch job, logon as service. The fundamental
question is whether the account can run as Power User or does it need to be
Administrator? If it does not NEED to be Administrator, what other
configuration is necessary to let us use that account to stop and start the
SQLServer service, since Power User does not seem to have the rights. Thanks
.
"Dazza" wrote:
> The account that starts the services needs to have the "log on as a servic
e"
> right. Without this MSSQLServer and MS SQL Server Agent will not start.
> It would also be more secure to use a domain account for this rather than
a
> local account as SQL then benefits from the integrated security of Windows
> 2000.
> Also why would you want end users to have admin rights on the server at al
l?
> This defeats the object of system security and resource accessibility. It
> is best that they are Doman Users only then assign access rights to shares
> on the servers.
> HTH
> Regards
> Dazza
>
> "gbledsoe" <gbledsoe@.discussions.microsoft.com> wrote in message
> news:72CDD311-3C73-480E-9734-3E6F0E76DB09@.microsoft.com...
>
>|||gbledsoe wrote:
> We're trying to limit the number of user accounts with Admin level permiss
ion
> on our Win2K servers, especially SQL servers. We have created a domain lev
el
> account to run SQLServer and SQLAgent. We'd like to limit it to Power User
> status instead of Admin status on the servers, but we cannot seem to start
> and stop the services from SEM with only Power User status. We've checked
> registry key permissions and everything seems to be configured properly. I
s
> this configuration even possible? Or does this account NEED to be local ad
min
> on the server? Help would be appreciated. Thanks.
It should be, although not all sql feature are available. I am running
multiple instances with different plain domain user accounts. When you are
not sure about registry, user and ntfs permission change the account using
the enterprise manager.
When you need the proxy account to run scheduled dts packages create a
separate account for the sql agent service and make it local admin, unless
someone here can explain how to accomplice this without local admin rights.
have a look at this one:
http://support.microsoft.com/defaul...;283811&sd=tech
Hans