Script required to check whether SQL is installed or not for 300 servers
Hi,I need to check whether SQL is installed or not in 300+ servers. It will take long time if i login manually and check the SQL service is present on each serverHence i need a Script to check where...
View ArticleExecution Plan
Hi All,I have column1 with datatype varchar(50) and in procedure I am taking bigint.when I check Execution plan then it convert bigint to varchar .My question is any performance related issue while...
View ArticleDeadlocked on lock | communication buffer resources
Warehouse server; MAXDOPS = 12Last command that caused/encountered problem: DBCC UPDATEUSAGE(SPIEWeb)WITHNO_INFOMSGSSQL version:Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011...
View ArticleSqlServerWriter
We have a third party tool Unitrends to backup VM ware (snapshot), we see some backup errors in SQL log, this is mentioned in this thread,...
View Articlecan't attach outlook 2013 bcm database in SSMS
Hello,I upgraded my laptop from Windows 7 64 bit Office 2012/BCM 32 bit to Windows 8 Office 2013/BCM.before the upgrade I detached the bcm database in SSMS. made copies of the mdf and ldf...
View ArticleIndexed View Vs. De-normalized reporting table. Opinions wanted.
I have a fairly hairy query that pulls reporting data. Even super optimized it takes 8-10 minutes to run. I now have a new requirement where they want to allow users to be able to pull it on demand. Ok...
View Articlehow can find the backup file on Commvault or Tivoli tool?
Hi Guys If anyone using this toold and can guide me for commvault or Tivoli tool for backup. where or how i can find sql backup file in this tool to move to the another server?Thanks.Please Mark As...
View ArticleNumber of users accessing SQL Server 2012
1)find number of users on a database in sql server 2012 2)find number of users accessing in sql server 2012 3)find users using a specific object on a database inn sql server 2012 4) active process in...
View ArticleColumnstore poor optimization (row mode)
Hi all,I am tearing my hair out with the poor optimization that exists with columnstore indexes. As many have pointed out in the past, running something like:SELECT SUM(Measure) FROM FactTableis far...
View ArticleColumnstore index switching to row mode with inner join
Hi all,Considering the following "example" query with a columnstore index:SELECT ClientId, SUM(OrderAmount) FROM Order GROUP BY ClientIdExecution plan shows a nice batch execution mode. When I do...
View ArticleError while enrollment SQL server on UCP
Synonym 'dbo.syn_sysutility_ucp_smo_servers' refers to an invalid object. Could not use view or function 'msdb.dbo.sysutility_ucp_instances' because of binding errors. (Microsoft SQL Server, Error: 5313)
View ArticleDifferent behaviour of dbcc freeproccache and option (recompile)
Hi all,I have a parametrized query, which ran 1sec until we changed MAX DOP from 0 to 1. The change had been recommended by microsoft support due to other issues on this server. The server has 8...
View Articlesys.sysaltfiles and sys.database_files showing different physical file names...
Hi All,I restored a database from our PROD instance to reporting instance. While restoring through ssms i have selected the appropriate path in the "restore as" option and also selected standby mode....
View ArticleProblem with two jobs affiliated with a sql script
Hello --I am testing a script called dbWarden on our 2008R2 standard server. The URL for the script in question is the following:http://sourceforge.net/projects/dbwarden/I have executed the script, and...
View ArticleError while Publish Lync Topology
HiI have install Lync Enterprise and SQL Developer Edition each on a virtual Server. Now I'd like to publish my first topology. This works fine, until it creates the Database on a second Server. They...
View Articleazman + SQL Server 2008 : Access Denied
Hi,I am trying to create a new Authorization store with Azman with SQL Server 2008 R2 on Windows Server 2008 Server machine. However, when i try to do that, i get an error from Azman : "Can not create...
View ArticleLogshipping issue
Hello,I have currently setup logshipping in our staging. And now I am planning to move the database data and log files on the primary server to a different drive. To perform this activity I plan on...
View ArticleSQL Server 2012 syspolicy_purge_history fails step 3 "Erase Phantom System...
I recently installed SQL Server 2012 Ent (x64). The install is a stand alone default instance.The syspolicy_purge_history job fails on step three with the following error:Executed as user:...
View ArticleUPDATE STATISTICS WITH FULL SCAN - High reads than normal
Hi Update statistics when it runs with full sampling, reads high amount of data. my database size is 300GB and update stats is reading TBs of data from the data drive. Did anyone come across...
View Article