DBCC Fails when there are spatial data types and too many Rows
I have found an interesting issue while running DBCC on tables that contain a geometry data type. If I have more than 884500 rows, no matter the number of columns, I receive the following error:Msg...
View ArticleShould I rebuild ETL table clustered index after daily large delete then...
Hello,We're using SQL 2008 R2 SP1, Enterprise Edition 64-bit. I've seen many variations of this question, but never this same question, could sure use some help.Every day, our ETL system deletes a...
View ArticleHow many non cluster index are there for a table?
Hi,How many non cluster index available in a table?RegardsJHKiran.
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 Articleignores 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 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 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 ArticleDeploying a database from SQL Server Management Studio (from a database...
Hello there, I was wondering how I can include a database from SQL Server Management Studio 2008 Express in my Visual Studio 2010 Express Published Application, Thanks in advance.
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 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 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 Articledeadlock
Pls help me to resolve the deadlock. xdl content given bellow<deadlock-list><deadlock victim="process47d8988"><process-list><process id="process47d8988" taskpriority="0"...
View ArticleNeed to configure Filestream on a SQL running on server Core. PowerShell /...
Hello,I have a Windows 2012 Core with SQL 2012 installed on it and I need to enable Filestream using Powershell. Server name is SERVER1 I found this simple script to enable it $strComputer ="SERVER1"...
View ArticleCardinality estimates on a parallel join are wrong
Hello everybody,I'm having a problem with pretty simple query where the cardinality estimates seems to be off and usual methods that I knew for this kind of problem don't help.The query: SELECT...
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 ArticleUnable to connect to any server other than my own after installing SQL Server...
After installing SQL Server 2012 and VS 2012 Ultimate, I get the following message both when I attempt to connect to a Server through SQL Server Management Studio and through a VS Solution pointing to...
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