Why heap table doesn’t support Ghost records?
Under default isolation level,we know index data page or non-clustered index leaf page supports ghost records ,but heap table doesn't.So my question is why heap table doesn’t support Ghost records?
View ArticleMonitor ressource governor workload group fails as data collection ?
Hi all, I set up ressource governor in sql 2008 r2. Am able to monitor cpu usage % per workload group live. When I add "\SQLServer:Workload Group Stats (*)\CPU usage %" into a data collection no data...
View ArticleDevice is not ready
Hi allThere are so many error logs on eventlog showing that "Device is not ready"and in detail it is showing master.mdf . SQL service is still on, however can't get into the database through the...
View ArticleSQL TRACE ID 1 was started by Login "SA"
SQL TRACE ID 1 was started by Login "SA"SQL TRACE ID 2 was started by Login "SA"In every minute it is creating 200MB file and filling my disk space.Please help? Thanks
View Articlesys.fn_hadr_backup_is_preferred_replica returns 0 on both nodes of cluster
I have setup a Windows 2012, SQL 20102, 2-node, non-shared storage Availability Group cluster. I am trying to backup the transaction logs and databases but the sys.fn_hadr_backup_is_preferred_replica...
View ArticleSQL server shutdown
HI allI find the one of my sql server service suddenly shutdown. how can I know it's shutdown manually or accidentally?Beside sql errorlog file, are there any method which I can dump more information...
View ArticleRestore Database
Ideas on how to make a restore database faster? We have a huge database and we moved it to a slower drive due to budget constraints. I have the backup on 8 different files to make the backup faster; I...
View ArticleIDENTITY_INSERT
Hello all,I have a table that has an identity column. Since I deleted all the data in the table by mistake, I tried to insert data from a restored copy of the table. So in the INSERT statement I just...
View ArticleQUOTED_IDENTIFIER is a parse time setting but what if there are two in the...
BOL for this setting (2005-2012) hasn't changed. It says it is a parse time setting which happens before any lines are executed.SET QUOTED_IDENTIFIER OFF; DBCC useroptions EXEC(" IF EXISTS (SELECT *...
View ArticleCannot create date/time type fields in SQL Server 2012?
I install SQL Server 2012 Enterprise version on my computer. However, it is very strange that I cannot create field with following types:date,time,datetime2,datetimeoffset,hierarchyidIn SQL Server...
View ArticleSql Server agent - Job Schedule
I have set up few jobs in my Sql server to run periodically with my login credentials. If I change my windows password the job failed as the credentials was not updated with my new password.Please...
View ArticleNetwork problem when connecting......
The error shown below: TITLE: Connect to Server ------------------------------ Cannot connect to ADMIN-PC\SQLSERVER2008. ------------------------------ ADDITIONAL INFORMATION: A network-related or...
View ArticleWhen SQL kill a process?
Without issuing "kill" to a process, will SQL Server kill a process by itself ??
View ArticleCreating databases to an existing AG
Hi guys,Hopefully you can help me to get to know the best way how to create new databases in an existing available group.For SharePoint it is recommended to configure a CAP. Therefore I need an...
View ArticleHigh load RTCLOCAL SQL instance on idle Lync FE servers
Dear all,(double posting from Lync Server 2013 topic)I am facing a high CPU load on my lab Lync 2013 FE servers (both on an Enterprise FE server and a Standard FE server). No live users on the system...
View Articleazman + SQL Server 2008 : Access Denied
Hi,I am trying to create a new Authorization store with Azman with SQL Server 2008 R2 on Windows Server 2008 Server machine. However, when i try to do that, i get an error from Azman : "Can not create...
View ArticleWhich database login is mapped to which databases and what permission are...
Can I get a script that can give me the details of :Login Name-->User Name-->Permission-->database NameWhich database login is mapped to which databases and what permission are mapped.Thanks
View ArticleProblem in Select Top 1
Hi All-Its looking Strange for me!I'm using following Query!SELECT TOP 1 [Some_Column] FROM [Table] WHERE AlbumID = 'MW0001350412' AND ReleaseID='MR0003238514'The Problem here is when I'm running the...
View ArticleDeadlock reports not appearing in log
On our dev system, the trace flags 1204 and 1222 are on, deadlocks are detected and resolved, the reports appear nicely in the profiler, but they are not appearing in the system log. SQL 2008 not R2,...
View ArticleDatabase in Recovery Mode
I have a big delete operation, then while deleting the server went on a restart.When opening the server again, I got the database In Recovery mode.What is the solution?
View Article