Physical 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 ArticleSQL 2012 Update Statistics Maintenance Plan
Hi AllIs anyone aware of any issues on SQL 2012 regarding maintenance plans for update statistics.I have migrated a system to SQL 2012 from SQL 2008, I created a maintenance plan to update all stats...
View ArticleProblem with backup MS SQL 2008 when database has 2 or mare logs
Hello!I have database, that has 2 ldf. I try to do backup log via a program that uses ODBC Driver (SQL Server Native Client 10.0 ODBC ). But the backup file is not created. And application doesn't...
View Articlei have having deadlocks on this SP, Any quick suggestion please
ALTER PROCEDURE [dbo].[NIC_OA_HM_FullTextSearch] @lEnterprise INT, @szSearch VARCHAR(1000), @dStart DATETIME = NULL, @dEnd DATETIME = NULL, @lOffice INT = NULL, @lPhysician INT = NULL, @szSection...
View ArticleNegative numbers found within sys.dm_io_virtual_file_stats
VIRTUAL FILE STATS - Any idea why a particualr server would be "bouncing" statistics?*** This DOES NOT appear related to the sample_ms column issue ***Process collects sys.dm_io_virtual_file_stats and...
View Article