Windows could not start the SQL Server (xxx) on Local Computer. For more...
I have two instances of SQL on this machine, 2005 and 2008 R2. The 2005 server starts and works fine but the 2008 R2 is giving me the above error when trying to start.Here is the contents of the...
View ArticleWhere to run DBCC CHECKDB and INDEX REBUILD in SQL Server 2012 ?
Hello there,We have recently upgraded to SQL Server 2012 with two replicas(PRIMARY and SECONDARY). As we all know that, the transactions occurring on PRIMARY replica would replicate to SECONDARY/all...
View ArticleHierarical Query Performance
Hi Folks,I need a quick help from you. I have a hierarical query that is used in the front-end application.WITH EMP ([EMP_ID],[NAME], [MANAGER_NAME] ,[MANAGER_ID], [CHGS]) AS ( SELECT...
View ArticleSQL 2012 OBJECTSTORE_LOCK_MANAGER
We recently experienced a significant performance degradation on our main TP SQL server (Current primary of SQL2012 - 3 servers in High Availability config)This was diagnosed to the...
View ArticleSQL 2005 Server Agent not starting job
Apologies if this question has been asked elsewhere on these forums, I've had a search around and have not been able to find something with the same issues.Last year I took over management of a SQL...
View Article2012 SP 2 Issue
I have a warehouse that was running perfectly under 2012 SP1, it uses CDC with net enabled on the source tables to do incremental loads into the warehouse.We migrated the databases over to a new SQL...
View ArticleIndenty column values is not correct order, can we reorganize it?
Hi All,Identity values jumping when inserting new records. Looks like records were created and deleted before. How can I correct it, I know it doesn't impact the application but interested to know if...
View ArticleCan't remote connect to sql server
I have SQL Sever 2008 R2 on the cluster environmentcluster server name is A Cluster Node 1 name is A1 (current active one) Cluster Node2 name is A2SQL Server name is Ab, default instance, tcp/ip port...
View ArticleWhy does session not release space in TEMPDB after dropping temporary tables?
I'm using sql 2008 r2.I've noticed when a session creates and populates a temporary table and then drops it, the space in tempdb does NOT get released. I've run into a situation where the same session...
View ArticleMAXDOP and SQL Server Standard
I have gone through tons of articles and it seems pretty condiluted, Does standard edition limit you to MAXDOP 4? The server i am working on has 12 physical cores 12 hyper-threaded with 2 numa nodes so...
View ArticleTlog just record DML ?
Dear: I met " Msg 3023, Level 16, Backup, file manipulation operations (such as ALTER DATABASE ADD FILE) and encryption changes on a database must be serialized. Reissue the statement after the...
View Articlehow to convert float value in hh:mm:ss format
Hi Everyone,I have a requirement that we have time in hours like 21.52 hrs and we want to convert it into hh:mm:ss formatPlease anyone suggest me..Thanks
View ArticleA job I have seen was running since 11 hours but in history its duration is...
SQL Server agent 2008 :A job I have seen was running since 11 hours but in history its duration is 48 minutes only.is It possible.Thanks
View ArticleDatabase Design
Hi all, I am going to work in new project where I have to design oltp database from scratch. The project will be 24/7 and there will be huge records. I have already a server which is already running...
View ArticleExcel Connection
Hi,When I create an SQL connection from my workstation within an Excel file, other users are unable to refresh the data.Error Message: “[Microsoft][ODBC Driver Manager] Data source name not...
View ArticleCustom File Extension for Microsoft Access Text Driver (*.txt, *.csv)
I'm trying to use a custom file extension for the Microsoft Access Text Driver (*.txt, *.csv) driver.I have updated the FileExtns registry to have my new extension.When I issue the following it does...
View Articlerecovery is done in Analysis,Redo, undo phases serially
Hi Team,As per articlehttp://blogs.msdn.com/b/psssql/archive/2010/12/29/tracking-database-recovery-progress-using-information-from-dmv.aspxSince the redo and undo portions can actually happen on...
View ArticleCan't add AlwaysOn Listener
Hello!When I'm trying to add an Availabilty group listener I get this error:The cluster is up and running:Prestaging Listener name in DNS as described here...
View ArticleCan't add AlwaysOn replica
Hello!I'm trying to add an AlwaysOn replica - db server Guest2 (Windows Server 2012R2 + SQL 2014 Ent.) - to the AlwaysOn group with a contained DB and getting the following error:I can't understand...
View ArticleSmallDateTime Conversion Issue, Linked Servers & Remote Update Vs. Remote Query
Afternoon all, unsure if this exactly the right spot for this but here goes anyway: I noticed an issue where my smalldatetime fields were being rounded down instead of up when converting from...
View Article