ignores covering index
I have a common search query on a simple table that has only a single covering (nonclustered, not unique) index.This will use the index:SELECT @bOK = 1 FROM verify_e1_account WHERE (e1_business_unit =...
View ArticleSlow performance
We have slow performance on a SQL server, and esp. when doing restore, it slows down, sometimes causes network slow. The data, log, backup drive are all on SANI did a query like this: --see the top ten...
View Articlemultiple LDF files
For some reason this one database we have found has two LDF files. The properties of the database shows those two separate LOG files. When i try to delete one (via SSMS) i receive the error: The file...
View Articlehow to find blocking and deadlock? how to resolve?
hiiiiii Friends..... pls help me how to find blocking and dead locking .how to resolve ?Thanks in advance
View Articlewhat is query plan ? what is estimated query plan ? what is actual query...
hi sql frnds..greetings....please explain about query plan.thanks in advance.best regardsvijay
View ArticleAny place article etc where i can read how in reality SQL server works, uses...
hello. I will prepare a quick presentation at my universityMy topic is how in reality MS-SQL server worksUses which indexes like B+ treesAre there any place where i can read ? Particularly i need...
View ArticleCan LOB data ever be fragmented?
Hi All,Looking at the following output of sys.dm_db_index_physical_stats on one of my tables, i noticed 2 rows for indid = 1. 1 for IN_ROW_DATA, 1 for LOB_DATA. Now i understand (i think) that if the...
View ArticleStatistics update
Hi,we have one one sp which contains select statement which will be fired for every 15min when i tried to tune the query using recommendations of sql query optimizer in it. It was recommending to...
View ArticleVisual Studio is not able to connect with SQL server error 40 occurred
Hi,Recently I installed SQL server 2008 r2 express edition and I am able to access SQL server but when I try to connect error 40 occurred. I have default instance, It could be because Server Agent is...
View ArticleWhich AdventureWorks DB works with SQL Server 2008?
I tried attaching it but I keep getting this errorthis version is 661 and the database is 665What can I do?
View ArticleRoundHouse versioning with SQL server
Hi All,Can anyone guide me to get through in ROUNDHOUSE version with SQL SERVER?Thanks in Advance.
View ArticleSQL-Server 2012: Cannot populate fulltext catalog on large table with...
I'd like to create a fulltext index on a larger table (close to 4 million records). However, this does not work when the index also contains statistical semantics.Statistical semantics is set up on the...
View ArticleAuthentication
Hi All,I know there are two kinds of authentications in sqlserver, Windows and SQL. Is there any query there any query which gives output as these available authentication like windows authentication...
View ArticleWhat factor is causing this simple query to take so long?
I have a pretty straightforward SELECT query that joins several tables on integer primary keys and ends in a very simple WHERE clause of "where table1.IsActive = 1". I am injecting artificial data in...
View ArticleIs it safe to DBCC SHRINKFILE the transaction log while log shipping?
I administrate a database where IT has recently enabled transaction log shipping. Over the weekend, some index reorgs caused the transaction log to grow substantially--approximately 10x its usual...
View ArticleConfigure Linked Server
Hi,How do you configure a linked server in SQL server 2005 and are there any performance issues with having SQL server set as a linked server?CheersPaul
View ArticleLeast accessing instances show as high memory utilization in my resource monitor
Hi All, Currently 5 SQLServer instances are running on one of my clustered node and least accessing instances show as high memory utilization in my resource monitor. Can someone advice the reason...
View ArticleHow roll back sp3 to sp1 on sql server 2008 servers
hi All, Lat week we have upgraded sql server 2008 with sp3.but now user asking us to roll back to sp1. Please let me know the step by step process for rollback to sp1. Regards,Maheshwar Reddy
View ArticleDatabase not attached at startup?
I had a very strange situation this morning. The computer that the SQL Server is on was shut down over the weekend, and everything shut down properly. It is running on Windows 2008 R2, and SQL Server...
View ArticleExtended event status change
Hi Please see my Extended event script to capture the deadlock detailsCREATE EVENT SESSION [Monito_DeadLock] ON SERVER ADD EVENT sqlserver.lock_deadlock ( ACTION ( sqlserver.client_app_name,...
View Article