Quantcast
Channel: sqlsquirrel – The LockerGnome Daily Report
Browsing latest articles
Browse All 15 View Live

How To Kill Remote Desktop Connections

Yesterday I was attempting to remote desktop into one of the production SQL servers and all of the sessions were taken.  I thought I would open up the Terminal Services Manager on another SQLsServer...

View Article


Importing A List Of SQL Servers Into SSMS

The other day I was looking for a way to import a long list of SQL Server 2005 servers into SSMS on my workstation.  As I was looking around I was thinking Microsoft had to include a way to import a...

View Article


What are the different lock modes in SQL Server?

Hello and welcome back to my blog!  Today one of the junior DBAs came to me and asked when he views the locks in SQL Server by executing sp_lock or sys.dm_tran_locks what does Mode (in sp_lock) or...

View Article

SQL Server 2008 Tips and Tricks!

Now with SQL Server 2008 out I will be publishing my T-SQL tips and tricks… I will be discussing Compound Assignment Operators and Declare Initialize Variables.  Check back often for updated T-SQL...

View Article

Troubleshooting Transactional Replication

Hello, and welcome back! Today, dealing with replication has been interesting. Here is the scenario… I support an environment that contains a very large transactional replication scheme.  I received an...

View Article


Quick Way To Determine Database File Size

Here is a quick snippet on how to determine the file size(s) of a specific database in SQL Server: SELECT a.FILEID, CONVERT (decimal(12,2), ROUND (a.size / 128.000,2)) as [FILESIZEINMB], CONVERT...

View Article

Use DTExec To Replace DTSRun In SSIS

Hello there! Today I was tasked with migrating an SQL Server Agent job from SQL Server 2000 to SQL Server 2008. This job calls a VB script file and within this file executes the dtsrun.exe command and...

View Article

Image may be NSFW.
Clik here to view.

T-SQL Enhancement in SQL Server 2008

Hello, and welcome back! One of the T-SQL enhancements in SQL Server 2008 that I have come to enjoy is the ability to have 1 insert statement with multiple values statements. So for example, in older...

View Article


Report Builder 3.0 and SSRS 2008

Hello, and welcome back! The first thing I would like to say is “Happy New Year!”   I thought I would start off the new year talking about Report Builder 3.0 and SQL Server Reporting Server (SSRS)....

View Article


Service Pack 2 For SQL Server 2008!

For those of you who want to keep your SQL Server 2008 installation up to date, Microsoft has released Service Pack 2. You can get the download here. The post Service Pack 2 For SQL Server 2008!...

View Article

Black Box Trace In SQL Server

The other day I was looking on a production SQL Server and I noticed a trace file that was running but was not able to associate it to SQL Profile session. I queried sysprocesses and was unable to find...

View Article

Collecting Performance Counters For A Baseline In SQL Server

Hello again and welcome back! The other day I was posting in the SQL Server news groups and I came across a person asking about which performance counters should be collected to obtain a performance...

View Article

Querying DTS Tables For Log Information

Today I was looking the SQL Server Agent jobs on one of my SQL Server 2000 production database servers.  I noticed one job that failed with a very cryptic error.  This was the error message reported:...

View Article


Fixing Orphaned Users In SQL Server 2005

The other day i restored a QA database in compatibility level 90 (SQL Server 2005) to a production server that had SQL Server 2005 installed.  The restore went as expected however, the logins that were...

View Article

Optimizing Transaction Logs

Welcome back and Happy Saturday! Today I wanted to share with you that some DBAs seem to overlook the transaction log when thinking about optimizing database performance.  I myself was guilty of not...

View Article

Browsing latest articles
Browse All 15 View Live