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

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 Article


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


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

SqlServerWriter

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 Article

can'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 Article


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

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

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


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


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

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

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

sys.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 Article


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

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


azman + 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 Article

Database

In our database 100 pages are corupted how to restore the database.

View Article


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

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

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


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