Wesley Brown

Wes Brown is a PASS chapter leader and SQL Server MVP. He writes for SQL Server Central and maintains his blog at http://www.sqlserverio.com. Wes is Currently serving as a Senior Lead Consultant at Catapult Systems. Previous experiences include Product Manager for SQL Litespeed by Quest software and consultant to fortune 500 companies. He specializes in high availability, disaster recovery and very large database performance tuning. He is a frequent speaker at local user groups and SQLSaturdays.
  • Interests: SQL Server users Group! Everything computer related and SQL Server related.

Get all user information at the database level

This is based on Clint Herring's work and was better than what I was using ;). It has one user definded variable @path that is where to store the files generated. It will make one file per database and one master file to restore all user permissions into that database. Used mostly for DR and […]

2005-03-30 (first published: )

1,006 reads

yet another backup script using litespeed or native backup

Updated! Now supports both SQL Litespeed and native backup commands in one script! Several new bug fixes please see the header of the script. Error messages to add are now at the bottom of the script! This stored procedure will backup a single database or all databases it will also perform ether a full, diff, […]

2004-10-26 (first published: )

951 reads

Yet another restore script usp_restore

usp_restore - This will restore a backup performed with SQL LiteSpeed from DBAssocatesIT or by the standard backup database routines in SQL Server Please check below the declarations to find the user settable options for this script If the target database is currently in a loading status or cannot be read from this restore it […]

2004-10-25 (first published: )

606 reads

alert on blocking chains via email

This is a script I use to watch for blocking chains on a server there are four variables to be set. @Duration tells it how long to run. This will be an active thread for the duration. @IntervalSec how often to poll for blocking. @maxwaittime time in miliseconds a thread that is blocked that you […]

5 (1)

2004-09-01 (first published: )

1,669 reads

Proper Case User Defined Function

This is a little script I wrote before I saw Steve Jones write up on Tame Those Strings Part 7. This is a slightly diffent approach. It will take a string up to 255 chars and case every word first letter upper and the rest of the word lower. This ain't the best way but […]

2003-02-20

367 reads

Blogs

What’s new with Power BI?

By

At the Microsoft Business Applications Summit 2021, a ton of new features for Power...

Tech Field Day 23 Recap

By

April 21 to 23 saw a new milestone for me. I was a new...

Daily Coping 17 May 2021

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Read the latest Blogs

Forums

Query Recommendations

By sizal0234

Hi,   There is a select query which is running very slow. Select customerAcc_ID,...

How to find a user and a spid that holds database in single_user mode?

By SQL Guy 1

I am recreating a scenario when somebody or a process set database to single_user...

SSIS Import only new values from a CSV without using a staging table

By datsun

Hello, How can I import a CSV file in SSIS (2016) at the same...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers