SQL on VM, but disks on SAN
My question relates to what happens when you have to rollback the VM.If all your databases are on a SAN and the SQL Server is on a VM, but you rollback your VM, won't the state of SQL and the state of...
View ArticleResource governour, level out time ??
Hi all,I set up a workload group and associated resource pool to limit cpu usage for certain users to 30 %.If I now start a workload for a user in default pool (no limits) and shortly after the same...
View Articlenot able to add buildin admin as login ..sql server 2008 express edition
i have added my AD group in the local administration of the server ... but facing issue while adding a new login .. (SA is disabled on the instance)im getting below error Microsoft Windows [Version...
View ArticleIndex on All Columns in WHERE Condition?
Yesterday (2013-04-04) Kimberly Tripp & Paul Randal gave a great presentation at the Microsoft offices next to Radio City Music Hall in New York City.Kimberly said: "Don't index all columns...
View ArticleSQL Express 2012 on server can't connect from client Windows 7 machine
I have installed SQL Express 2012 on our windows small business server. After installation, I recreated a database from a .bak file.Then I tried to create a dsn from my network Windows 7 machine and...
View Articlerecommended affinity settings for SQL Server 2008 R2 running on VMWare servers
In SSMS 2008 R2, we currently have "Automaticall set both Processor and IO affinity for all processors" set. Since the servers that SQL is running on are VM servers, is this the recommended affinity...
View ArticleBackup Script: Any Script that shows Backup next running schedule with history?
Hi guys looking for Backup history script which shows when was last time backup taken ,backup type andnext schedule for run?for sql 2005 and 2008 .ThanksPlease Mark As Answer if it is helpful. \\Aim...
View ArticleDBCC 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 ArticleTable Names - Singular or Plural?
I was surprised when I couldn't find any posts about naming tables with singular or plural names, other than a generic post about naming conventions. There are debates / arguments about this topic all...
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 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 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 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 Article