Periodic server crashes on DB server, no cause?
We've got 2 DB servers, connected to a SAN via fiberchannel connection.We've had periodic (1-2) crashes a week off an on, but have become more frequent.The only thing running on the servers is SQL...
View ArticleWhy 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 ArticleTable Valued Function running slow when called from SP
Hi everybody,I have this SP that calls a table-valued function whose execution is really slow (10 seconds for 4000 rows).I noticed a strange behavior: if I run the SP I get the results in 10 seconds.On...
View ArticleEstimated Number of rows Issue when Result set is empty
Hi All, i query the "orders" table from northwinds database The query is SELECT * FROM Orders WHERE OrderDate > '2000-01-01' The table has the orders data from 1996 to 1998 so ideally the result set...
View Articlesql server
HI, SIR I have one project in asp.net with sql sever database 2008...but i want to restore this database in visual studio 2010 because i have visual studio 2010 and there is sql server is internally...
View ArticleSQL 2012 issue in restoring differential backup
Selected full backup and choosed Restore with NoRecovery, Full backup restored After then, when I try to restore the differential backup getting the error as”Unable to create restore plan due to break...
View ArticleMaximum stored procedure, function, trigger, or view nesting level exceeded...
HiAfter database restore , I am trying to apply security permissions; , scripts is as belowGRANT SELECT ON [dbo].[Table_name] TO [database role]This is throwing error "Maximum stored procedure,...
View ArticleExtended Events Mirroring Tracing
I am doing some performance investigations in a database.Two servers with synchronous database mirroring between two data centers.A simple stored procedure with one insert statement (auto-commit...
View ArticleApply service pack = Copy Resourcedb
As per book online=================Because the Resource database file contains all system objects, an upgrade is now accomplished simply by copying the single Resource database file to the local...
View ArticleQuota in Tempdb
Can we place quota in tempdb/userdb so that one session can't use more than 10% of it's actual size.Manish
View ArticleWhen SQL kill a process?
Without issuing "kill" to a process, will SQL Server kill a process by itself ??
View ArticleHow to setup SQL Alert on any error in SQL Server
I am looking for any possible ways to setup SQL Server Alerts on any error that occurs in SQL Server, is there a simple way to achieve this? I know, I can configure separate SQL Server Event Alerts...
View Articlehow to get summary of document in sql server full text search
hi how to get the summary of document in full text search like Microsoft Indexing Service
View ArticleHow to create Master table in the sqlserver 2008
I want to create Master table in sqlserver 2008. i want to create master table for my project. suppose i have 50 tables if i have changed any data master table it has to be reflect in the child table...
View ArticleMaintenence plans - if tasks not connected will they all still execute?
I'm looking at a maintenance plan that someone else setup and the tasks (rebuild index, reorg index and check db integrity) are not connected.Shouldn't they be connected in order for them all to be...
View ArticleSQL server 2008 (build 10.0.5500): Why a table with Non-clustered index takes...
Quite strange . CREATE TABLE [dbo].[test]([i] [int] NOT NULL, PRIMARY KEY CLUSTERED ([i] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,...
View ArticleImport into Time Field
I want to import a datetime field data from MS Access to MS SQL 2008 Time field and realize that it import 1:00:00 PM from MS Access table to change to 1:00:00 AM in MS SQL Server table.It works if I...
View Articlehow to find out perticular database has performance issue?
I have Altiris application database on sql server 2008 R2. user is requesting to find out performance issue on database.I need to know how to troubleshoot for perticular database performance issue or...
View ArticleChangeTracking explicit cleanup
I have what I would think is a very standard use case for Change Tracking in SQL Server 2012. We have an OLTP database and a separate reporting database which will be periodically updated via...
View ArticleMiantenence plan job is enabled - so why no job history in msdb.sysjobhistory?
SQL 2005 SP2Have a maintenence plan, which I was attempting to view the job history on.Both from sql agent, and through the statement below. In both cases, I see NOTHING.SELECT TOP 100 * FROM...
View Article