Failover 10,000 databases?
Hi All,It may sound like a clustering question but it's also service restart one.We have a Windows 2008 cluster with one instance of SQL Server 2008R2. There are 10,000+ databases on it. While user_db...
View ArticleImpersonation fails when used locally?
I'm facing a strangest problem where client applications can access filestream as long as client app is not running on same machine as SQL Server.Setup:- SERVER1 running Windows 2008 R2 and member of...
View ArticleDropped FileGroup/Files still show up in Sys.Master_Files and...
Hello all,I am wondering why is that when a filegroup/file is removed from the DB, it still shows up in sys.master_files and msdb.dbo.backupfile. To reproduce, just create a database and add a...
View Articlecan't attach database 2008 R2
TITLE: Microsoft SQL Server Management Studio ------------------------------ Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc) For help, click:...
View ArticlePhysical Memory Issue
Hi Team,one of my server physical memory usage is very critical at particular time only,how to find the that particular time what are session are running and which session having more physical memory...
View ArticlePossible to create Index on partition table for specific partition only in...
Hi All,Is it possible to create Index on partition table for specific partition only in sql server 2012? Please anyone can provide the syntax?I know we can rebuild an index for specific...
View ArticleAzure SQL Server Pre-Login Handshake Error
I'm attempting to connect to a SQL Database instance hosted in Azure via Visual Studio 2012 Ultimate. Everytime I try to connect I get this lovely message, "A connection was successfully established...
View ArticleRestoring issue,
Hi,we have one database called (A) and one backup file(b.bak),we are restoring the backup file into existing database(A) WITH REPLACE option that time we are getting bellow error."The file 'C:\Program...
View ArticleChanging column in NOT NULL. Why is there so much transaction log activity on...
Hi guys,the setup is as following: SQL Server 2008R2, recovery model FULL in order to better track what's going on in the transaction log.CREATE TABLE dbo.justnumbers(id INT IDENTITY, number FLOAT...
View ArticleA severe error occurred on the current command. The results, if any, should...
I have a strange situation on a database, which are on SQL Server 2008 R2 Express SP2. The database size is something around 90 MB.When a user try to insert a record inside one table, he receive an...
View ArticleDatabase compatibility issue error
Whenever i try to connect to an mssql database built with 2008 version, it throws this error.
View ArticleForeign Key Constraints and Index Space
1. Do Foreign Keys take up physical index space and how can I determine how much space is being used?2. What exactly does the enging do when inserting a record into a table with 1 or more Foreign Keys?...
View Articlesql server 2012 memory usage
sql server 2012 enterprise has a max server memory setting of 152400 howver we are seeing usage according to task manager of 214463 and as a result we have 0 MB free physical memory. My understanding...
View ArticleDo I need to shutdown SQL server (stop the service) before I reboot a windows...
Hello, I would like to know if I need to stop the SQL service (shut down SQL database) before I reboot a SQL windows server?Thanks. Tiffany
View ArticleHow to reset an Identity column using SQL server Management Studio
I found this neat trick that means I don't have to write a whole bunch of SQL. If you want to reset the identity values for a table, because you have deleted and added rows, and now want to re-number...
View ArticleSQL Server Profiler???
Hi guys, Quick question. Can SQL Server Profiler help you find what user ran what queries against a table? Can it help you find who deleted data from a table?
View ArticleData Collector Database growing in size!!
Hello Gurus,Recently I created a data collector data base using the Data Collection feature of the 2008 R2. The bad news is the DB I use to collect the performance data is growing in size very bad and...
View ArticleHow many recursions finished already?
Hello,My recursive CTE query is dealing with quite massive data volume (tens of millions of records) and there could be up to 3.5k iterations thus the query is running for many hours. Naturally, this...
View ArticleHow to Import From the Xlsx-XML(XLSX file Saved in XML Format) Data in to SQL...
Hi All ,My name is Srinivas.I have one question ? Any one please help how to read the data from Xlsx-XML Template ( Xlsx Template is saved in XML Formate) from SQL Server query . If we Open this...
View Articlesql server 2008 r2 ram usage
hello guys im just wondering about ram usage of sqlserver is stock even theres no transaction open. sample without transaction ram usage in task manager is 1gb , now i open may localhost site and view...
View Article