Maintenance and Management

Technical Article

Script to validate user input for password change

  • Script

For SQL Server in Mixed Authentication mode thisstored procedure helps to validate users password. Currently this procedure checks for the next requrements: password must have length at least 8 characters plus among them at least one digit and at least one of the characters must be in upper case.

You rated this post out of 5. Change rating

2003-03-11

755 reads

Technical Article

Add files to filegroups and log for many dbs

  • Script

Purpose: This SP is used to add a logfile and a datafile to each file group in a database or all databases. This is handy when you have a lot of databases and you want to add a new big SAN-disk and stop db expansion on the old disks.Consider: Avoid running any large updates when […]

You rated this post out of 5. Change rating

2003-03-06

123 reads

Technical Article

Intervention system for runaway jobs

  • Script

Some of my developers had created jobs that executed VB applications that never ended. Aparently they could not figure out when, why and what was going wrong. They could not repro the situation.Now I've created this litle system so the users can assign max elaps times for their jobs. These jobs will then be intercepted […]

You rated this post out of 5. Change rating

2003-03-04

470 reads

Technical Article

NEW and DELETED Database REPORT

  • Script

A Procedure build Report about NEW and Deleted DB.First time you must to run p_build_check_db.This procedure build table  master..t_databases same asmaster..sysdatabases .Procedure  p_check_db compare t_databases and sysdatabases and send a report to your@E-MailAddress.Best regards. Vadim.  

You rated this post out of 5. Change rating

2003-02-20

161 reads

Blogs

A New Word: Mornden

By

mornden – n. the self-container pajama universe shared by two people on a long...

SQL Training: Black Friday Deals Up to 75% Off

By

This Black Week, don't just get a discount—get ahead! Whether you're a total newbie...

How to find free space in Azure PosgreSQL

By

I wanted to figure out how big (or approximately how big) my dump file...

Read the latest Blogs

Forums

Announcing SQL Server 2025

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Announcing SQL Server 2025

Running Steve's Code

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Running Steve's Code

New SQL Server 2022 Functions

By Steve Jones - SSC Editor

Comments posted to this topic are about the item New SQL Server 2022 Functions

Visit the forum

Question of the Day

Running Steve's Code

Can you run this code in any of your SQL Server 2019 databases without error?

CREATE OR ALTER PROCEDURE [dbo].[StevesAmazingProc]
AS
    
        SELECT Consumer_ID ,
               Trend_Category ,
               Bit_Trace
        FROM    NewWorldDB.dbo.MarketTrend;
    
GO

See possible answers