Derived 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 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 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 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 Articlehow to resolve rollback suspended
i use merge script to update three million data. it didn't finish to execute, it take more than two day. so i kill the spid.i found that the spid is roolback but its status is suspended. by now...
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 ArticleSQL Server 2012 experiences performance issues in NUMA environments
Hi,I was going through Cumulative Update 3 SP1, where I found 11363132819662 SQL Server 2012 experiences performance issues in NUMA environmentsHow can/ Can I apply this hotfix only from CU3? I don't...
View ArticleSQL Server Engine on physical partion and database on another physical...
I have 2 questions:1- I need to know which is consider to be good practice, to install the SQL Server engine in the operating system physical partion (Like C:) or to install it on another partion like...
View ArticleAUTO_UPDATE_STATISTICS_ASYNC ON or OFF for OLTP database?
What is the final verdict? I believe Glenn is for enabled (ON) even when statistics updated nightly as a job.NOTE: Auto Update Statistics must be enabled (ON) for the asynch option to work.Related...
View Articlequery performance to be increased..please help..
hi,SELECT TSK.TaskID AS [SprintID] ,TSK.Title AS [Sprint] ,TSK.[StartDate] ,TSK.[EndDate] ,SRA.[ResourceID] ,R.[ResourceName] ,D.[UID] AS [DivisionID] ,D.[Division] ,T.[UID] AS [TechnologyID]...
View ArticleAUTO_UPDATE_STATISTICS_ASYNC
HiHow to check the status of AUTO_UPDATE_STATISTICS_ASYNC, whether it is set to on or off?Regards
View ArticleService Pack 1
Hi,We are on Windows 2008 R2 SP1 and Database is SQL Server 2012 SP1 (built 11.0.3321.0 which I believe is CU1)11.0.3321.0SP1Enterprise Edition: Core-based Licensing (64-bit)Now can I apply CU7 which...
View ArticleSQL Server Management Studio 2005 "is Busy" message when trying to save a...
Hi,I like to add new tables and their relationships with each other using the Database Diagram. I create a new database diagram, and then add new tables to the diagram – also drawing up their...
View ArticleWhat does _total for instance mean in SQL server log space used alert
Hi,I would like to know the meaning of specifying _total for instance when creating log space used alert in SQL server 2008R2 server.Thanks,Preetha
View ArticleSQL Server Licensing
Hi We have a web application which has backend as SQL Server 2012, It will be accessed by anyone and there will be one administrator who will access the database. Please let us know which License...
View ArticleRun the RECONFIGURE statement to install.
Hi,We are using SQL Server 2012. I am getting below message log in my database log file, though we have not done anything in the database. Please let me know what causes this message and what is the...
View Article