Quantcast
Channel: SQL Server Database Engine forum
Browsing all 15264 articles
Browse latest View live

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 Article


Slow 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 Article


multiple 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 Article

how 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 Article

what 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 Article


Any 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 Article

Can 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 Article

Statistics 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 Article


Visual 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 Article


Which 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 Article

RoundHouse versioning with SQL server

Hi All,Can anyone guide me to get through in ROUNDHOUSE version  with SQL SERVER?Thanks in Advance.

View Article

SQL-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 Article

Authentication

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 Article


What 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 Article

Is 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 Article


Configure 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 Article

Least 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 Article


How 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 Article

Database 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 Article

Extended 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
Browsing all 15264 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>