Quantcast
Channel: Virtually Impossible » SQL Server
Browsing latest articles
Browse All 20 View Live

SQL Server Service Pack version query

I was just checking the Service Pack versions on our SQL servers. Here’s the query I used: The Community Technology Preview (CTP) of SP2 for SQL Server 2008 is already out, so it shouldn’t be too long...

View Article



Understanding SQL Server Backups and Recovery

I’ve read many help files/articles/posts on backup and recovery over the years, but I’ve recently read some of the best yet that have filled in some gaps when it comes to SQL Server: Understanding SQL...

View Article

SQL Server Maintenance Plans

Maintenance Scripts are better I’ve just been reviewing our Maintenance Plans (MPs). After readings a few best practice articles, it seems I’d be better off using scripts instead of MPs. When using the...

View Article

Display owner of Maintenance Plans using SQL Server 2008 R2

Whilst troubleshooting an issue with backups, I wanted to check the owner of all Maintenance Plans. I found the following query that does just that:The post Display owner of Maintenance Plans using SQL...

View Article

The Microsoft SQL Server Express Edition installer returned error code...

Scenario You’ve just tried to install VMware vCenter with the option to use SQL Server Express, but the installation fails with the following error: The Microsoft SQL Server Express Edition installer...

View Article


Installing SQL Server 2008 R2 on a Failover Cluster using Server 2008 R2

Scenario You’ve configured a Failover Cluster using Server 2008 R2, and now you want to install SQL Server 2008 R2. Solution Changes A few changes were made to the simple Failover Cluster that was...

View Article

Adding a node to a SQL Server 2008 R2 Failover Cluster using Server 2008 R2

Scenario You’ve successfully installed and configured a SAN, a Failover Cluster and an instance of SQL Server 2008 R2 on one node. Now you need add another node to this cluster so the SQL Server...

View Article

Find out what’s going on with your SQL Servers

Have your SQL Servers ever gone mental on you all of a sudden, and you wish you could quickly see an overview of what was running at the time? I just found these useful queries on a Spiceworks forum....

View Article


Virtualizing SQL Server on Windows Server 2012 – New Features and Performance...

I recently read this excellent post on the TechNet Blogs:...

View Article


SQL Server full and transaction log backups completing but differential...

Scenario I recently refreshed our SQL Server Maintenance Plans, but System Centre Essentials has been intermittently reporting failures of the daily differential backups, with an error like this:...

View Article

Setting Up Windows Service Accounts for SQL Server

A useful link explaining the permissions for built-in system accounts and recommended usage for SQL Server 2008: http://technet.microsoft.com/en-us/library/ms143504(v=sql.100).aspx More recent...

View Article

Useful Perfmon Counters for SQL Server

I recently came across a useful poster showing Perfmon Counters for SQL Server. You can download the PDF file here: SQLServer-Perfmonance-PosterThe post Useful Perfmon Counters for SQL Server appeared...

View Article

Moving tempdb file location for SQL Server 2008 R2

Problem You’ve ran out of disk space on the drive where the tempdb files are located. Solution You need to move the tempdb files to a new location with sufficient disk space. Execute the following...

View Article


Get Current Database Names and IDs in SQL Server

Source: http://blog.sqlauthority.com/2011/01/13/sql-server-a-quick-note-on-db_id-and-db_name-get-current-database-id-get-current-database-name/The post Get Current Database Names and IDs in SQL Server...

View Article

Check last database restore date/time using SQL Server

Use one of the following scripts. The first script is quick and simple: The second script also shows the backup file used during the restore: Source:...

View Article


Find remaining time left for Backup or Restore using SQL Server

Execute the following query: or this one:The post Find remaining time left for Backup or Restore using SQL Server appeared first on Virtually Impossible.

View Article

Recover a Corrupt Database Using SQL Server

Here’s an informative post explaining some options when recovering a corrupt database using SQL Server: http://www.sqlservercentral.com/articles/Corruption/96117/ Don’t forget to backup the tail of the...

View Article


Using SSD Drives for SQL Server

I’ve  just watched a great video explaining How to Optimally Use SQL Server with SSD’s Without Burning Them Out. Here’s some notes: 1 x SSD can give 4-5x the IOPS a 15k HDD gives. (I thought it would...

View Article

List all SQL Server backups for the previous 7 days

The following script will list all backups for every database for the previous 7 days, including backup type: Source...

View Article

SSPI handshake failed with error code 0×80090308, state 14

Problem You cannot login to SQL Server, and see the following error in the logs: SSPI handshake failed with error code 0×80090308, state 14 while establishing a connection with integrated security; the...

View Article
Browsing latest articles
Browse All 20 View Live




Latest Images