100% CPU - stays this way until the SQL service is restarted
<sd-content-toggle class="ng-isolate-scope" collapsed-changed="$ctrl.onChange(isCollapsed)" collapsed-text="More" expanded-text="Less" is-collapsed="true" lines-of-text="1"...
View ArticleDELETE operation is very slow
Hi All, I have table with 1574963 rows and grown up to 1.21 Tera Bytes. Table has a clustered idx and additional nonclustered idx is created. App team is trying delete/archive some data in small...
View ArticleRestore database failed
Hello,I was trying to restore a database but it says failed, very backup data says verified but the restoration fails, tried also by using the following queryrestore filelistonly from disk =...
View ArticleAre shared locks taken when a "linked server" is used to select from a table...
Are shared locks taken when a "linked server" is used to select from a table with (NOLOCK)?After a few tests running some SQL on database server A using a linked server pointingto database server B and...
View ArticleDatabase backup failed
Could not backup the database. Got the following error message. Ran a dbcc checkdb ('X')Msg 1823, Level 16, State 2, Line 1A database snapshot cannot be created because it failed to start.Msg 7928,...
View ArticleSEMANTICSIMILARITYTABLE (Sql-2012 11.0.2100), why pull max of only 10 results?
Seems the current implementation of this Sql-View, will only pull max of 10 results in finding Similar (Near-Duplicate) docs.Ā Why this limit?Ā How to pull All Near-Dupe docs (essentially with...
View ArticleSQLServer 2019 Polybase - External access operation failed because the...
All,I tried to create an External Data Source against another SQLServer (2016) from a SQLServer 2019 server but I get the below error:<<External access operation failed because the location URI...
View Articleservices not list in sql config mgr
Hi All,On one of the sql server machine, when I open the sql server configuration manager, I am not able to see sql server services.But if I open start->run->services.msc, I can see the services...
View ArticleI tried to restore a database and failed due to different versions
That's what appeared to meTITLE: Microsoft SQL Server Management Studio ------------------------------ Restore of database 'altawqeef_DB' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)...
View ArticleDoes an alias created in SQL Server Configuration Manager for a database...
Does an alias created in SQL Server Configuration Manager for a database server also have to be in the hosts file with the same IP address?Ā We have a system admin who does not like to add entries to...
View ArticleTran Log backup to network backup device fails
Transaction logs for two databases on new SQL 2017 server are configured to backup to network-based backup devices using full UNC paths.Ā Job succeeds the first time, then fails after that with errors...
View ArticleAdd database to availability group: Password required
Hello,Password required when adding database to availability group,Ā take.ms/QC9FAThis database is encrypted by database master key, you need to provide valid password when adding it to the availability...
View ArticleHow to change the MSSQLSERVER Service Startup Account from NT...
Hello Can you let me know an easy method to change the MSSQLSERVER Service Startup Account from NT Service\MSSQLSERVER to a custom Windows account in 2016 version ? Here are my requirements.1) Create a...
View ArticleLocations List: Substring, Location Name, Location Address...
Hello,I have a query :SELECT DISTINCT -- System Name CPU.SystemName0 AS 'Hostname', -- Operating System CASE WHEN SYS.Operating_System_Name_and0 LIKE '%Windows%' THEN 'Windows' ELSE 'Unknown' END AS...
View ArticleIndex creation is taking more time
Hi All,We are trying to creating a clustered idx on a HEAP. It is almost 45 mins, its still running. Heap is around ~400 GB. Is it expected ? anyway to speed up the creation of clustered idx?SQL Server...
View ArticleWhat is MARS actual means ?
Hi Experts, What is actually meant by Multiple Active Result Sets (MARS) in SQL Server? Can anyone give an example. I always get confused with this term. Is below tsql block can be considered as MARS ?...
View ArticleQuery is executing forever ....
Hi All,Need some help in query tuning. There is a query which is provided by app team. They says it gets timed out after 2 hours as they set query timeout = 2 hours. Now they reached out for help from...
View ArticleWho stopped my SQL Services ?
Hi All, Is there a way to find out which windows user has stopped or started a SQL Service? I testing purpose, on my local laptop i tried to stop SQL Agent serviceĀ and then tried to check the Windows...
View ArticleMissing green arrow on the sql server icon in object Explorer
I am using SQL Server 2008 R2 on windows 2008 server. i am able to get connected to management studio but the status light with white circle. the status lights in my Enterprise manager are no longer...
View ArticleDatabase growth per month
Hi,I want to check the database growth/month, please let me know how to check.REgards
View Article