DBCC CHECKDB Pages is marked with the wrong type in PFS page do DBCC CHECKDB...
i do DBCC CHECKDB after upgrade sql server from 2012 vesion to 2017 then find the database error as below:Page (1:214377) is marked with the wrong type in PFS pagethen i run DBCC CHECKDB ([MSDB],...
View ArticleSQL 2016 export all tables within a DB to .csv files with column names?
Hello what are some ways to export all tables within a DB to comma separated .csv files with column names?Thanks in advance.
View ArticleNo CPU, Disk IO, Network charts in SQL 2016 Data Collection Server Activity...
After upgrading to SQL 2016 "Server Activity History" report in Data Collection show "No Data Available" for "% CPU", "Disk I/O Usage", "Network Usage" and "SQL Server Activity" charts. Cleanup data...
View ArticleRe-enable Foregin Key constraint still shows NOCHECK ?
Hello I disabled a Foreign Key constraint within a table like:ALTER TABLE [dbo].[TableName_1] NOCHECK CONSTRAINT [ForeignKeyName_FK1]But when I ran the following to re-enable it did complete...
View ArticleSQL Server 2017 maintenance plan missing on Linux Server
Hi,I have installed SQL Server 2017 on Linux Ubuntu 18.04 LTS Server. But when I connect it from SSMS which is installed on another Windows Server then on SSMS Maintenance plan is missing. Please...
View ArticleHuge backups after moved to Azure using Backup to Azure tool
Hi there. I have couple of servers with SQL Server 2008R2 and use Backup to Azure tool for upload database backup to Azure storage. I have the database with the name iDatabase, it has size approx 5GB...
View ArticleWhile creating the database it automatically set other then default collation.
Hi all,While creating the database by one of my application during installation, it automatically set other then default collation. May I know how to change the behavior of setting other collation by...
View ArticleNeeding info on SQL Database managed instance
Hi,I want to explore SQL Database managed instance with my msdn subscription. I think every month i get $200 in my azure account but it is not sufficient to rent a SQL Database managed instance with...
View ArticleSQL Server 2017 - MDW - SQL Server Memory Usage Report is broken
Hi all I thought I'd share.Steps to recreate:In Object Explorer expand Databases.Expand Management.Right click Data Collection.Configure both MDW, and Data Collection.Right-click the new MDW database,...
View ArticleManagement Studio frame construction issue
n exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\me\AppData\Roaming\Microsoft\AppEnv\14.0\ActivityLog1.xml". Exception details:...
View ArticleHow to check when Db was last used in order to remove them from server.
I am using SQL Server 2008R2 & i have 50 DB's in this instance. my Question is how to Identify , when a DB's was last accessed. Based on the last date of access I can decide which DB's to keep and...
View ArticleQuery sometimes is very slow under the same conditions
So I have a perplexing problem here. There is a query in my project that in 99 percent of time takes 200 ms to complete on my local machine. However, sometimes under the same circumstances it takes 25...
View ArticleSSMS is crashing and restarting
We've migrated to SQL 2019, wo we upgraded our SQL managing systems to SSMS 18.4.When we attempted to open more than one object in the security folder at a time, and work in them, the SSMS system will...
View ArticleSQL - Browse for Servers
(see pic)SQL Server 2019The Connect to Server - SQL Server - Browse for Servers screenlocks up (mouse clicks don't work, ESC doesn't work, and cannot close with Task Manager)is there a update for this?...
View ArticleMS-SQL 2019 : licence activation vs VERITAS BACKUPEXEC
Hello,I plan to activate many MS-SQL Server 2019 (standard); buy some licences and some CAL. But, for the moment, the purchase activites are not done, but only scheduled. Then, for the moment, without...
View ArticleDBCC Integrity Check Job running for ever - Sql 2012
Hello,We have Sql Server 2012 and mainly using for Sharepoint.We have Database Integrity Check jobs running every early morning during off hours into sql server 2012 specially for Share point...
View ArticleRecover SQL server Database from Windows backup Image
I need to know if I can recover a sql server database for a previous date (two months ago), from a Windows Server Bare Metal backup. Can I extract just the .mdf and .Idf from that image file to a...
View ArticleNew User wont long in
Hello,I have tried to add a user (MyUser2) (many users actually) to a database using SSMS, so that, I can access the database using SQL Server authentication, but I always get "fails to login":I...
View ArticleAn error appearing in attaching a database in the SQL software
TITLE: Microsoft SQL Server Management Studio------------------------------ Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc) For help, click:...
View Article