SQL 2012 - Are Tuning Advisor Results Specific to a Particular Machine/Instance?
Hello,I'm starting to analyze application queries with the Tuning Advisor and my manager wants to know if the recommendations returned are applicable across servers, instances, and databases of...
View ArticleNot able to access database from a remote machine using SQL Server Management...
Hi,I have a DB_BOX with SQL Server 2008 R2 installed. I can access the databases on the local machine using SQL Server Management Studio but it is not accessible from other machines, though the...
View ArticleHow to use auto increment with "nchar" data type
HelloI have a table that I want the value in one column to be generated automatically with "T-XXX" pattern which"XXX" is a number. Can Microsoft SQL Server do that?
View ArticleDatabase Creation
Hi All,I was working with Microsoft SQL Server and all its BI services for about 5 years by now and got shocked with its strange behavious today.When I create a new database it is creating with all the...
View ArticleView what queries have been run in SQL 2005
I've been asked to have a look at building an MI mart from a transactional DB. The source Db is in SQL 2005. The transaction logs are showing that there are approx. 35-40 timeouts per day while the...
View ArticleSQL Server Database Connectivity with Visual Studio 2012 - Help Needed
Hello,I am having Visual Studio 2012 and SQL Developer 4.0 installed on my system with Windows 8 - 64bitI want to shift a VS project with an SQL database connectivity to another new Laptop (above...
View ArticleDerived table 'tablename' is not updatable because a column of the derived...
Hi Guys,I have a With CTE table expression ,this cte gets the value from startdate and enddateI need to insert this startdate and enddate into a table ,while inserting into table,i got the below...
View ArticleUnexplained performance decrease
Hi,I am developing a Windows Forms app in C# using VS2012 and SQL Server 2008. At some point in the dev process, I noticed performance slowing dramatically. After a lot of analysis, I found...
View ArticleHow to isolate poor performance caused by NETWORK
Hi Friends,I would like to know a way to isolate sql server bad query performance is caused by NETWORK and not the sql server.Are there any specific tips and tricks in ssms, waitype of specific perfmon...
View ArticleSQL Server Express 2012 Install fails Repeatedly
I have tried to install SQL Server 2012 Express with tools on my Windows 7 Home Premium system. it has failed twice. I then tried to install just the LocalDB version and that installation ran to...
View ArticleWhat to look for in Execution plans ?
Hi Pals, Assuming the query execution is slow , I have collected the xml plan. What should I look for in the actual execution plan . What are the top 10 things I need to watch out for?I know this is a...
View Articlehow optimize based on execution plan info ??
dear all,I have a simple store procedure which make a field selection and based on it update a particular column.problem I have when executing this procedure and check the execution plan, I have a...
View ArticleWhy did I suddenly get a bad execution plan?
Greetings. 2008 R2, SP1.We've got a sproc that runs all the time with sub second response. All of a sudden this morning the query started timing out at 30 seconds. We got the execution plan saved off,...
View ArticleSQl Server Error:927 and Restoring
i have a problem with sharepoint database in SQL 2005.status of tow database in sql studio mamagment are restoring...how can i stop that? (change status to normal)AND SO :WHEN I GET A PROPERTISE OF...
View ArticleMeaning of "Index Fragmentation" return for HEAP tables....?
I use this query to analyze index fragmentation. I applied it to and old DB and it returned several tables meeting the criteria but with IndexType = HEAP. As a HEAP has no index what, in this case, is...
View ArticleDB connection error
Hi,We are geeting below error."Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool...
View ArticleModel database corruption in sql server.
hi,in one of my priduction server "MODEL" database corrupted in sql server, while i am trying to connecting to sql server we are your unable to connecting the sql server model db has been corrupted...
View ArticleRestoring and verifying of Master database in SQL SERVER MANAGEMENT STUDIO
I was doing a master database backup on a single user mode. After I'm done, I did a restore for it also in single user mode. When I execute the query statement, it is stated that"The master database...
View ArticlehOW TO CREATE WINDOWS AUTHENTICATION USER IN SQL SERVER AFTER INSTALLING SQL...
I had an error while executing asp.net appcation from IIS as followsLogin failed for user 'IIS APPPOOL\ASP.NET v4.0'.Description:An unhandled exception occurred during the execution of the current web...
View ArticleSQL Server 2000 db corruption and tools.
Hi!The databse corruption hit our sql server 2000, 200 Gb database.The dbcc check database never finish the scan, it goes sleep.We have backups but we don't know an ok database because the dbcc checkdb...
View Article