Issue – How to create ODBC connection from text file. Resolution – Step 1 – Create the text file and ensure extension is enabled. Step 2 – If you don’t know how to enable extension. select your file ( in my case odbc ) and click on view on Top Navigation bar and select File name… Read More How to create ODBC connection from text file.
Issue – Login failed for user ‘xxx’. Reason: Server is in single user mode. Only one administrator can connect at this time. Cause – Ensure SQL Server is not running in Single user mode by checking start-up parameter. if you see -m; it mean your SQL is running with single user mode. -m : Starts an… Read More Login failed for user ‘xxx’. Reason: Server is in single user mode. Only one administrator can connect at this time.
Today, I was working on demo where I wanted to have test dataset for Retail db and after some googing I found MS has it’s own database and here are details – The Contoso BI Demo dataset is used to demonstrate DW/BI functionalities across the entire Microsoft Office product family. This dataset includes C-level, sales/marketing,… Read More Microsoft Contoso BI Demo Dataset for Retail Industry
These two articles were published my Microsoft SQL team and it will help you to create Performance dashboard and performance baseline report. These reports are really cool and will eliminate your performance monitoring need. https://blogs.msdn.microsoft.com/sql_server_team/sql-server-performance-dashboard-reports-unleashed-for-enterprise-monitoring/ https://blogs.msdn.microsoft.com/sql_server_team/sql-server-performance-baselining-reports-unleashed-for-enterprise-monitoring/#comment-2705
I got call from one of my client when I was about to leave office and they said their missing critical databases is not coming into multi_user mode. I was like it’s going to be very easy to resolve. I tried to run Alter database <dbname> with multi_user and got below error. Msg 1205, Level… Read More Alter database set multi_user not working
Issue – While Installing SQL Server 2012 on windows 2012 server I have received below error, which indicate .Net 3.5 is not installed on this machine. In windows server 2012 .Net 3.5 do not install by default as it’s come with .Net 4.5. Let’s learn how to install .Net 3.5 on windows 2012 box. Go… Read More NetFx3 error while installing SQL Server 2012
Problem – I have found VLF size of my database abc is very huge and when i have tried to shrink the file i have received below error – Could not locate file ‘xy_abc_Log’ for database ‘abc’ in sys.database_files. Resolution – While my investigation I have found logical fine name under sys.master_files is different as compare… Read More Could not locate file ‘xy_abc_Log’ for database ‘abc’ in sys.database_files.
If you ever encounter restart computer error message while performing SQL Server patching and you don’t have opportunity\permission to restart your machine. You can bypass this situation by deleting value from PendingFileRenameOperations key. Here are the steps which you need to follow –> To Open Registry Editor. Click Start ( win + R ) –> Run,… Read More How to bypass restart computer error message while installing SQL Patch
Microsoft Best Practice Analyzer – Best Practices Analyzer (BPA) is a server management tool that is available in Windows Server® 2008 R2. BPA can help administrators reduce best practice violations by scanning one or more roles that are installed on Windows Server 2008 R2, and reporting best practice violations to the administrator. Administrators can filter… Read More Microsoft Best Practice Analyzer