Sherbaz

SherLabs Engineering. Knowledgebase on Tech & Hobbies

Skip to content
Menu
  • Home
  • TV
  • Top Questions
    • Most Wanted
Index MaintenancePosted onApril 5, 2012May 18, 2012

Code: Rebuild Indexes for a list of tables

Use below code and make necessary modifications to make it work as per your needs. I am extremely sorry that I couldn’t test below code.…

Read More
SQL ServerPosted onMarch 21, 2012March 21, 2012

Tip: Rename a live production database.

I had a requirement from application team that I should rename a database when the application is running and the transactions were happening. The reason…

Read More
SQL ServerPosted onMarch 19, 2012March 19, 2012

Workaround: Control SQL Agent Job Steps based on query outcome.

Below workaround will help you incase if you wanna control SQL agent job steps based on a SQL query output. For eg: Suppose you have…

Read More
SQL ServerPosted onMarch 16, 2012March 16, 2012

Read Disk Read/ Write for all databases in an instance and Sort them

Below Query will help you read live file level Disk read and write information. WIll behandy for performance tuning capacity planning. select db.name,files.filename,* from sys.dm_io_virtual_file_stats(NULL,…

Read More
Database corruptionPosted onMarch 7, 2012March 21, 2012

Error: Transaction log file got damaged or corrupted

Once we had an issue in our environment. We had a maintenance activity on the Database server during a weekend and the server was shutdown…

Read More
SQL ServerPosted onJanuary 26, 2012August 5, 2015

Access Denied error while attaching the database files moved from Windows 2003 server to the new SQL instance on Windows 2008

Issue It’s quite common that we use detach-attach method to migrated SQL server databases from Windows Server 2000 or 2003 to Windows server 2008. During…

Read More
Reporting ServicesPosted onJanuary 23, 2012March 21, 2012

Error: Unable to access Reports via web browser soon after installing reporting Services

Issue Soon after installing reporting services for my SQL server 2012 on Windows 7, I got the error “User ‘DOMAIN\username’ does not have required permissions. Verify that sufficient…

Read More
WordpressPosted onJanuary 21, 2012January 23, 2012

Error: Text Editor is not loading or showing up in WordPress – (Fixed)

I had a terrible issue with my wordpress website www.sherbaz.com. I was unable to submit any post for a long time because of this issue.…

Read More
Interview QuestionsPosted onJanuary 7, 2012December 31, 2013

Interview Questions: SQL Server DBA

 Questions Explain SQL Server Failover Clustering? How do we check index Fragmentation? TSQL syntax for Index rebuild and reorg. Difference between the two. How users…

Read More
SQL ServerPosted onDecember 20, 2011May 22, 2012

Automatically Rebuild or Reorg index based on fragmentation

The Attached SQL Query can be safely used for rebuilding or reorganizing all indexes in a particular database based on the fragmentation level. Note: The…

Read More

Posts pagination

Previous Page Page 1 … Page 4 Page 5 Page 6 Page 7 Next Page

Categories

  • MongoDB (1)
  • PHP (2)
  • Products (2)
  • Puzzles (1)
    • Rubik's Cube (1)
  • Random Posts (1)
  • Software Development (1)
  • SQL Server (48)
    • Always-on (1)
    • Backup & Restore (1)
    • Data purge (2)
    • Database corruption (1)
    • Database Mail (1)
    • Failover Cluster (2)
    • Index Maintenance (5)
    • Interview Questions (2)
    • Partitioning (1)
    • Performance Tuning (10)
    • Replication (1)
    • Reporting Services (1)
    • Security (3)
    • Tools (1)
  • Unix (1)
  • Wintel (8)
    • AD (1)
    • Remote (1)
    • VMware (1)
    • Windows 2012 (2)
  • Wordpress (1)

Archives

Tags

active directory Alerting Automation batch operation BigFix BigFix action script bulk cascade CHECKDB Cluster connected table Database Attach Database Health Check Database Mail delete dependency deprecated Failover Cluster fixlet foreign keys gMSA Index Defragmentation Index Maintenance Index Rebuild Index Reorganize linux LVM Migration Monitoring Performance Tuning php powershell purge Puzzle Rubik's Cube Security sp_depends SQL Server SQL Server 2012 SQL Server 2014 SQL Server Licensing Storage Tricks ubuntu update

Recent Posts

  • BigFix Action Script for SQL Server and Powershell
  • Data purge on Connected Tables – Part 2 (With Filter)
  • Generate DB Attach Script in TSQL
  • Data purge on Foreign key connected tables
  • SQL Server Failover Cluster with Managed Service Account (MSA) – Step by step walk-through and troubleshooting until successful

Pages

  • Top Questions
    • Most Wanted
  • TV

Recent Comments

  • Publication properties: Immediate_Sync and allow_anonymous – Database knowledge (MS SQL Server…) on Replication – Adding New Article without Generating Snapshot – By Nideesh
  • dileep on Auto restore multiple databases in One shot using powershell
  • dileep on Auto restore multiple databases in One shot using powershell
  • Sherbaz on Auto restore multiple databases in One shot using powershell
  • dileep on Auto restore multiple databases in One shot using powershell

My Web Works

  • SplitExpense.in Free Online Easy expense share + track tool ! This is a smartphone version and its desktop edition is available at https://splitexpense.in/desktop
  • Zonik India Pvt Ltd

Categories

February 2026
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
« Sep    
© Copyright 2026 – Sherbaz
Allium Theme by TemplateLens ⋅ Powered by WordPress
 

Loading Comments...
 

You must be logged in to post a comment.