Viewing 15 posts - 781 through 795 (of 1,365 total)
Did you specified the db_executor role name under the where clause:
where D.name='SPECIFY ROLENAME HERE'
MJ
January 7, 2009 at 3:57 pm
Have you gone thru http://support.microsoft.com/kb/911816
MJ
January 7, 2009 at 3:16 pm
See if the default roles meets ur requirement:http://technet.microsoft.com/en-us/library/ms188283.aspx
Or you can explicitly deny access on sp_add_job stored procedure for that particular user.
MJ
January 7, 2009 at 12:57 pm
From http://www.fmsinc.com/freE/NewTips/SQL/SQLtip9.asp
While only local devices are shown in Enterprise Manager’s Backup/Restore dialogs, there is a way to create or restore a SQL Server database backup on a network file share....
January 7, 2009 at 12:51 pm
Try running profiler and see what are the queries that are consuming most of the CPU and tune them one at a time.
Also, make sure AUTO SHRINK and AUTO CLOSE...
January 7, 2009 at 11:58 am
If you have a stored procedure that uses a temp table the common assumption is that its deleted after the SP executes because you don't have drop it explicity in...
January 7, 2009 at 11:51 am
Try this:
DECLARE @sTableName SYSNAME
DECLARE @sSQL NVARCHAR(max)
DECLARE @iRowCount INT
DECLARE @t_TableNames_Temp TABLE
(table_name SYSNAME)
Drop Table TableGrowth
Create Table TableGrowth
(
DBName varchar(32),
SchemaName varchar(32),
TableName varchar(50),
TableID int,
MinRowSize int,
MaxRowSize int,
ReservedKB int,
DataKB ...
January 7, 2009 at 8:53 am
Try using the below mentioned script in a stored procedure and loop it through all databases on the server. Create and schedule a sql agent job which runs this stored...
January 7, 2009 at 8:01 am
What does that job do? Please post the job script if possible.
MJ
January 7, 2009 at 5:43 am
Does it display the same once you execute dbcc updateusage(0) with count_rows?
MJ
January 6, 2009 at 8:36 pm
Use this:
SELECT C.name 'Schema',
B.name AS Object,
...
January 6, 2009 at 8:34 pm
Its happening because the owner of the database is this login "xyz". To revoke permissions from it change the database owner to something else for eg. Exec sp_shangedbowner 'sa' and...
January 6, 2009 at 8:29 pm
This is an expected message if the server runs under local admin or any domain account.
If you run SQL as Network Service or Local System, then the service will have...
January 6, 2009 at 8:11 pm
Try putting up database in single user mode(if possible) and then run the code. If it runs fine then you need to find what else was bothering when it was...
January 6, 2009 at 1:27 pm
Try to make use of the logic that 'tempdb' database gets created evrytime when sql server service is restarted so log this in a central table and report on how...
January 6, 2009 at 7:46 am
Viewing 15 posts - 781 through 795 (of 1,365 total)