Why DTA suggests to create statistics?
Hi, Database Engine Tuning Advisor suggests to create Statistics(see below picture). I am under an impression that statistics are updated automatically(autostatistics update = true for DB).What does...
View Articlestrange behavior with in-line string concatenation
Hello!We recently upgraded to SQL 2012 (64 bit).We are noticing a difference in behavior as it relates to string concatenation.Part 1 of the following script creates a test table populates with the...
View ArticleSQL server Performance tuning training
Hi,I am looking for best available online training on SQL server Performance tuning. Could you please suggest if you know any good training provider.
View ArticleLoading Data From Excel sheet2007 To Sqlserver2008 using storedprocedure.
Hi Friends,                  I am getting Error When I am Loading Data from Excel2007 Spread Sheet To Sqlserver2008 Using Ole db.Ace Provoder12.0.Actually I created Stored Procedure To Load the Data...
View ArticleBlocking Alert WMI Property Details
I have a created a blocking alert. It works, but I'm very fuzzy about the WMI properties. I use the (WMI(property)) token to get the property values, but I am unsure of what I'm getting. I would...
View Articleuser db file, mdf, or ldf, won't shrink
I have a sql 2008 user db that I can't shrink pass the initial db file size. So, I tried to change the initial file size of the db to smaller. I am doing it via the SSMS GUI and it won' t save the...
View ArticleBuffer Cache Hit Ratio is 0 %, threshold value for this monitor is 92%
i usually get this messageBuffer Cache Hit Ratio is 0 %, threshold value for this monitor is 92% I checked PLE> 6000having memory > 18 GB System memory 24 GB.No Dropclean* commands executed. BCHR...
View ArticlePage File configuration
I have SQL servers running 2005, 2008, and 2012. I do have about 64, 128 GB memory in some of them. I have also configured SQL to manage memory and given only 6 GB to the OS.The question is how should...
View Articleconnection string
Hello there, I have created a windows form using ADO.NET inside of it to write/update/delete from a table in my SQL server.Now my porject is working fine with no problems with I use it on my PC where I...
View ArticleRemote Procedure call failed in SQL Server Configuration Manager
I have installed SQL Server 2008R2 on my Windows7 laptop successfully. However, when I open the configuration manager, the "SQL Server Services" entry shows an error message saying "The remote...
View ArticleSlow extended event file read
Hey,I'm trying to make a transition from using SQL Trace to the new extended events model, but I'm finding that reading the resulting data from a file target is extremely slow. I'm using the methods...
View Articletransaction log backup
Hello,My transaction log backup today took longer time to complete than usual. Daily it runs at 1:00PM for about 2 mins and today it took like almost 2 hours. Also for a few databases the size of...
View ArticleError 945 vs 1101 - Recreate issue.
We faced an issue on a non production environment, with the below error... Error 945 Database cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server error...
View Articlesql database backup in microsoft sql server 2005 by yearly
How to database data backup yearly? I must backup data by yearly.
View ArticleDatabase Maill can't send out after trying all online solutions
SMTP settings areE-mail address: abc@gmail.comServer Name: tried smtp.gmail.com and smtp.googlemail.comport: tried 587 and 465 (both added to firewall TCP outgoing and incoming)Checked SSL...
View ArticleSQL Agent not skipping scheduled run for a Job started manually and in...
Hi,While SQL Agent Job skips a scheduled run if the job already running, however the behaviour is not the same if the job is invoked manually. Even if the manually invoked job is currently running, the...
View ArticleMost suitable SQL server 2008 CAL licenses when running client software on a...
Hi,We have a Remote Desktop Server where users are running a Microsoft Access Project client. This client connects to a SQL server 2008 back end database.My question is to check whether it is best to...
View ArticleWhere to find who and when installed service packs in machine?
Where we can find who and when installed service pack on my machine? More interested in who part as well in when part in exact time.Thanks
View ArticlePhysical IO
Hi Gurus,is there any DMV query for finding physical IO for user defined database.I wanted to represent the data through graph Please give suggestion and please specify what are the columns in the...
View Article