Stellar Data Recovery has a number of software that works on the Microsoft SQL Server platform to provide data recovery solutions where it all seems to be lost. Most SQL Database administrators and developers would one day face one or more of these questions: Do you have a corrupt database file and need to recover … Continue reading The All-In-One Recovery Database Toolkit
The backup and restore component of Microsoft® SQL Server™ provides an important safeguard for protecting critical data stored in SQL Server databases. With proper planning, you can recover from many failures, including: Media failure. User errors. Permanent loss of a server. As curators of SQL Server databases, we are one day faced with the most … Continue reading SQL DATABASE RECOVERY TECHNIQUES
As a DBA/developer, you probably face a scenario where you need to trace your SQL Server for various reasons. This blog digs directly into how to read the trace (*.trc) file after you capture the required data. This blog would not demonstrate how to capture a trace on SQL Server. It is assumed that readers … Continue reading Read your SQL trace files from SSMS using Transact-SQL
CORRUPTION TOOLKIT: BACKUP & RESTORE - See if the backup is clean once you restore (usually on another server. BCP (Bulk Copy) & DB ATTACH - try to BCP remove the corrupt tables and restore (attach) the remaining database REBUILD/REPAIR databases System database issues (corruption) - rebuild will replace system database then you can replace … Continue reading CORRUPTION 101
How will you to performance tuning ? https://www.youtube.com/watch?v=P97_oFfD218 What will you look for in an execution plan ? http://www.mssqltips.com/sqlservertutorial/285/query-execution-plans/ What is bookmark look-up related to execution plan http://www.qdpma.com/CBO/s2kCBO_2a.html Table variables vs temp tables http://engineering.picscout.com/2012/04/ sql-temporary-tables-vs-table-variables_17.html How do you pass output parameter in a stored procedure... If you specify the OUTPUT keyword for a parameter in … Continue reading 50 Frequently Asked SQL Server Interview Questions – Part I
How to Restore Database from a Shared Network Location --Restore Database from a shared network location --Change N' as needed and database name USE [master] RESTORE DATABASE [Db_Test] FROM DISK = N'\\Server_Name\Folder_Name\db_test.bak' WITH FILE = 1, MOVE N'DB_Test' TO N'F:\SQLData\Folder_Name\db_test.mdf', MOVE N'DB_Test_log' TO N'F:\SQLLogs\Folder_Name\db_test_log.LDF', NOUNLOAD, STATS = 5 GO How to get Database Restore … Continue reading COOL T-SQL BACKUP/RESTORE QUERIES
SUMMARY You have successfully installed and configured a 2-Node Cluster with Always On which has been deployed into Production. Well you notice later that your 2 SQL Server Standalones participating in your AlwaysOn have different Server Collation. Assuming: Server A: Latin1_General_CI_AS - Case Insensitive Server B: SQL_Latin1_General_CP1_CI_AS ACTION We are instructed as DBA's to get … Continue reading How to change SQL Server Instance Collation in an Always On Environment.
SQL Journals allows all SQL folks and other curious enthusiasts to post questions, concerns, experiences, and more. I am actively checking my journal and would promptly respond.