SQL 2012 RTM CREATE DATABASE permission denied in database 'master'
I have a new installation of SQL 2012 RTM Enterprise edition 64 bit. I get the following messages in a job log when the job runs to create a new database by doing a restore databases with a new...
View ArticleSQL Server Management Studio - Not Connecting To Database
Hi There!I've been looking online for a solution for a couple of days now and nothing seems to be working, I'm usingMicrosoft SQL Server Management Studio and I'm attempting to connect to a database, I...
View Articleresrtarting msdtc..what effect on existing database connections?
Hi there,I have a spid that is been in a state of rollback for some time and I am considering resarting sql server, however I read that restart msdtc can kill of the rogue spid. will restarting msdtc...
View ArticleHelp me on pulling a SQL report with regards to any StoredProc whose timing...
HI All,One of our customer has reported that few Stored procs execution time is drastically increased.he is looking for the report and looking for timing has suddenly increased. --- no idea how to get...
View ArticleProblem understanding the internals of SPID
Hi, I have problem understanding how SQL Server SPID works when it is used in production server that has lot of stroed procedure and triggers. I know that SPID is a Server Process ID unique to each...
View ArticleSQL Server Engine Interprets Carriage Feed different from Line Feed
From the PRINT Output of the below statement if you parse the statementsdeclare @sql VARCHAR(MAX)SELECT @SQL = COALESCE(@sql + CHAR(13) + 'use [master] ','use [master] ' + CHAR(13)) + 'ALTER DATABASE '...
View ArticleFailed to initialize MSDB database for tuning (exit code: -1073741819)....
Hello,This is the first time I am using this forum. I am stuck and need some help. I received this error message both on SQL 2005 and 2008. I am currently using SQL 2008 DEV for testing purposes and I...
View ArticleDeadlocks and metadata locks
I have a deadlock situation that I am having some difficulty understanding. Attached is the deadlock graph - I am trying to understand why we see so many metadata locks. Is a metadata lock the same as...
View ArticleDatabase incremental backup with Error:3013:BACKUP DATABASE is terminating...
Hi,Why I get this error when i try to get incremental backup.I took four time incremental backup.Database incremental backup with Error:3013:BACKUP DATABASE is terminating abnormally.Please execute...
View ArticleCan we change collation for SQL Server 2008 database
Can we change collation for SQL Server 2008 database
View ArticleDLL
Hi,SQL server crashes, during investigating we found out one dll created this problem. Right now multiple applications have dbs on that instance. How to find out for which application that dll is...
View ArticleWindows server 2008 x86 - sql 2008 R2 standard - Memory question
Windows server 2008 x86 sql 2008 R2 standardMax mem - 60 gb, have set 4GB for OS. AWE enabled, SQL is slowly trying to consume the available memory. But sys.dm_os_ sys_info shows bpool_visible still as...
View ArticleMax degree of parallelism setting
Hi,I have some servers in whichmax degree of parallelism set to 1 for below configured serverVirtual processor count=16Logical CPU Count=16 and Physical CPU Count=4So my question is, this is valid to...
View Articlewhat disk bandwidth we should be able to expect for a single database server.
My Performance analsyt whouses external 3rd party tools on my environment says that where he attempts read/write activity of 5 Mbyte per second (from the SQL server process) leads to disk response...
View ArticleBackup fails after installing SQL2012 SP1 CU1 Build 3321
After updating SQL 2012 Standard edition from RTM CU2 (build 2325) to SP1 CU1 (build 3321), the server was recently rebooted and backups now give the error below.This looks remarkably like the error...
View Articlehow sql server decide on what to create statistics ?
Hi, I have a heap table. IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Files]') AND type in (N'U')) BEGIN CREATE TABLE [dbo].[Files]( [FileId] [int] IDENTITY(1,1) NOT...
View Articlesys.dm_os_wait_stats: is wait_time_ms count as microseconds?
sys.dm_os_wait_stats column name wait_time_ms, is the unit as microseconds?also what is XE_TIMER_EVENT? it is not list on the BOL below:http://technet.microsoft.com/en-us/library/ms179984.aspx is there...
View ArticleExperiencing a problem with high CPU utilization which is coming from...
I have a Windows Server 2003 running SQL Server 2005 and Sharepoint. Having an issue with CPU utilization spiking to 100% shortly after starting the sql server service. Have tried to disable mssearch...
View Articlekeeping track of cpu utilization history using date
Hi Gurus,i have cpu utilization query where i need to track the history,but i dont have any date column in the query please help me to get data for last 24 hours in one hour interval.please find the...
View Article