Viewing 15 posts - 166 through 180 (of 308 total)
Is this a development database on a dev server?
September 17, 2014 at 5:29 am
It all depends on how much work the IndexOptimize job has to do. One way to check would be to run the following script:-
USE [<DB NAME>];
GO
SELECT
DB_NAME(DB_ID()) AS [Database Name],...
September 16, 2014 at 2:40 pm
What I would do is grant the user SELECT on the sys.server_principals table in the master database. This will allow the user to see all the logins.
I would then make...
September 16, 2014 at 2:33 pm
To check if the account is enabled, open SSMS go to Security > Logins. Right click the sa login and go to Properties > Status.
You'll then be able to see...
September 16, 2014 at 8:56 am
There's a function in SQL Server called ROUND():-
September 16, 2014 at 4:54 am
Once you've got your new SQL installation setup you have several options for migrating your databases. You've already mentioned backup and restore, there's also mirroring and log shipping too.
If you...
September 16, 2014 at 4:44 am
I've used http://databasehealth.com/ in the past as a free tool. It works fairly well just be careful with it as it creates jobs on the target server(s).
There's also the PAL...
September 16, 2014 at 4:37 am
Not sure if you're still watching this post but I would check that the SQL Server Agent account has permissions to the directory.
As you're running the backup as a job...
September 12, 2014 at 4:17 am
Microsoft release a free PDF called 'Introducing SQL Server 2012' which should help you get started.
It can be found here:- http://blogs.msdn.com/b/microsoft_press/archive/2012/03/15/free-ebook-introducing-microsoft-sql-server-2012.aspx
September 10, 2014 at 5:33 am
Did you restart your local instance after the deadlock occurred?
If you did, the deadlock information would be contained in one of the other error log files:-
ERRORLOG.1
ERRORLOG.2
etc
Have you looked in those...
September 9, 2014 at 7:02 am
With trace flag 1222 running the deadlock information will be recorded in the SQL Server log.
Open up SSMS, then got to Management > SQL Server Log. Then open the log...
September 9, 2014 at 6:16 am
Rebuilding indexes will consume disk space, but I would recommend that you backup the log regularly instead of switching the database's recovery mode.
September 4, 2014 at 6:09 am
Why are you switching recovery modes to perform maintenance on your indexes?
September 4, 2014 at 6:03 am
From MSDN:-
Specifies that if the configuration setting does not require a server stop and restart, the currently running value should be updated.
You've already run RECONFIGURE so don't worry. Best way...
September 3, 2014 at 2:22 pm
The way I would do this is:-
--Create table
CREATE TABLE Ticket
([Ticket] CHAR(1),
[User] CHAR(3),
[Priority] TINYINT);
GO
--Insert data
INSERT INTO dbo.[Ticket]
SELECT 'A', 'ME', 1 UNION ALL
SELECT 'B', 'ME', 1...
September 3, 2014 at 2:06 pm
Viewing 15 posts - 166 through 180 (of 308 total)